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

Re: apt-get reinstall all



On Sun, Jan 06, 2002 at 06:05:26PM +0100, Tollef Fog Heen wrote:
> * 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.

Not unless every package name is <16 characters.

-- 
Jacob Elder
http://www.lucidpark.net/



Reply to: