Re: Is there a "yum re-install"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Timothy Murphy wrote:
For some reason I do not understand,
some of the files in an rpm/yum package (libXmu) are missing.
I could download the rpm again, and run "rpm -Uvh ...".
I cannot run "yum remove", as this would remove 157 packages.

Is there any command to force a yum install,
even if the package in question is already installed?




What I do when files are missing from a package is to run
rpm -e --justdb --nodeps <packagename>
to get rid of the database entry for the package. I then run
yum install packagename and answer yes to the yum prompt. This will install the package and give you rpmnew or rpmsave files for important configuration files that it encounters.

I verified the packages reinstalled using this method and all verified alright. This method is better than forcing an rpm erasure of packages. All that you removed was the knowledge for yum and rpm to know whether the package exists or not. You can still run the program.

Jim

--
Windows NT encountered the following error: The operation completed
successfully.

   -- From a Slashdot.org post

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux