Disappearing ldconfig
I've been trying to install and upgrade a few packages, and whether I use dpkg or apt-get, I ultimately get the following message before the whole process grinds to a halt: "'ldconfig' not found in PATH". I presume that I have inadvertently removed ldconfig in the course of doing something else. My question is how do I get my ldconfig back? John Kiff
Re: Disappearing ldconfig
- Original Message - From: Eric G . Miller egm2@jps.net To: debian-user@lists.debian.org Sent: Friday, November 03, 2000 10:41 PM Subject: Re: Disappearing ldconfig On Sat, Nov 04, 2000 at 03:22:36AM -0500, John Kiff wrote: I've been trying to install and upgrade a few packages, and whether I use dpkg or apt-get, I ultimately get the following message before the whole process grinds to a halt: 'ldconfig' not found in PATH. I presume that I have inadvertently removed ldconfig in the course of doing something else. My question is how do I get my ldconfig back? Instead of assuming ldconfig is missing, why don't you check? It may be some post-install script is incorrectly setting the $PATH variable. If it's missing for some reason reinstall libc6 (though I'd suspect a $PATH error). ls -l /sbin/ldconfig ... There's no ldconfig in /sbin, or anywhere else, and my $PATH variable includes /sbin, /usr/sbin and /usr/local/sbin. Hence, I tried to reinstall libc6, but as you can see below, I ran into a brick wall. It kind of looks like I'm in a vicious circle. I need to install libc6 to get ldconfig, but I need ldconfig to install libc6. How can I resolve this? John Kiff debian:/var/cache/apt/archives# apt-get install libc6 Reading Package Lists... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these: Sorry, but the following packages have unmet dependencies: libc6-dev: Depends: libc6 (= 2.1.3-10) but 2.1.96-1 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). debian:/var/cache/apt/archives# apt-get install libc6-dev Reading Package Lists... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these: Sorry, but the following packages have unmet dependencies: libart2: Depends: libc6 (= 2.1.94) but 2.1.3-10 is to be installed libc6-dev: Depends: libc6 (= 2.1.96-1) but 2.1.3-10 is to be installed libdb2: Depends: libc6 (= 2.1.94) but 2.1.3-10 is to be installed libdb2-util: Depends: libc6 (= 2.1.94) but 2.1.3-10 is to be installed libnss-db: Depends: libc6 (= 2.1.93) but 2.1.3-10 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). debian:/var/cache/apt/archives# apt-get -f install Reading Package Lists... Done Building Dependency Tree... Done Correcting dependencies... Done The following extra packages will be installed: libc6 libc6-dev 2 packages upgraded, 0 newly installed, 0 to remove and 152 not upgraded. 5 packages not fully installed or removed. Need to get 0B/4576kB of archives. After unpacking 4354kB will be freed. Do you want to continue? [Y/n] Y dpkg: `ldconfig' not found on PATH. dpkg: 1 expected program(s) not found on PATH. NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin. E: Sub-process /usr/bin/dpkg returned an error code (2) debian:/var/cache/apt/archives# dpkg --install libc6_2.1.3-10_i386.deb dpkg: `ldconfig' not found on PATH. dpkg: 1 expected program(s) not found on PATH. NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
problem creating boot floppy
I wasn't able to create a boot floppy during installation (of the frozen distribution) and I'm having the same problem now that everything else is up and running. I'm pretty sure that I'm doing everything correctly, but I keep getting back a bad disk or write-protected disk error. I've gone through a whole pack of floppies and then some, I've made absolutely sure that the write-protect tab is in the right position, and I've even tried floppies that work just fine on my other Debian-loaded machine. They're all being rejected by mkboot. Have I run into a frozen distribution bug, or am I just having really bad luck? John Kiff __ Do You Yahoo!? Send online invitations with Yahoo! Invites. http://invites.yahoo.com
Re: problem creating boot floppy
I tried superformat, but it bombed out with the following messages: sh: mformat: command not found warning: mformat error Am I missing a package? John Kiff --- Oki DZ [EMAIL PROTECTED] wrote: On Thu, 13 Apr 2000, John Kiff wrote: I'm pretty sure that I'm doing everything correctly, but I keep getting back a bad disk or write-protected disk error. Make sure that you don't have any floppy with bad sectors. You can format the floppies on a running Linux machine using fdformat (fdformat /dev/fd0u1440) or superformat (superformat /dev/fd0); on fdformat, done has to be returned; on superformat, you can see every track that's being formatted. I' __ Do You Yahoo!? Send online invitations with Yahoo! Invites. http://invites.yahoo.com
Installation problems
I'm probably overlooking something really stupid, but I'm trying to install the frozen distribution on my PC. I think I've done everything in the dbootstrap procedures properly, until I get to install operating system kernel and modules. At this point, I select harddisk as my medium (/dev/hda1) but it won't do anything when I try to give it the path. (I downloaded all of the (I think) appropriate installation files into C:DEBIAN in my DOS partition.) I type /debian into the path box, tab to OK, press enter and nothing happens! Have I missed something here, or have I run into a bug! BTW, I think I found a bug in install.bat in the frozen distribution. The install.bat that I downloaded looks like this: dosutils\loadlin linux root=/dev/ram initrd=images-1.44/root.bin I couldn't even get this thing running until I edited out the reverences to the dosutils and images-1.44 paths. Anyways, I would greatly appreciate some help! John Kiff __ Do You Yahoo!? Send online invitations with Yahoo! Invites. http://invites.yahoo.com
Re: kernel panic: unable to mount root fs...
OK. I booted from the rescue floppy and ran fsck on /dev/hda2. Judging by the messages that streamed by, there were a lot of problems that were fixed. However, when I went back to boot up the system, I got another mess of nasty looking messages: INIT: No inittab file found Enter runlevel: I tried everything from 0 to 3 and got the same result... INIT: Entering runlevel: 2 INIT: no more processes left in this runlevel and it stopped right there. I booted back in with the rescue floppy, and checked out mu /etc directory, and it was full of all sorts of strange files, many of them being *.html files. Whats my best option here? Should I just start from scratch? Is it possible to re-install and re-configure the system with a good chance of keeping everything I have installed so far? John Kiff --- Bruce Sass [EMAIL PROTECTED] wrote: Boot floppies get their kernel from the floppy, but still use the / filesystem on the harddrive (which is where the problem is). Try booting with a rescue floppy and running fsck on the partition containing the / filesystem. The rescue floppy is self contained and will not access the hardrive unless you specifically mount a partition. - Bruce -- On Mon, 10 Apr 2000, John Kiff wrote: Help!!! I got the following messages when I was booting up: EXT2-fs: group descriptors corrupted: followed a few lines later by: kernel panic: unable to mount root fs on 03:02 after which everything stops. The same thing happened when I tried using my boot floppy. What should I do? My first reaction is to go back to square one and reinstall Debian (I'm currently using 2.2). However, before I take such drastic measures, is there a quicker and simpler way of getting everything back up and running? John Kiff __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null later, Bruce __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
kernel panic: unable to mount root fs...
Help!!! I got the following messages when I was booting up: EXT2-fs: group descriptors corrupted: followed a few lines later by: kernel panic: unable to mount root fs on 03:02 after which everything stops. The same thing happened when I tried using my boot floppy. What should I do? My first reaction is to go back to square one and reinstall Debian (I'm currently using 2.2). However, before I take such drastic measures, is there a quicker and simpler way of getting everything back up and running? John Kiff __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com