reinstalling debian /bin

Matej Cepl ceplm at seznam.cz
Sun Sep 17 19:30:25 EDT 2006


dsr at tao.merseine.nu wrote:
> Use dpkg --get-selection to get a list of all installed
> packages, then apt-get install --reinstall to reload them.

Instead of dpkg --get-selection (it never worked for me either), use this to
get list of installed packages:

aptitude search '~i !~M' | tr -s ' ' | cut -f 2 -d ' '

Matěj

-- 
http://matej.ceplovi.cz/blog/
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
Really, I'm not out to destroy Microsoft. That will just be
a completely unintentional side effect.
      -- Linus Torvalds
         New York Times, 28 Sept 03


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list