On Tue, 3 Dec 2002 08:58:54 -0800 (PST)
"Todd A. Jacobs" <[EMAIL PROTECTED]> wrote:
> I have two copies of the same package listed in the rpm database.
> Here's the output of "rpm -q kernel":
>
> kernel-2.4.18-5
> kernel-2.4.18-5
> kernel-2.4.18-17.7.x
> kernel-2.4.18-18.7.x
>
> I get an error when trying to remove kernel-2.4.18-5, complaining
> about multiple packages. How can I remove the 2.4.18-5 kernel when the
> database is in this state?
man rpm:
‐‐allmatches Remove all versions of the package which match
PACKAGE_NAME. Normally an error is issued if PACKAGE_NAME
matches multiple packages.
So, use:
rpm -e kernel-2.4.18-5 --allmatches
--
If you think education is expensive, TRY IGNORANCE!!!
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list