updating Kali Metapackages error and possible fix advise
Created by: gabrielacosta
Hi, I'm was trying to update the metapackages and at the end of updating I got this error.
dkpg warning: 'ldconfig' not found in PATH or not executable.
dkpg error: 1 expected program not found in PATH
I was looking for solutions, however, I got this for Ubuntu's distro. I'm not quite sure if this distro of Kali is based on Ubuntu. As far as I remember, Backtrack was based in fedora.
Should I try this fix:
As has been mentioned before, ldconfig has moved to the 'libc-bin' package.
Since this seems to help every now and then...
Here is an updated version of the steps (which may or may not work) corresponding to the way the packages are structured nowadays:
Download and extract the package
Code:
apt-get download libc-bin
dpkg -x libc-bin*.deb unpackdir/
Copy the file to your system
Code:
sudo cp unpackdir/sbin/ldconfig /sbin/
Make sure the package and package system is in a good state.
Code:
sudo apt-get install --reinstall libc-bin
sudo apt-get install -f
Futher errors after this indicates something else is wrong.
I want a proper advise of the best approach.
Kind regards,
Juan
Edited by Ghost User