[Nottingham] Debian system repair/check/reinstall
Nick Leverton
nick at leverton.org
Sat Apr 13 23:26:53 UTC 2013
On Thu, Apr 11, 2013 at 10:24:49PM +0100, Martin wrote:
> Folks,
>
> I've a Debian system that is now rather cranky after a filesystem
> upset... It appears to be generally fine other than suffering something
> sending it awol occasionally...
>
> So... What's the Debian or apt-get incantation to check or reinstall the
> packages it thinks it should have?
debsums may be of use for checking the installation.
The man page also suggests
apt-get install --reinstall $(dpkg -S $(debsums -c) | cut -d : -f 1 | sort -u)
Reinstalls packages with changed files.
Nick
More information about the Nottingham
mailing list