[aklug] Re: doing a apt-get reinstall everything on debian?

From: R Denison <gaijin@gci.net>
Date: Fri Jan 20 2012 - 08:45:38 AKST

On 01/19/2012 11:06 AM, Leif Sawyer wrote:
>
> aptitude is your friend:
>
> # aptitude -f reinstall [pkgname]
>
> So, then, theoretically, you could:
>
> # dpkg -l | grep '^.i' | awk '{print $2}'> pkgs
> # aptitude -f reinstall $(cat pkgs)
>

And after your system is back up / operational, I highly recommend
installing "debsums" - it will validate files installed from packages
against the MD5 checksums for your installed packages.

R.

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Fri Jan 20 08:45:55 2012

This archive was generated by hypermail 2.1.8 : Fri Jan 20 2012 - 08:45:56 AKST