On Day 46 of The Aftermath 3170, Andreas Pakulat wrote:

> apt-get install --reinstall $(dpkg --get-selections |grep 'install$' | awk 
> '{print $1}')
>
> Damit werden alle Pakete die installiert sind erneut installiert.

Das ist nicht ganz unproblematisch, da 'install$' ebenfalls auf
"deinstall" matcht, so da� er dann unter umst�nden auch Pakete wieder
installiert hat, die er gar nicht mehr haben wollte.
Mir f�llt jetzt aber auf die schnelle auh nichts eleganteres ein als da
zus�tzlich noch ein "grep -v '$deinstall'" einzubauen.

ttyl8er, t.k.

-- 
I'm perfectly willing to admit that Unix not only lets you shoot yourself
in the foot, it gives you an assortment of guns already loaded and pointed
in the proper direction.
     -- Michael Wojcik <[EMAIL PROTECTED]> in alt.folklore.computer

Antwort per Email an