Thursday, January 31, 2008

How to reinstall a package with Yum (Redhat/Fedora)

Yum does not has a feature to reinstall a package, though, there is a little walk arround:

[root@mutant build]# rpm -e --justdb --nodeps [package name]
[root@mutant build]# yum install [package name]

3 comentarios:

FatButtLarry said...

Thank you. Works great.

This should be included in yum, as most package managers allow a reinstall. This workaround is perfect.

-Tres

qwer_hi said...

Thanks! This is perfect solution.

Anonymous said...

muchisimas gracias!!!
funciono al toque!
sls