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”.

Categories
Linux
Tags
Linux, yum

« Website Update Recovering Windows XP Codes »

Navigation

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

Links

  • Liquidstate Webmail
  • My Facebook Page
  • My Flickr Site

Photos (view gallery)

IMG_1769IMG_1763IMG_1754IMG_1762IMG_1761IMG_1774IMG_1766IMG_1775IMG_1760

Meta

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