• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

lib64 apt error

K

kouwe

Guest
I have Plesk 8.2 running on Debian 4.0-64 version.

When im trying to install something with apt, i'm getting the error message to try 'apt-get -f install'.

Trying that gives me the following error:
Preparing to replace libc6 2.3.6.ds1-13etch2 (using .../libc6_2.3.6.ds1-13etch4_amd64.deb) ...
Unpacking replacement libc6 ...
dpkg: error processing /var/cache/apt/archives/libc6_2.3.6.ds1-13etch4_amd64.deb (--unpack):
trying to overwrite `/lib64', which is also in package libpam-plesk
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.3.6.ds1-13etch4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


can someone help me solve this one? Thanks in advance!
 
I have exactly the same problem!

Did anyone find a solution?
 
I think I found the source of the problem.
Package libc6_2.3.6.ds1-13etch4_amd64.deb contains a link /lib64->/lib.
There is a conflict with package libpam-plesk_8.3.0-debian4.0.build83071218.20_amd64.deb which also contains a folder /lib64.

Maybe if we remove the link /lib64 from the libc6 package it will manage to install.
 
Finally I found the solution.
Just go to: cd /var/cache/apt/archives/
and run: dpkg -i --force-all libc6_2.3.6.ds1-13etch5_amd64.deb
Then apt-get update
apt-get upgrade

and everything works fine!
 
Back
Top