Sven <[EMAIL PROTECTED]> writes: > and BTW, having the /var/lib/dpkg/status file corrupted is a big > mess, is there any way to rebuild it without resinstalling all > packages (guessed at from a ls of /usr/share/doc ...)
There are backups in /var/backups. You could probably just use the backup status file, but it might be slightly inconsistent with your system. If you want to fully restore consistency: cp /var/backups/dpkg.status.0 /var/lib/dpkg/status dpkg --get-selections > selections # save selections file, reinstall your system cat selections | dpkg --set-selections apt-get dselect-upgrade ...should do the trick.