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

RE: Force Install



Hmmm... try this first:

 rpm -U --replacefiles --oldpackage <package>

	'rpm -i --force' could have two consequences that are not good: --force gives rpm permission to overwrite files in other packages, and -i means you'll end up with two instances of the package in the rpm database.

-Aaron

> -----Original Message-----
> From: Ralph Siemsen [mailto:ralphs@netwinder.org]
> Sent: Tuesday, June 17, 2003 8:33 AM
> To: rpm-list@redhat.com
> Subject: Re: Force Install
> 
> 
> On Tue, Jun 17, 2003 at 08:26:35AM -0700, edwarner99@yahoo.com wrote:
> > Is it possible to do a force re-install of a package
> > that has already been installed? I can't find where
> > this is covered in the docs.
> 
> You can use the --force flag for this.  For example
>   rpm -i foo-1.0-1.i386.rpm --force
> 
> Another way is to remove (-e --nodeps) and then reinstall.
> 
> -- 
> Ralph Siemsen
> www.netwinder.org
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://www.redhat.com/mailman/listinfo/rpm-list
> 




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