Re: Rats -- blew away /etc -- how do I force up2date to rebuild it?

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

 



Daniel B. Thurman wrote:
Folks,

As the subject line says - I somehow blew away
Aa-lL* in the /etc directory but recovered everything
I could from the backup tapes but unfortunately the
permissions and/or some files are corrupted or missing
from the latest installs AFTER by last backup -- I lost
the X11 and KDE but was able to recover X11 (somewhat)
and moving onto KDE -- but what I really want is to force
reinstall everything that is needed and is current.

I tried: up2date -f -u and that does not work -- says
everything is "up to date" and does not bother to check.

I tried: up2date -f -i -- same thing.

So -- how do I force up2date to reinstall or recheck
all of the files in /etc or at least reinstall everything
including the updates?

To find what's borked: rpm -Va

In some cases you might get satisfactory files from another box; in others you might need to
rpm --upgrade --replacefiles --replacepkgs <borked-package>


To find my mistakes:-)
man rpm


--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux