[TriLUG] Re: safest way to revert to a previous package

Blackburn, Marvin mblackburn at glenraven.com
Wed Mar 9 19:36:58 EST 2005


Thanks,
I'll try that. 

> -----Original Message-----
> From: trilug-bounces at trilug.org 
> [mailto:trilug-bounces at trilug.org] On Behalf Of Lance A. Brown
> Sent: Wednesday, March 09, 2005 5:12 PM
> To: Triangle Linux Users Group discussion list
> Subject: [TriLUG] Re: safest way to revert to a previous package
> 
> Blackburn, Marvin wrote:
> > When I try to install using rpm -ihv --oldpackage <filename> 
> > I get the following:
> > 
> > file /sbin/rpc.statd from install of nfs-utils-1.0.6-31EL 
> conflicts with
> > file from package nfs-utils-1.0.6-33EL
> > 
> > When I try to do an rpm -e this is what I get:
> > error: Failed dependencies:
> >         nfs-utils is needed by (installed) 
> redhat-config-nfs-1.0.13-6 
> > 
> > What are my alternative here?
> 
> rpm -Uvh --oldpackage nfs-utils-1.0.6-31EL
> 
> -U is 'upgrade' and replaces the previous version of the package.
> -i is 'install' and will try to just install the package 
> resulting in BOTH
> being installed.  If a file is in both packages, it bitches 
> as you saw.
> 
> I almost always use -U on non-kernel packages.  It's rare 
> that I want two
> versions of the same RPM installed.  Kernel RPMs are a 
> notable exception. :-)
> 
> --[Lance]
> 
> 
> -- 
>  Celebrate The Circle: http://www.celebratethecircle.org/
>  Carolina Spirit Quest:  http://www.carolinaspiritquest.org/
>  My LiveJournal: http://www.livejournal.com/users/labrown/
>  GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9
> -- 
> TriLUG mailing list        : 
> http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
> 



More information about the TriLUG mailing list