Rats -- blew away /etc -- how do I force up2date to rebuild it?
John Summerfied
debian at herakles.homelinux.org
Wed May 4 02:06:42 UTC 2005
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 at computerdatasafe.com.au Z1aaaaaaa at computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
More information about the users
mailing list