On Mon, 2003-06-30 at 22:37, [EMAIL PROTECTED] wrote:
> I thought it would be good to run apt-get on an old RH 6.2 system here,
> too.  I installed and ran the appropriate version of apt-get for RH 6.2,
> and it reported that there were multiple versions of bash installed.
> 
> I checked, and it does look like there's a problem:
> 
> # rpm -qa | grep bash
> bash-1.14.7-22
[...]
> bash-1.14.7-23.6x

At a guess I would say that that means one of those was force installed
to overcome a "package x conflicts with package y" error. I don't
actually know what RPM does in such cases (since I avoid them like the
plague), but it does then beg the question of which package actually
owns the files. Mary's suggestion of using the -Uvh command instead of
-i is a good one. IMHO you should always use U unless you really,
really, really want to be sure that you're installing rather than
upgrading (the only situation I can think of where this is beneficial is
kernels -- I never want to uninstall my old kernel before I know the new
one boots).

> [EMAIL PROTECTED] luke]# rpm -e bash-1.14.7-22
> [EMAIL PROTECTED] luke]# rpm -qa | grep bash
> bash2-doc-2.03-8
> bash2-2.03-8
> bash-1.14.7-23.6x
> 
> Okay, that's looking better.
> 
> But if I try to remove version 1.14.7-23.6x I get many, many errors:

You probably can do that if you upgrade all the packages in your system.
I've only got bash 2.05. I imagine that what it is telling you is true
though, that the packages in question do rely on bash 1. I would do rpm
-ql bash and rpm -ql bash2 to see what files they both have. It may well
be that bash2 has a bash2 binary you use to run it.

At some point you'll upgrade to a bash-2 (note the dash, not bash2)
package, which will upgrade the bash-1 package you have installed and
you'll be back to "normal". And bash 2 is exciting stuff - it has arrays
:)

> # rpm --version
> RPM version 4.0.2

I suspect you'll get prompted to do this at some point, but I highly
recommend rpm 4.2. It's way fast.

HTH

James.


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to