Re: [LAU] [OT] Debian reinstall...?

From: Joel Roth <joelz@email-addr-hidden>
Date: Sat Jul 04 2009 - 14:02:52 EEST

On Sat, Jul 04, 2009 at 12:49:14PM +0200, Julien Claassen wrote:
> Hello folkis!
> Sorry for this, but is there a way to do something like:
> aptitude reinstall all
> and the system reinstalls every package, that its database tells it, is on
> the computer.
> I just shredded my system a bit yesterday, removed part of /usr/lib. I fixed
> it via the dirty road, but now I'd like to clean up.
> So I'd like the system to reinstall all packages, currectly there.
> thanks in advance for any good idea on this!

This might do it for you, Julien. I imagine it will be quite
time consuming...

dpkg --get-selections | awk '{print $1}' | xargs apt-get --yes --reinstall install

> Warm regards
> Julien

-- 
Joel Roth
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sat Jul 4 16:15:01 2009

This archive was generated by hypermail 2.1.8 : Sat Jul 04 2009 - 16:15:01 EEST