5
rated 0 times
[
5]
[
0]
/ answers: 1 / hits: 20439
/ 3 Years ago, thu, august 19, 2021, 4:06:22
Problem
So I having this problem after upgrading from Ubuntu server 8.04->10.04->12.04.
Initial Command
apt-get install -f
dpkg: warning: files list file for package `tcpd' missing, assuming package has no files currently installed.
dpkg: warning: files list file for package `python-pkg-resources' missing, assuming package has no files currently installed.
.... Many many more of these warnings
dpkg: warning: files list file for package `libxml-libxml-perl' missing, assuming no files currently installed.
(Reading database ... 1126 files and directories currently installed.)
Preparing to replace libc6 2.15-0ubuntu10 (using .../libc6_2.15-0ubuntu10.5_i386.deb) ...
A copy of the C library was found in an unexpected directory:
'/lib/i386-linux-gnu/libc-2.15.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib/i386-linux-gnu' and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.5_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.15-0ubuntu10.5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Things I have tried
- I have tried moving the libc-2.15.so but this creates an error:
apt-get: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
apt-get --purge remove libc6
this will not work aslibc6
is needed by the systemsudo apt-get install --reinstall libc6=2.15-0ubuntu10.5 libc6-dev=2.15-0ubuntu10.5
just guess work but this didn't work either.
Anyway, as you can see I'm stuck, I can not upgrade any of my packages...
My sources list is take from here https://help.ubuntu.com/12.04/sample/sources.list
More From » apt