[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Command Question



On Tue, Oct 29, 2002 at 06:04:22PM -0800, Rick Stevens wrote:
> Graeme McLaren wrote:
> >Jonathan, looks like I will have to reregister it.  Got a feeling that
> >is going to end up being a problem, simply because I don't know what I'm
> >doing :(  I tried uninstalling two rpms today by doing rpm -e therpm.rpm
> >and I couldn't uninstall them because they seemed to depend on each
> >other.  So I reverted to my traditional windows way of thinking -
> >reinstall Linux !
> 
> If you need to uninstall two RPMs that depend on each other, use
> 
> 	rpm -e --nodeps rpmname.rpm
> 
> The "--nodeps" means "don't check dependencies".  You may try
> 
> 	rpm -e --test --nodeps rpmname.rpm
> 
> which does the same thing, but doesn't remove the packages.  It just
> goes through the motions so you can verify dependencies, etc.

Umm, careful there.  ".rpm" won't be a part of what you "rpm -e".

What you installed was "foo-bar-1.2.3-7.i386.rpm"

What "rpm -qa" reports is "foo-bar-1.2.3-7".  But what you "rpm -e" is
"foo-bar".

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure earthlink net  http://www.cumbytel.com/~bobcatos/
Linux: because I want to get there today.  Without rebooting.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]