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

Re: Reinstalling Debian



> 
> I would like to reinstall all packages with 
> apt-get install "package-name" --reinstall
> 
> Is there an easier way to reinstall all packages? 
> i.e. Instead of package-name use a text file which 
> specifies all my installed packages?
> 

Might be something like this one:

   $ dpkg --get-selections | cut -f1 | \
     xargs apt-get --reinstall install

No warranty, you should always have backups available.


Armin 



Reply to: