Hmm...didnt' think of that, either.

On Tue, 3 Dec 2002, ABrady wrote:

> 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
> 
> 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to