Re: Repairing a corrupted system
martin f krafft writes:
>As long is it's not /var:
I am pretty sure /var is okay.
> dpkg --get-selections | sed -ne 's,install$,,p' | \
> xargs apt-get install --reinstall --yes
>
>This will simply reinstall all packages that dpkg has installed in
>the past, which should put /lib back into place. Maybe
>
> dpkg -S /lib | cut -d: -f1 | tr , \\n | \
> xargs apt-get install --reinstall --yes
>
>is enough as it only reinstalls the packages which put files into
>/lib.
Many thanks. I will try all that and see if the last bit of
disfunctionality goes away.
Reply to: