[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Multiple rpm entries
- From: ABrady <xunil kc rr com>
- To: redhat-list redhat com
- Cc: nospam codegnome org
- Subject: Re: Multiple rpm entries
- Date: Tue Dec 3 12:30:01 2002
On Tue, 3 Dec 2002 08:58:54 -0800 (PST)
"Todd A. Jacobs" <nospam codegnome org> 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!!!
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]