Debian reinstall

COLUMNS=200 dpkg -l | awk '/^[hi]i/{print $2}' | xargs apt-get -y --reinstall install

or

dpkg --get-selections > packages

and later

dpkg --set-selections < packages && apt-get install
 
Back to top
howto/debian_reinstall.txt · Last modified: 2007/07/25 21:34 (external edit)
 
 
disorder's homepage Valid CSS Valid XHTML 1.0 Recent changes RSS feed