This document provides instructions for addressing issues with the libc-bin
package on Debian or Ubuntu-based systems.
The error dpkg: error processing package libc-bin (--configure): installed libc-bin package post-installation script subprocess returned error exit status 134
indicates a problem during the configuration of the libc-bin
package.
Also the error /sbin/ldconfig.real: Path '/usr/lib/x86_64-linux-gnu' given more than once
is also related
First, download the libc-bin
package without installing it:
apt-get download libc-bin
Extract the contents of the downloaded package:
dpkg -x libc-bin*.deb unpackdir/
Copy the ldconfig
file from the extracted package to /sbin
:
sudo cp unpackdir/sbin/ldconfig /sbin/
Attempt to reinstall libc-bin
:
sudo apt-get install --reinstall libc-bin
If there are missing dependencies, install them:
sudo apt-get install -y
If the problem persists, try fixing broken dependencies:
sudo apt-get -f install
If there are still issues, try configuring all pending packages:
sudo dpkg --configure -a
- These instructions assume that the issue is related to
libc-bin
and that the system is still functional. - If the system becomes unstable or unbootable, it may be necessary to seek professional help or consider reinstalling the operating system.
These instructions are designed to help address specific issues with the libc-bin
package on Debian or Ubuntu-based systems. If problems persist after following these steps, additional assistance from community forums or a professional is recommended.
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 134
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)