Cannot install packages. E: Sub-process /usr/bin/dpkg returned an error code (1)
Here is what is happening when I try to install mpd.
note; I have googled so much about this. I have tried so many things. none of them worked Code:
apt-get update Code:
sudo apt-get install mpd |
Hi,
the error seems to be coming from ldconfig (called when shared libraries are added or removed). It is complaing that the cache file is missing. From the ldconfig man page I see that that file should be /etc/ld.so.cache. Can you confirm the file is there? Also what happens if you run "ldconfig --verbose" as root from the commandline? Evo2. |
Quote:
When I run ldconfig --verbose, a lot prints out. Mainly somethingfile -> somethingfile However, at the very end, this is printed ldconfig: Writing of cache data failed: No such file or directory I am on debian, and more specifically, #! |
Hi,
a bit of a search indicates the error reporting from ldconfig can be missleading, and the message you see can be caused by a number of different things. Can you confirm that your partition is not full? Eg: Code:
df -h |
Besides checking if your partition is full, as evo2 suggested, you can execute dpkg with the --debug option, like this:
Code:
dpkg --debug=1000 -i /var/cache/apt/archives/libgjs0b*.deb |
All times are GMT -5. The time now is 02:17 AM. |