Liquidstate

The digital home of Bryan Ross
  • rss
  • Home
  • About
  • Photos

Reinstalling a package using Yum

October 5, 2007

You can force the re-installation of a package using:

rpm -e --justdb --nodeps <package-name>
yum install <package-name>

This can be really useful if you’ve accidentally removed some components of the package, or perhaps hacked around with config files so much that you just want to go back to the original. Yum will automatically re-install any missing binaries, but it will not overwrite your existing config files. Instead, the ‘default’ config files will be written as “<filename>.rpmnew”.

Comments
No Comments »
Categories
Linux
Tags
Linux, yum
Trackback Trackback

Navigation

  • Apple (1)
  • Diving (60)
  • Linux (11)
  • Microsoft (2)
  • Sailing (24)
  • Uncategorized (2)

Photos (view gallery)

IMG_1750IMG_1769IMG_1764IMG_1773IMG_1759IMG_1775IMG_1771IMG_1761IMG_1768

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox