Re: DANGEROUS ?? help needed
Thanks for the help.
I did it a hard way. I did a
dpkg -S '/usr/bin/' > packages
then produced a location/package with help of awk from the
Afterwards I used dpkg -i location/package where I used the Debian
Sparc iso images.
Then dselect / upgrade. So I have the binaries back in the /usr/bin.
Of course I needed to download some packages separately. For example
wget to download the iso images from kernel.org.
Another problem related to location of var. I moved it from the /
(root) to different partition and made a symlink. This link happens to
disapper when I reboot the machine then it hangs when it's looking for
/var/run and other directories in /var.
I need to check what's going on.
Your methods seems easier.
Date: Thu, 1 Mar 2001 16:14:35 +0800
From: Jean-Paul Blaquiere <firstname.lastname@example.org>
> On Mar 01, Q89029292 scratched in indelible ink :
> replace your files by looking up the dpkg database, for the installed
> packages then expand the debs using tar? to expand only the /usr
when I hosed my alpha by screwing up the partition table and lost *all* of
/usr :( I grepped the installed packages out of /var/lib/dpkg/status into a
grep ^Package /var/lib/dpkg/status |cut -f 2 -d ' '|sort >installed_packages
then did an:
apt-get install --reinstall `cat installed_packages`
sure it probably copied over other stuff as well, but it was quick and
/Jp... system admin^wrecoverer
Jean-Paul Blaquière || Avatar of Computational
email@example.com || Thaumaturgy
The only thing keeping me from being a serial killer is my distast for
manual labour - dilbert