Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

apt not working: installed libc-bin package post-installation script subprocess returned error exit status 134

$
0
0

Environment?

  • Windows Subsystem for Linux.
  • Ubuntu 18.04.2 LTS
  • apt 1.6.11 (amd64)

What's wrong?

apt upgrade and apt autoremove not working.apt upgrade gives the following message

$ sudo apt upgradeReading package lists... DoneBuilding dependency treeReading state information... DoneCalculating upgrade... DoneThe following packages will be upgraded:  gir1.2-gtk-3.0 gtk-update-icon-cache libegl-mesa0 libgbm1 libgl1-mesa-dev libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa  libglx-mesa0 libgtk-3-0 libgtk-3-bin libgtk-3-common libmspack0 linux-libc-dev mesa-common-dev15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.1 not fully installed or removed.Need to get 0 B/12.4 MB of archives.After this operation, 4096 B of additional disk space will be used.Do you want to continue? [Y/n] YSetting up libc-bin (2.27-3ubuntu1) ...Aborted (core dumped)/sbin/ldconfig.real: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once/usr/lib/x86_64-linux-gnu/libfakeroot:        libfakeroot-0.so -> libfakeroot-tcp.so/usr/local/lib:/lib/x86_64-linux-gnu:Aborted (core dumped)dpkg: error processing package libc-bin (--configure): installed libc-bin package post-installation script subprocess returned error exit status 134Errors were encountered while processing: libc-binE: Sub-process /usr/bin/dpkg returned an error code (1)

apt autoremove gives the following message

$ sudo apt autoremoveReading package lists... DoneBuilding dependency treeReading state information... Done0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.1 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Setting up libc-bin (2.27-3ubuntu1) ...Aborted (core dumped)/sbin/ldconfig.real: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once/usr/lib/x86_64-linux-gnu/libfakeroot:        libfakeroot-0.so -> libfakeroot-tcp.so/usr/local/lib:/lib/x86_64-linux-gnu:Aborted (core dumped)dpkg: error processing package libc-bin (--configure): installed libc-bin package post-installation script subprocess returned error exit status 134Errors were encountered while processing: libc-binE: Sub-process /usr/bin/dpkg returned an error code (1)

apt update and apt autoclean seem to be working correctly.

Reproduce?

I have no idea what caused the error... Also, I do not think I have done any dangerous operation to non-user files recently. I have googled the error messages I got, but fruitless.Anyone any idea?


Viewing all articles
Browse latest Browse all 2795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>