Re: HFS+ (MacOS) in contrast to EXT2 (Linux-i386)
On Wed, Sep 19, 2001 at 10:00:17AM -0400, Colin Walters wrote:
> Sven <luther@dpt-info.u-strasbg.fr> 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.
but not more than an empty status file, ...
> 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.
Thanks, it is too late for this time, i will try thi next time this happens.
Friendly,
Sven Luther
Reply to: