Re: DANGEROUS ?? help needed
Hi, I haven't discovered yet what happend to the symlink. I may have a bad disk or the file utilities are corrupted. I tried to compile a new kernel 2.4.1 and 2.4.2 but when I try to install the modules some of the directories made as files!! make modules make modules_install make -C kernel modules_install make[1]: Entering directory `/export/src/kernel-source-2.4.1/kernel' make[1]: Nothing to be done for `modules_install'. make[1]: Leaving directory `/export/src/kernel-source-2.4.1/kernel' make -C drivers modules_install make[1]: Entering directory `/export/src/kernel-source-2.4.1/drivers' make -C block modules_install make[2]: Entering directory `/export/src/kernel-source-2.4.1/drivers/block' mkdir -p /lib/modules/2.4.1/kernel/drivers/block/ mkdir: `/lib/modules/2.4.1/kernel' exists but is not a directory make[2]: *** [_modinst__] Error 1 make[2]: Leaving directory `/export/src/kernel-source-2.4.1/drivers/block' make[1]: *** [_modinst_block] Error 2 make[1]: Leaving directory `/export/src/kernel-source-2.4.1/drivers' make: *** [_modinst_drivers] Error 2 and file /lib/modules/2.4.1/kernel /lib/modules/2.4.1/kernel: file: read failed (Is a directory). e2fsck -n -v doesn't report anything unusual. I may need to reinstall the system afterall. I chechked what packages I have isnatlled and found some glibc packages. Do they exist or just made for convenient upgrading? dpkg -l '*glibc*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii glibc-doc 2.1.3-15 GNU C Library: Documentation un glibc-pic (no description available) un glibcdoc(no description available) rn libg++2.8.1.3- (no description available) un libg++2.8.2-gl (no description available) rn libstdc++2.10- (no description available) un libstdc++2.9-g (no description available) Gabor PS. I have/had a working version of 2.4.1 and saved the files/modules.
Re: DANGEROUS ?? help needed
> On Mar 01, Gabor Zoltan Csejtey scratched in indelible ink : > 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. > At what stage of the boot process is it hanging? Also, is that new partition mounted at the stage it is hanging? Would it be easier to create a new partition for /var ? I have successfully moved /var off a / partition (and /usr as well) and had no problems ... /Jp... -- Jean-Paul Blaquière || Avatar of Computational [EMAIL PROTECTED] || Thaumaturgy http://japester.ucc.asn.au || The only thing keeping me from being a serial killer is my distast for manual labour - dilbert
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 /var/state/apt/lists/*_dists_*stable*Packages 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. Gabor PS. Your methods seems easier. Date: Thu, 1 Mar 2001 16:14:35 +0800 From: Jean-Paul Blaquiere <[EMAIL PROTECTED]> Resent-From: debian-sparc@lists.debian.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 > directory. > 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 text file, 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 painless. /Jp... system admin^wrecoverer -- Jean-Paul Blaquière || Avatar of Computational [EMAIL PROTECTED] || Thaumaturgy http://japester.ucc.asn.au || The only thing keeping me from being a serial killer is my distast for manual labour - dilbert
Re: DANGEROUS ?? help needed
> 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 > directory. > 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 text file, 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 painless. /Jp... system admin^wrecoverer -- Jean-Paul Blaquière || Avatar of Computational [EMAIL PROTECTED] || Thaumaturgy http://japester.ucc.asn.au || The only thing keeping me from being a serial killer is my distast for manual labour - dilbert
Re: DANGEROUS ?? help needed
HI, replace your files by looking up the dpkg database, for the installed packages then expand the debs using tar? to expand only the /usr directory. Then back up. Best Regards, Peter Firmstone. On Mon, 26 Feb 2001, Gabor Zoltan Csejtey wrote: > I'm trying to compile perl-5.6.0 under potato. > There're some errors relating to the lib/ndbm and lib/anydbm. > I tried to comment out these. Finally I changed the > debian/rules and > debian/config.debian > > and added to the Configure: > -Ui_ndbm > > in the perl-5.6.0 source directory. STRANGE thing happend!!! > My whole /usr/bin directory was wiped out only two directories > remained there: > > libc5-compat > mh > > I was running dpkg-buildpackage -uc -b as root from the perl source > directory which is located in a different location than /usr. > Could the dpkg-buildpackage erase the contents of /usr/bin ? Or > something else happend? > The other libraries weren't effected I think. > > Anyway I downloaded the base2_2.tgz with netscape which is installed > under /usr/local and put the /usr/bin/* files from the archive into > /usr/bin. > > Is there a way to rebuild the other parts of the system? I mean to get > the missing binaries under /usr/bin? > > Gabor > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
DANGEROUS ?? help needed
I'm trying to compile perl-5.6.0 under potato. There're some errors relating to the lib/ndbm and lib/anydbm. I tried to comment out these. Finally I changed the debian/rules and debian/config.debian and added to the Configure: -Ui_ndbm in the perl-5.6.0 source directory. STRANGE thing happend!!! My whole /usr/bin directory was wiped out only two directories remained there: libc5-compat mh I was running dpkg-buildpackage -uc -b as root from the perl source directory which is located in a different location than /usr. Could the dpkg-buildpackage erase the contents of /usr/bin ? Or something else happend? The other libraries weren't effected I think. Anyway I downloaded the base2_2.tgz with netscape which is installed under /usr/local and put the /usr/bin/* files from the archive into /usr/bin. Is there a way to rebuild the other parts of the system? I mean to get the missing binaries under /usr/bin? Gabor