On Mon, 8 Mar 2004, Lior Kesos wrote:
> Shlomo Solomon wrote:
>
> >Below is part of the command: "rpm -q -a |sort"
> >
> >As you can see there are several RPMs which **seem** to be installed twice (2
> >different versions). I tried rpm -rebuilddb but that didn't help. Obviously
> >the packages are not really installed twice since many (or all) of the file
> >names would be the same, but I would like to know what this means and how to
> >fix it. I'm afraid to try "rpm -e [pkg-name]" because I assume both versions
> >of pkg-name would be removed.
> >
> >
> The assumption isn't correct when you try to remove a rpm which has two
> matches in the rpmdb,
> The rpm will "complain" that there are two matches.
> you then can execute - rpm -e --allmatches to remove them both.
> and then you can reinstall once.
You can also rpm -e the package name with the entire version. For
instance:
# rpm -e valgrind-1.9.6-1mdk
This will install only one of the versions.
Regards,
Shlomi Fish
> regards -
>
> --
> Lior Kesos- [EMAIL PROTECTED]
> Content Development Team Leader
> ==============================
> "Everything should be made as simple as possible -
> but not simpler" -- Albert Einstein
>
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
----------------------------------------------------------------------
Shlomi Fish [EMAIL PROTECTED]
Home Page: http://shlomif.il.eu.org/
He has a high degree of idealism, a high degree of stubbornness, and an even
higher degree of inability to distiniguish between the two.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]