I removed all files in /lib64 and installed the files from libc6:amd64
(version 2.18) manually. Now my system works again but I have the
following problem.

The following extra packages will be installed:
  libc-bin libc6
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc-bin libc6
2 upgraded, 0 newly installed, 0 to remove and 94 not upgraded.
8 not fully installed or removed.
Need to get 0 B/5,892 kB of archives.
After this operation, 29.7 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
(Reading database ... 714703 files and directories currently installed.)
Preparing to replace libc6:amd64 2.17-93ubuntu4 (using 
.../libc6_2.18-0ubuntu1_amd64.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
Checking for services that may need to be restarted...
Checking init scripts...
Stopping some services possibly affected by the upgrade (will be restarted 
later):
  cron: stopping...done.


A copy of the C library was found in an unexpected directory:
  '/lib/x86_64-linux-gnu/libc-2.18.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/x86_64-linux-gnu' and try again.

dpkg: error processing /var/cache/apt/archives/libc6_2.18-0ubuntu1_amd64.deb 
(--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.18-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

How do I solve this? When I remove /lib/x86_64-linux-gnu/libc-2.18.so
manually the system break again..

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1253646

Title:
  autoremove removes libc6-amd64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1253646/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to