reinstalling debian /bin

dsr at tao.merseine.nu dsr at tao.merseine.nu
Sun Sep 17 17:19:31 EDT 2006


On Sun, Sep 17, 2006 at 03:55:21PM -0400, James Kramer wrote:
> I mounted the root of the OS that requires reinstall to
> /test
> I then
> # chroot /test
> # cd /test
> # dpkg -get-selections
> # apt-get install --reinstall
> I get the following:
> 
> caldron:/test# apt-get install --reinstall
> Reading Package Lists... Done
> Building Dependency Tree... Done
> 0 upgraded, 0 newly installed, 0 to remove and 231 not upgraded.

Sorry, I wasn't complete.

dpkg --get-selections will generate a list of packages that you
have installed. You need to take that list, strip it to the
package names, and feed those to apt-get install --reinstall.

-dsr-

-- 
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