Re: Yum 3.2.11 released

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1202934247.28503.2.camel@cutter>
On Wed, 2008-02-13 at 13:05 +0700, Fajar A. Nugraha wrote:
> There are times when reinstall from a local package is desirable.
> For instance, lets say I want to use latest official fwbuilder package, 
> which comes in rpm package from sourceforge, but doesn't offer any yum 
> repository. So i download *fwbuilder*.rpm and I can install it just fine 
> with "yum install *fwbuilder*.rpm", processing dependencies as needed. 
> Sometime later, I accidently delete a file belonging to libfwbuilder. I 
> still have the original package, so I can do something like :
> 
> rpm -e --nodeps libfwbuilder
> rpm -ivh libfwbuilder*.rpm
> 

you don't need to do that:

rpm -Uvh --oldpackage --replacepkgs --replacefiles libfwbuilder*.rpm


> (is there a command line for rpm reinstall?) It would be nice if I can 
> use yum reinstall for that. Or (even better) something that can do "I 
> want to install this package, install/reinstall/upgrade/downgrade if you 
> have to".

downgrade ain't gonna happen.

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.