[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get reinstall all

* Michael De Nil 

| I was just thinking that it would be great to have something in apt-get
| that get 'reinstall' or 'repaire' all packages installed on the system.
| I don't think I am the only one who rm *'s a wrong dir sometimes, ;)
| I think it's now real hard to reinstall every package installed ...

dpkg -l  | awk '/^i/ {print $2}' |xargs apt-get --reinstall install

should work.

Tollef Fog Heen
Unix _IS_ user friendly... It's just selective about who its friends are.

Reply to: