I'm having this same problem.
I've reinstalled (thinking perhaps Lisa KDE was the problem) several times (now running Lisa 64-bit g3). I tried to dist-upgrade but got the ldconfig not in path message. Tried to fix with dpkg and with synaptic package manager. tried to visudo sudousers. Tried to install (reinstall?) libc6:
- Code: Select all
aptitude download libc6
dpkg-deb -x libc6*.deb libc6-unpacked/
sudo cp libc6-unpacked/sbin/ldconfig* /sbin
I didn't need to go further as the extracted deb didn't contain ldconfig*. Tried to install using GDebi package installer, but that required the broken dependencies to work, and that brings us back to step one.
Tried to reinstall the distro (separate partition for /home)
The current output of
- Code: Select all
sudo apt-get -f install
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc-bin libc-dev-bin libc6 libc6-dev libcurl3 libnss3-1d
Suggested packages:
glibc-doc
The following NEW packages will be installed:
libc-bin libcurl3 libnss3-1d
The following packages will be upgraded:
libc-dev-bin libc6 libc6-dev
3 upgraded, 3 newly installed, 0 to remove and 370 not upgraded.
1 not fully installed or removed.
Need to get 0 B/8,042 kB of archives.
After this operation, 4,121 kB of additional disk space will be used.
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
Preconfiguring packages ...
dpkg: warning: 'ldconfig' not found in PATH or not executable.
dpkg: error: 1 expected program not found in PATH or not executable.
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.Reading package lists... Done
E: Sub-process /usr/bin/dpkg returned an error code (2)
Any help?
Hardware specs:
modified Dell Inspiron e1505 (Core2Duo T7200)
-Version-
Kernel : Linux 3.0.0-12-generic (x86_64)
Compiled : #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011
C Library : Unknown
Default C Compiler : GNU C Compiler version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
Distribution : Linux Mint 12 Lisa