Accidentally removed important packages

Michael Schwendt mschwendt at gmail.com
Tue Oct 2 08:54:46 UTC 2007


On 02/10/2007, Itamar Reis Peixoto <itamar at ispbrasil.com.br> wrote:
> you don't want chroot to the old filesystem because you dont have rpm
> installed
>
> first read the rpm manual
>
> and install rpm and yum with something like this
>
> rpm -Uvh --force --nodeps --root=/mnt/xyz http://mirror.fedora/yum.rpm
> http://mirror.fedora/rpm.rpm  http://mirror.fedora/grub.rpm etc...

Avoid --force like the plague.  It is the same as --replacepkgs
--replacefiles --oldpackage, pick the options you really need. The
--replacefiles option is the one you want to stay away from. It
permits RPM to overwrite installed files even if they belong into
other packages.




More information about the fedora-list mailing list