Dpkg error processing package libc bin configure

After upgrading to Ubuntu 16.04, I cannot update my system. After the usual: apt-get upgrade I get this error: Reading package lists... Done Building dependency tree Reading state inform...

After upgrading to Ubuntu 16.04, I cannot update my system. After the usual:

apt-get upgrade

I get this error:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up libc-bin (2.23-0ubuntu3) ...
Segmentation fault (core dumped)
/sbin/ldconfig.real: Can't stat /lib/i686-linux-gnu: No such file or directory
/sbin/ldconfig.real: Can't stat /usr/lib/i686-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
Segmentation fault (core dumped)
dpkg: error processing package libc-bin (--configure):
 subprocess installed post-installation script returned error exit status 139
Errors were encountered while processing:
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any ideas on how to fix this? apt-get clean and apt-get -f install did nothing.

asked Jul 30, 2016 at 18:08

Molorius's user avatar

MoloriusMolorius

1211 gold badge1 silver badge5 bronze badges

2

Here the reason seemed to be a corrupted /var/cache/ldconfig/aux-cache.

The solution was to do (as root):

rm /var/cache/ldconfig/aux-cache

And afterwards execute

/sbin/ldconfig

Zanna's user avatar

Zanna

68.2k55 gold badges210 silver badges320 bronze badges

answered May 12, 2018 at 8:23

Christof's user avatar

ChristofChristof

511 silver badge1 bronze badge

2

If it is in WSL, try (tks lifesaver.codes)

sudo mv /var/lib/dpkg/info/libc-bin.* /tmp/

sudo dpkg --remove --force-remove-reinstreq libc-bin

sudo dpkg --purge libc-bin

sudo apt install libc-bin

sudo mv /tmp/libc-bin.* /var/lib/dpkg/info/

Artur Meinild's user avatar

answered May 29, 2022 at 18:18

Bigumangaba's user avatar

1

I used to have the same error here, I did the following command:

 sudo apt-get --reinstall install libc-bin

And it worked, it reinstalled the libc-bin package and solved the issue.

Hope it helps

Vitor Abella's user avatar

Vitor Abella

7,09912 gold badges54 silver badges101 bronze badges

answered Aug 13, 2017 at 18:43

Mario Junior's user avatar

4

I had this problem, it turned out to be limits related. This resolved it:

limit datasize 2000M

answered Mar 13, 2018 at 23:47

Steven Borho's user avatar

I had to run sudo rm /var/cache/ldconfig/aux-cache and sudo /sbin/ldconfig.real on WSL Ubuntu 20.04 .

answered May 22, 2022 at 22:22

Luis Lopes's user avatar

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account


Closed

byroniac opened this issue

Dec 15, 2019

· 75 comments


Closed

libc-bin update error

#4760

byroniac opened this issue

Dec 15, 2019

· 75 comments

Comments

@byroniac

Please use the following bug reporting template to help produce issues which are actionable and reproducible, including all command-line steps necessary to induce the failure condition. Please fill out all the fields! Issues with missing or incomplete issue templates will be closed.

If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.

Important: Do not open GitHub issues for Windows crashes (BSODs) or security issues. Please direct all Windows crashes and security issues to secure@microsoft.com. Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from «C:Windowsminidump».

See our contributing instructions for assistance.

Please fill out the below information:

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    Microsoft Windows [Version 10.0.18363.535]

  • What you’re doing and what’s happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
    sudo apt-get update; sudo apt-get dist-upgrade

  • What’s wrong / what should be happening instead:
    libc-bin update fails with errors (maybe a Canonical problem, not sure)
    Only solution I know of at this point is to reset the app and reinstall everything into Ubuntu WSL so I can do apt-get updates in the future.

Copy paste what is on my screen:
sudo apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages will be upgraded:
dmeventd dmsetup libdevmapper-event1.02.1 libdevmapper1.02.1 liblvm2app2.2 liblvm2cmd2.02 lvm2
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/2191 kB of archives.
After this operation, 2048 B of additional disk space will be used.
Do you want to continue? [Y/n] y
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/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 134
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

  • Strace of the failing command, if applicable: (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).

  • For WSL launch issues, please collect detailed logs.

Annotation 2019-12-14 184607

paulirwin, avinoamsn, Botvinkin, yanisallouch, 4soos, kai-ma, lyh543, flxxyz, gregolsky, rraadd88, and 6 more reacted with thumbs up emoji
danielcristian2599 reacted with thumbs down emoji

@byroniac

@sirredbeard

Are you upgrading from 16.04 or performing a routine upgrade on an existing 18.04?

@byroniac

Routine upgrade on 18.04.

@byroniac

I usually just go ahead and reset the app when I get this error (about every few weeks, roughly once a month). I decided to just wait and see if anyone had any ideas that I could look at, first. Weird thing is, it seems to have resolved itself(?) and I have no idea why. I was able to install libc-bin and a few other packages and looking at my /var/log/dpkg.log seems to confirm it. So now I feel like the boy who cried wolf, only there was a real wolf before it disappeared.
Annotation 2019-12-16 071856

@byroniac

I think a reboot is essentially «fixing» the problem, at least partially. It just cropped up in a Windows 10 VM I have (1909, 18363.535). Before the reboot I did (in a sudo -i session): «rm /var/cache/ldconfig/aux-cache» and «ldconfig». The ldconfig aborted with error. After VM reboot, I was able to do a «sudo apt-get install —reinstall libc-bin» and it complained that «W: APT had planned for dpkg to do more than it reported back (0 vs 4)» but I had also tried to install aptitude somewhere in the mix. Anyways, that reinstall of libc-bin finished successfully. So, rebooting resets or fixes something. For what it is worth, this WSL has been upgraded (wslconfig /upgrade ubuntu) but I had this problem occasionally before the upgrade process was available.

@Geker

I reboot the computer,but the problem just still there

@byroniac

This happened again to me recently, and this time, a reboot no longer fixed the issue (in this particular circumstance, I received an update for «wslu», and I believe that it is the offending package, or at least is the package where the error occurred). I was forced to reset the app and do all apt updates and customization again.

@therealkenc

Do you want to continue? [Y/n] y
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/local/lib:
/lib/x86_64-linux-gnu:
Aborted (core dumped)

That fail (particularly the segfault) is all in userspace so there is (unfortunately) no WSL actionable. Standard operating procedure is doing various apt rain dances of questionable efficacy and reinstall when all else fails. Hat tip for the ubuntu forum link above.

@byroniac

I suspect this is a Canonical problem? Not sure. I wish someone could figure it out and resolve it. I for sure can’t, other than resetting the app which works great, but have to start all over again of course.

@therealkenc

I suspect this is a Canonical problem?

Probably not, narrowly speaking. I imagine the problem, educated guess, applies to any Debian based distro (ubuntu or otherwise). Whatever (scary quote) «the problem» is/was. Once a distro is hooped down at the ldconfig and libc system layer that’s a deep hole to climb out of. It is almost certainly possible to recover without resorting to a reinstall (because anything possible), but likely you would be chasing diminishing returns in the effort. Note you can get the equivalent of a reboot with a wsl.exe --shutdown if you (or anyone else) bangs on it further. You don’t need to resort to the red button. Bonne chance.

@byroniac

Thank you for that explanation. I didn’t think of that. Makes sense. I love Windows 10. I love Ubuntu. I really like the entire idea behind Ubuntu WSL, and I’d actually love it, if I wasn’t cursed with this problem (one of the few, the proud… lol). As far as I know, I’m not doing anything to cause it. I’ll try that wsl.exe —shutdown thing next time (I’d cross my fingers, but I’m not exactly hopeful).

@byroniac

Well, it just happened again, and wsl.exe —shutdown did not fix it. For what it’s worth. Why does this happen to me and almost no one else? Is no one else even trying to update their Ubuntu WSL on a regular basis? I imagine they would want to do so, for security fixes if nothing else.

@byroniac

/etc/ld.so.conf:
include /etc/ld.so.conf.d/*.conf
I’m kind of curious, because I think I got a faulty /etc/ld.so.conf this time which tripped it up. It should say something like the above, but I remember it being something different. According to dpkg -S ld.so.conf, that gets installed with the libc-bin package. Also, the /etc/ld.so.conf.d/ directory got some fakeroot file which is not there on a fresh install (after doing the sudo apt update and sudo apt full-upgrade, even). Next time it crashes, in about a month, I’ll try looking up this Github comment and seeing if it fixes it (skeptical).

@byroniac

Oops. The /etc/ld.so.conf.d/fakeroot-x86_64-linux-gnu.conf file came in with the fakeroot package, which I think is a dependency of python3-venv (if it matters, I also tend to have python3-pip installed). Just commenting for the historical record, in case this matters.

@abdilahrf

This fix my problem 👍 :+1 if this working for you.

sudo mv /var/lib/dpkg/info/libc-bin.* /tmp/
sudo dpkg --remove --force-remove-reinstreq libc-bin
sudo dpkg --purge libc-bin
sudo apt install libc-bin
sudo mv /tmp/libc-bin.* /var/lib/dpkg/info/
VarunAgw, qhadron, 0it, SeveneduS, Lyrx997, smasaber, bqhuyy, eric-fleming, jiucenglou, bbllmaster, and 241 more reacted with thumbs up emoji
linkdd, DarKcyde0, francesco1119, maikka39, realmhamdy, GrayXu, burnt-melon, FrancoisCarouge, nreh, quantcola, and 22 more reacted with thumbs down emoji
nowakkamil, nreh, DV-Marco, lucasbrenner, elabdi, ssakone, profabioalvespinto, plumstone, esking, twistypigeon, and 13 more reacted with hooray emoji
jiucenglou, dani6666, scannereyefox, olfMombach, huserman, diwu1990, nowakkamil, eduardo-g-silva, jaredforth, paul-sumlock, and 40 more reacted with heart emoji
ssakone, chajath, profabioalvespinto, jackluo923, plumstone, GuillaumeDua, esking, twistypigeon, Muttsuri, bshensky, and 6 more reacted with rocket emoji

@byroniac

Thanks! I’ve already reset my Ubuntu app so I will have to wait until it happens again, which so far is roughly every two or three weeks.

@SeashellUA

This fix my problem 👍 :+1 if this working for you.

Not in my case. I used:

sudo  dpkg --remove --force-remove-reinstreq --force-remove-essential --force-depends libc-bin
sudo dpkg --purge --force-remove-reinstreq --force-remove-essential --force-depends libc-bin
sudo mv /var/lib/dpkg/info/libc6:amd64.* /tmp/
sudo apt install -f libc-bin
sudo mv /tmp/libc6:amd64.* /var/lib/dpkg/info/
spaulaus, jiucenglou, e3mark, ywdeng, Rahulelectobuddy, puerconiox009, MishaTY, rsiggi, footvaalvica, Meprisant, and 21 more reacted with thumbs up emoji
linkdd, romain145, AndyDurden, dvngn, GrayXu, Dr4kk0nnys, FrancoisCarouge, f4grx, quantcola, nihilok, and 21 more reacted with thumbs down emoji
vysakhbt-git reacted with heart emoji

@byroniac

I have not seen the problem again, thankfully, but if I ever do, I will try to remember to come back here and try those instructions. Again, I am thankful also that the Reset option in Windows 10 Apps is available.

@linkdd

I had the issue today.

Could not install anything else because apt is trying to fix the installation of libc-bin. I tried the above instructions, but it failed at the reinstallation of libc-bin, so now there is no more libc, ldconfig, or anything else to get the system working.

I had to completely reinstall the WSL distribution.

This issue should not be closed.

@alansstuff

This happened to me after trying to install nmap on WSL. In my case, ldconfig was segfaulting (choking on libpcap) and causing libc-bin to appear broken. I’ll provide my troubleshooting journey since yours will likely be slightly different:

Attempting to run ldconfig yielded the following:

[~/build/libc]$ ldconfig -v
/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

<... blah blah blah...>

/usr/lib/x86_64-linux-gnu:
[1]    1528 abort (core dumped)  ldconfig -v

Well, OK. Let’s uninstall nmap and try again:

[~]$ sudo apt remove nmap
<... etc ...>
Package 'nmap' is not installed, so not removed

That looks promising. Let’s see which of its dependencies might be naughty:

[~]$ apt show nmap
<... blah blah blah...>
Depends: libc6 (>= 2.15), libgcc1 (>= 1:3.0), liblinear3 (>= 2.01+dfsg), liblua5.3-0, libpcap0.8 (>= 0.9.8), libpcre3, libssl1.1 (>= 1.1.0), libstdc++6 (>= 5.2), zlib1g (>= 1:1.1.4)

Those all look fairly innocuous with the exception of libpcap. Let’s see if it’s dropped anything in that path ldconfig was complaining about:

[~]$ mkdir /tmp/pcap
[~]$ dpkg -x /var/cache/apt/archives/libpcap0.8_1.8.1-6ubuntu1.18.04.1_amd64.deb /tmp/pcap
[~]$ ls /tmp/pcap/usr/lib/x86_64-linux-gnu
libpcap.so.0.8  libpcap.so.1.8.1

Right then. Out they go!

[~]$ sudo rm /usr/lib/x86_64-linux-gnu/libpcap.so.*
[~]$ sudo apt install libc-bin

And all was well. You probably don’t need to reinstall libc-bin unless you (like me) casually delete system files in the process of troubleshooting. Don’t forget to clean up after that partially removed package:

[~]$ sudo apt remove libpcap0.8

tl;dr:
Some libs apparently break ldconfig. Manually remove the offending library and clean up the mess. In my case it was libpcap0.8.

@jiucenglou

I have recently run into this problem. The solution for my case turns out to be surprisingly easy: for each Can't stat , manually run ls that directory, and then run the same apt again.

@byroniac

tl;dr:
Some libs apparently break ldconfig. Manually remove the offending library and clean up the mess. In my case it was libpcap0.8.

In my case, as far as I remember, my problems arose with clean WSL installations (I never tried to install nmap or libpcap, etc.). Though I did put in a customized ~/.bash_aliases each time, and part of me wonders if something in it caused the issue. Anyways, I have not had the problem come up again, but have also not been using WSL much at all recently. I’m interested in the «ls» trick mentioned in another comment, because it sounds too good to be true.

@byroniac

I have recently run into this problem. The solution for my case turns out to be surprisingly easy: for each Can't stat , manually run ls that directory, and then run the same apt again.

I almost wish I would have the issue again, so I could try this—it sounds too good to be true, to be honest.

@ButaiKirin

This fix my problem 👍 :+1 if this working for you.

sudo mv /var/lib/dpkg/info/libc-bin.* /tmp/
sudo dpkg --remove --force-remove-reinstreq libc-bin
sudo dpkg --purge libc-bin
sudo apt install libc-bin
sudo mv /tmp/libc-bin.* /var/lib/dpkg/info/

It works. Thank you

@VBaczynski

Faced similar problem on Kali Linux, this helped:

dpkg: warning: ‘ldconfig’ not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable


~# apt download libc-bin
~# dpkg -x libc-bin*.deb unpackdir/
~# cp unpackdir/sbin/ldconfig /sbin/
~# mv /var/lib/dpkg/info/libc6:amd64.* /tmp/
~# apt install -f libc-bin
~# mv /tmp/libc6:amd64.* /var/lib/dpkg/info/
felipegeek256, maikka39, hgouveia, ION28, Lugdunumn, serkansahinBE, Terezatvojamama, WacKEDmaN, AngeredZeus, christofkaelin, and 8 more reacted with thumbs up emoji
davystrong, rraadd88, and coskrrb2002 reacted with thumbs down emoji
serkansahinBE, Terezatvojamama, AngeredZeus, elabdi, DerGeorg, and Adrien-COSTANDI reacted with heart emoji

@felipegeek256

Faced similar problem on Kali Linux, this helped:

dpkg: warning: ‘ldconfig’ not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable


~# apt download libc-bin
~# dpkg -x libc-bin*.deb unpackdir/
~# cp unpackdir/sbin/ldconfig /sbin/
~# mv /var/lib/dpkg/info/libc6:amd64.* /tmp/
~# apt install -f libc-bin
~# mv /tmp/libc6:amd64.* /var/lib/dpkg/info/

That worked a treat and you posted it yesterday, lucky me! THANKS!

@SkyLeach

I have recently run into this problem. The solution for my case turns out to be surprisingly easy: for each Can't stat , manually run ls that directory, and then run the same apt again.

To my absolute shock and amazement, this is indeed the solution. Except for one caveat: ls -alh didn’t quite cut it. Instead, this is what worked for me: for PROBDIR in "" "/usr" "/usr/local"; do find "${PROBDIR}/lib/x86_64-linux-gnu" -type f -ls; done;

skbeh, TornaD-oz, staniel359, ziddey, andrew867, darklab-sh, paradoxxl, MishaTY, davystrong, diadras, and 28 more reacted with thumbs up emoji
andrew867, GraemeHarris, darklab-sh, MishaTY, davystrong, elabdi, gg-chrisd, jpmorin, MaximeRougieux, lyvius, and 3 more reacted with hooray emoji
Ceremony64 reacted with heart emoji
abhijeetsingh1704, jpmorin, and Jurrer reacted with rocket emoji
MishaTY, elabdi, jpmorin, BielMaxBR, and Jurrer reacted with eyes emoji

@GrayXu

all methods above would cause errors below
(I only found this problem on wsl ubuntu18 version)

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)

@TornaD-oz

I have recently run into this problem. The solution for my case turns out to be surprisingly easy: for each Can't stat , manually run ls that directory, and then run the same apt again.

To my absolute shock and amazement, this is indeed the solution. Except for one caveat: ls -alh didn’t quite cut it. Instead, this is what worked for me: for PROBDIR in "" "/usr" "/usr/local"; do find "${PROBDIR}/lib/x86_64-linux-gnu" -type f -ls; done;

This fixed it, thanks!

@mstephenson6

I have recently run into this problem. The solution for my case turns out to be surprisingly easy: for each Can't stat , manually run ls that directory, and then run the same apt again.

To my absolute shock and amazement, this is indeed the solution. Except for one caveat: ls -alh didn’t quite cut it. Instead, this is what worked for me: for PROBDIR in "" "/usr" "/usr/local"; do find "${PROBDIR}/lib/x86_64-linux-gnu" -type f -ls; done;

Thanks, it worked for me too with WSL1 and Debian 10 on Windows 20H2

This fixed a related issue in Ubuntu 18.04 WSL1 Windows 10 (1909) where ldconfig complains «directory listed twice» then dumps core

@wangwenqiangGitHub

Setting up libc-bin (2.31-0ubuntu9.2) …
Aborted (core dumped)
/sbin/ldconfig.real: Path /usr/lib/x86_64-linux-gnu' given more than once /sbin/ldconfig.real: Path /usr/lib32′ given more than once
/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
/sbin/ldconfig.real: Path `/usr/lib’ given more than once
/usr/lib/x86_64-linux-gnu/libfakeroot:
libfakeroot-0.so -> libfakeroot-tcp.so
/usr/local/lib:
/usr/local/lib/x86_64-linux-gnu:
/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 134
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

@Sinpo96

Finally I solved this by uninstalling ubuntu of WLS.

wonderful,it’s solved my problem

I must say sorry. I’m so excited that I reply for this wrong quote.

image
sudo apt autoremove can solve my problem

@wangwenqiangGitHub

Finally I solved this by uninstalling ubuntu of WLS.

wonderful,it’s solved my problem

I must say sorry. I’m so excited that I reply for this wrong quote.

image sudo apt autoremove can solve my problem

sorry , still this question when i do this

@DanaMW

It does not stop it from happening but when it does I ruin this little script i found on another post. It allows it to set back up and work. So every time it bonks out i run «fixme» shell script as follows.

#/bin/bash
sudo mv /var/lib/dpkg/info/libc-bin.* /tmp/
sudo dpkg --remove --force-remove-reinstreq libc-bin
sudo dpkg --purge libc-bin
sudo apt -y install libc-bin
sudo mv /tmp/libc-bin.* /var/lib/dpkg/info/

It works for me. Someone a while ago posted it here, it is not my script, I just use it (a lot).

scottmando2000, mgranoski, AnaJordao, dmnapolitano, carlosmuller, dw-andrewsfasteners, kevinle-1, Pg-Pi3Gey, and contranton reacted with thumbs up emoji
scottmando2000, carlosmuller, and kevinle-1 reacted with hooray emoji
mgranoski, carlosmuller, kevinle-1, Pg-Pi3Gey, JamesCrumble, and TheTerrasque reacted with heart emoji

@dwarak-cmd

Run «sudo apt-get dist-upgrade» on root user on Ubuntu and it will fix the issue.

@wangwenqiangGitHub

sudo apt-get dist-upgrade
still this question

@carlos-delamo

Run «sudo apt-get dist-upgrade» on root user on Ubuntu and it will fix the issue.

Not solving it for me

@kongdd

I got the same error. Unable to solve

@kongdd

After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up libc-bin (2.31-0ubuntu9.4) ...
Aborted (core dumped)
/sbin/ldconfig.real: Path `/usr/lib32' given more than once
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib' given more than once
/usr/lib/x86_64-linux-gnu/libfakeroot:
        libfakeroot-0.so -> libfakeroot-tcp.so
/usr/lib/wsl/lib:
/usr/local/lib:
        libnanosleep.so -> libnanosleep.so
/lib32:
        libutil.so.1 -> libutil-2.31.so
        libthread_db.so.1 -> libthread_db-1.0.so
        libstdc++.so.6 -> libstdc++.so.6.0.28
        libSegFault.so -> libSegFault.so
        librt.so.1 -> librt-2.31.so
        libresolv.so.2 -> libresolv-2.31.so
        libpthread.so.0 -> libpthread-2.31.so
        libpcprofile.so -> libpcprofile.so
        libnss_nisplus.so.2 -> libnss_nisplus-2.31.so
        libnss_nis.so.2 -> libnss_nis-2.31.so
        libnss_hesiod.so.2 -> libnss_hesiod-2.31.so
        libnss_files.so.2 -> libnss_files-2.31.so
        libnss_dns.so.2 -> libnss_dns-2.31.so
        libnss_compat.so.2 -> libnss_compat-2.31.so
        libnsl.so.1 -> libnsl-2.31.so
        libmemusage.so -> libmemusage.so
        libm.so.6 -> libm-2.31.so
        libgcc_s.so.1 -> libgcc_s.so.1
        libdl.so.2 -> libdl-2.31.so
        libc.so.6 -> libc-2.31.so
        libBrokenLocale.so.1 -> libBrokenLocale-2.31.so
        libanl.so.1 -> libanl-2.31.so
/sbin/ldconfig.real: /lib32/ld-2.31.so is the dynamic linker, ignoring

        ld-linux.so.2 -> ld-2.31.so
/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 134
Errors were encountered while processing:
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

@josemirm

After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up libc-bin (2.31-0ubuntu9.4) ...
Aborted (core dumped)
/sbin/ldconfig.real: Path `/usr/lib32' given more than once
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib' given more than once
/usr/lib/x86_64-linux-gnu/libfakeroot:
        libfakeroot-0.so -> libfakeroot-tcp.so
/usr/lib/wsl/lib:
/usr/local/lib:
        libnanosleep.so -> libnanosleep.so
/lib32:
        libutil.so.1 -> libutil-2.31.so
        libthread_db.so.1 -> libthread_db-1.0.so
        libstdc++.so.6 -> libstdc++.so.6.0.28
        libSegFault.so -> libSegFault.so
        librt.so.1 -> librt-2.31.so
        libresolv.so.2 -> libresolv-2.31.so
        libpthread.so.0 -> libpthread-2.31.so
        libpcprofile.so -> libpcprofile.so
        libnss_nisplus.so.2 -> libnss_nisplus-2.31.so
        libnss_nis.so.2 -> libnss_nis-2.31.so
        libnss_hesiod.so.2 -> libnss_hesiod-2.31.so
        libnss_files.so.2 -> libnss_files-2.31.so
        libnss_dns.so.2 -> libnss_dns-2.31.so
        libnss_compat.so.2 -> libnss_compat-2.31.so
        libnsl.so.1 -> libnsl-2.31.so
        libmemusage.so -> libmemusage.so
        libm.so.6 -> libm-2.31.so
        libgcc_s.so.1 -> libgcc_s.so.1
        libdl.so.2 -> libdl-2.31.so
        libc.so.6 -> libc-2.31.so
        libBrokenLocale.so.1 -> libBrokenLocale-2.31.so
        libanl.so.1 -> libanl-2.31.so
/sbin/ldconfig.real: /lib32/ld-2.31.so is the dynamic linker, ignoring

        ld-linux.so.2 -> ld-2.31.so
/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 134
Errors were encountered while processing:
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

As other comments said, try these things:

for PROBDIR in "" "/usr" "/usr/local"; do find "${PROBDIR}/lib/x86_64-linux-gnu" -type f -ls; done;
sudo apt-get dist-upgrade
sudo apt-get autoremove

@KSpakes87

This fix my problem 👍 :+1 if this working for you.

sudo mv /var/lib/dpkg/info/libc-bin.* /tmp/
sudo dpkg --remove --force-remove-reinstreq libc-bin
sudo dpkg --purge libc-bin
sudo apt install libc-bin
sudo mv /tmp/libc-bin.* /var/lib/dpkg/info/

I have this issue pop up on me every now and then. Just made this a bash script and run it when it happens. Fixes every time. I just have to remember I have that script when it happens lol.

@tominal

What the hell.

For WSL Ubuntu 20.04 users on Windows 21H2:

for PROBDIR in "" "/usr" "/usr/local"; do find "${PROBDIR}/lib/x86_64-linux-gnu" -type f -ls; done;
sudo apt autoremove

@aravindselvapalani

Can’t say I understood the issue but went on a limb and did the following that fixed the issue.

ln -s /usr/lib/x86_64-linux-gnu/ /usr/bin/x86_64-linux-gnu

@withmorten

This fix my problem 👍 :+1 if this working for you.

sudo mv /var/lib/dpkg/info/libc-bin.* /tmp/
sudo dpkg --remove --force-remove-reinstreq libc-bin
sudo dpkg --purge libc-bin
sudo apt install libc-bin
sudo mv /tmp/libc-bin.* /var/lib/dpkg/info/

Since it’s buried so far down I’m requoting it — had this issue today randomly on debian testing, this was the only solution that worked!

@ejberrio

Just sudo apt install libc-bin did the trick — problem solved. Thanks! P.S. Removing the package didn’t work — for each I got an error «this is an essential package; it should not be removed»

pablomendezroyo

added a commit
to dappnode/DAppNodePackage-gnosis-beacon-chain-prysm
that referenced
this issue

May 15, 2022

@pablomendezroyo

@kmasila

I just ran «sudo mv /var/lib/dpkg/info/libc-bin.* /tmp/» and apt-get update subsequently to fix this issue.

@jleaders

This worked for me

for PROBDIR in "" "/usr" "/usr/local"; do find "${PROBDIR}/lib/x86_64-linux-gnu" -type f -ls; done;
sudo apt install libc-bin -y
sudo mv /var/lib/dpkg/info/libc-bin.* /tmp/
sudo apt install libc-bin -y
XxxGHOSTX, grv87, zanna-37, adduxa, Jefferderp, lukexyz, ExecThTs, claublog, and permissionx reacted with thumbs up emoji
lukexyz, ExecThTs, samuelvgo, and danielegovetto reacted with heart emoji
permissionx and samuelvgo reacted with rocket emoji

@XxxGHOSTX

This worked for me

for PROBDIR in "" "/usr" "/usr/local"; do find "${PROBDIR}/lib/x86_64-linux-gnu" -type f -ls; done;
sudo apt install libc-bin -y
sudo mv /var/lib/dpkg/info/libc-bin.* /tmp/
sudo apt install libc-bin -y

FINALLY this was the first one out of countless error 134 thanks

@KSpakes87

So, it has now gotten to the point where I have to fix libc-bin every time I update/upgrade or install new packages. Any word on a fix for this?

@eduarddejong

So, it has now gotten to the point where I have to fix libc-bin every time I update/upgrade or install new packages. Any word on a fix for this?

I don’t understand why so few people are talking about this entire issue. I am litterally experiencing this on ALL systems that I use WSL on, both with Debian and Ubuntu.
There is clearly a general issue but updating your distro at a regular base seems to be a thing limited to a small amount of people or so. I don’t get it.

@DanaMW

It only happens for me on WSL version 1 and I just have gotten used to fixing it when I update. But yes it does happen on that version almost every time.

@zturtleman

On WSL2/Ubuntu 20.04 updating for the first time in like a year; the below let other packages update but left libc-bin as «not fully installed» and apt would try to install libc-bin, and print ldconfig messages and crash «Aborted (core dumped)», if you try to install anything else or do apt autoremove.

sudo mv /var/lib/dpkg/info/libc-bin.* /tmp/
sudo dpkg --remove --force-remove-reinstreq libc-bin
sudo dpkg --purge libc-bin
sudo apt -y install libc-bin
sudo mv /tmp/libc-bin.* /var/lib/dpkg/info/

Running sudo ldconfig crashed «Aborted (core dumped)».

Updating ldconfig cache while ignoring /var/cache/ldconfig/aux-cache fixed it for me. (I didn’t have the foresight to backup the binary aux-cache file so it could be attached to a bug report about ldconfig somewhere.) source

Solution:

Edit: Actually ignoring/removing aux-cache was mentioned early in the thread.

@vladimirzind

I have recently run into this problem. The solution for my case turns out to be surprisingly easy: for each Can't stat , manually run ls that directory, and then run the same apt again.

To my absolute shock and amazement, this is indeed the solution. Except for one caveat: ls -alh didn’t quite cut it. Instead, this is what worked for me: for PROBDIR in "" "/usr" "/usr/local"; do find "${PROBDIR}/lib/x86_64-linux-gnu" -type f -ls; done;

I want to confirm tha this worked for me on Ubuntu-20.04.
One note only is that I needed to execute command multiple times (3-4) untill problem was resolved.

Thank you for your help.

@Dan1138

One thing that worked for me was (temporarily) changing from WSL 1 to WSL 2.

  • Close any WSL windows
  • From CMD or Powershell run «wsl —set-version Ubuntu-22.04 2» (you can use «wsl -l -v» to get your WSL distro name if different)
  • Open WSL and run «sudo apt upgrade» or whatever was giving you the error before.
  • Once you’re happy, if you want to switch back, close WSL then run «wsl —set-version Ubuntu-22.04 1»

This worked for me and may be worth trying if the find/ls solution above does not work for you (it did not work for me, I just got no such file errors).

@eduarddejong

Has been a while ago that I replied here. In my case I was using WSL 2 and experiencing the issue, not using WSL 1.

I would like to add that I changed a few things and that I seem to be no longer having the issue.

First of all I am no longer run more than 1 distro. Just Ubuntu, because I wanted to stop fixing things. I don’t know if this matters or not (I hope distros don’t conflict with resources or something weird like that).
But there is more …

I no longer install distros from the command line using wsl --install -d <Distro>, but I installed just «Ubuntu» directly via Microsoft Store app instead. (Note: I am not talking about «Ubuntu-16.04» or «Ubuntu-18.04» or «Ubuntu-20.04», but really just «Ubuntu» in both cases, because I haven’t tested the other ones. I also stopped using Debian so I don’t know if this change would apply for that one either).

Surpisingly, it turned out that I kept getting a different version of Ubuntu from the Store than when using the command line. First of all very interesting because apparantly these things differ from each other.
Secondly it’s very weird because the distro name was exactly the same, «Ubuntu» in both cases.
The version from Store looked much newer though, also coming with default styling for the Windows Terminal, which is also new.

For some people this might all be obvious, but at least it wasn’t for me.

Most importantly, it turns out that I have no longer seen the libc-bin issue coming back after this change.
So maybe if other people read it, they can benefit from this knowlege as well.

@KSpakes87

Has been a while ago that I replied here. In my case I was using WSL 2 and experiencing the issue, not using WSL 1.

I would like to add that I changed a few things and that I seem to be no longer having the issue.

First of all I am no longer run more than 1 distro. Just Ubuntu, because I wanted to stop fixing things. I don’t know if this matters or not (I hope distros don’t conflict with resources or something weird like that). But there is more …

I no longer install distros from the command line using wsl --install -d <Distro>, but I installed just «Ubuntu» directly via Microsoft Store app instead. (Note: I am not talking about «Ubuntu-16.04» or «Ubuntu-18.04» or «Ubuntu-20.04», but really just «Ubuntu» in both cases, because I haven’t tested the other ones. I also stopped using Debian so I don’t know if this change would apply for that one either).

Surpisingly, it turned out that I kept getting a different version of Ubuntu from the Store than when using the command line. First of all very interesting because apparantly these things differ from each other. Secondly it’s very weird because the distro name was exactly the same, «Ubuntu» in both cases. The version from Store looked much newer though, also coming with default styling for the Windows Terminal, which is also new.

For some people this might all be obvious, but at least it wasn’t for me.

Most importantly, it turns out that I have no longer seen the libc-bin issue coming back after this change. So maybe if other people read it, they can benefit from this knowlege as well.

I appreciate the time you took to research and write this up. However, I am using the Windows Store «Ubuntu» version and still receive this error. I am running WSL1 though, so there could be a difference here.

I could repair my broken upgrade process by reinstalling dpkg.

Naive first attempt:

sudo dpkg -i /var/cache/apt/archives/dpkg_1.19.7ubuntu3_amd64.deb
(Reading database ... 65377 files and directories currently installed.)
Preparing to unpack .../dpkg_1.19.7ubuntu3_amd64.deb ...
Unpacking dpkg (1.19.7ubuntu3) over (1.19.7ubuntu3) ...
dpkg: dependency problems prevent configuration of dpkg:
 dpkg depends on libbz2-1.0; however:
  Package libbz2-1.0:amd64 is not configured yet.
 dpkg depends on libselinux1 (>= 2.3); however:
  Package libselinux1:amd64 is not configured yet.
 dpkg depends on libzstd1 (>= 1.3.2); however:
  Package libzstd1:amd64 is not configured yet.
 dpkg depends on zlib1g (>= 1:1.1.4); however:
  Package zlib1g:amd64 is not configured yet.
 dpkg depends on tar (>= 1.28-1); however:
  Package tar is not configured yet.

Repeat the manual installation attempt for each dependency recursively. Start with libselinux:

sudo dpkg -i /var/cache/apt/archives/libselinux1_3.0-1build2_amd64.deb
(Reading database ... 65377 files and directories currently installed.)
Preparing to unpack .../libselinux1_3.0-1build2_amd64.deb ...
Unpacking libselinux1:amd64 (3.0-1build2) over (3.0-1build2) ...
dpkg: dependency problems prevent configuration of libselinux1:amd64:
 libselinux1:amd64 depends on libpcre2-8-0 (>= 10.22); however:
  Package libpcre2-8-0:amd64 is not configured yet.

ok, start with libpcre2-8-0…

sudo dpkg -i /var/cache/apt/archives/libpcre2-8-0_10.34-7_amd64.deb
(Reading database ... 65377 files and directories currently installed.)
Preparing to unpack .../libpcre2-8-0_10.34-7_amd64.deb ...
Unpacking libpcre2-8-0:amd64 (10.34-7) over (10.34-7) ...
Setting up libpcre2-8-0:amd64 (10.34-7) ...

success! now install libselinux again. then the other libs, tar and finally dpkg.

… [omitted]

sudo dpkg -i /var/cache/apt/archives/dpkg_1.19.7ubuntu3_amd64.deb
(Reading database ... 65377 files and directories currently installed.)
Preparing to unpack .../dpkg_1.19.7ubuntu3_amd64.deb ...
Unpacking dpkg (1.19.7ubuntu3) over (1.19.7ubuntu3) ...
Setting up dpkg (1.19.7ubuntu3) ...

Yay, successfully reinstalled dpkg. Once dpkg is recent again, run

sudo apt --fix-broken install

That should work now and finish your installation.

While installing the latest round of updates for bionic via aptitude:

Setting up libav-tools (7:3.4.2-1) …
dpkg: cycle found while processing triggers:
 chain of packages whose triggers are or may be responsible:
  ufw -> gconf2
 packages’ pending triggers which are or may be unresolvable:
  libc-bin: ldconfig
  menu: /usr/share/menu
  tex-common: texmf-format
  gconf2: /usr/share/GConf/gsettings
  ufw: /etc/ufw/applications.d
dpkg: error processing package libc-bin (—configure):
 triggers looping, abandoned

Setting up python3-all-dev (3.6.4-1) …
Processing triggers for menu (2.1.47ubuntu1) …
Processing triggers for tex-common (6.09) …
Building format(s) —all.
 This may take some time… done.
Errors were encountered while processing:
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up libc-bin (2.26-0ubuntu2) …
Press Return to continue, ‘q’ followed by Return to quit.

Ubuntu: bionic 18.04

dpkg:
  Installed: 1.19.0.5ubuntu1
  Candidate: 1.19.0.5ubuntu1
  Version table:
 *** 1.19.0.5ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
aptitude:
  Installed: 0.8.10-6ubuntu1
  Candidate: 0.8.10-6ubuntu1
  Version table:
 *** 0.8.10-6ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
libc-bin:
  Installed: 2.26-0ubuntu2
  Candidate: 2.26-0ubuntu2
  Version table:
 *** 2.26-0ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
menu:
  Installed: 2.1.47ubuntu1
  Candidate: 2.1.47ubuntu1
  Version table:
 *** 2.1.47ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status
tex-common:
  Installed: 6.09
  Candidate: 6.09
  Version table:
 *** 6.09 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status
gconf2:
  Installed: 3.2.6-4ubuntu1
  Candidate: 3.2.6-4ubuntu1
  Version table:
 *** 3.2.6-4ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status
ufw:
  Installed: 0.35-5
  Candidate: 0.35-5
  Version table:
 *** 0.35-5 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status
libav-tools:
  Installed: 7:3.4.2-1
  Candidate: 7:3.4.2-1
  Version table:
 *** 7:3.4.2-1 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libc-bin 2.26-0ubuntu2
ProcVersionSignature: Ubuntu 4.13.0-25.29-generic 4.13.13
Uname: Linux 4.13.0-25-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Fri Feb 16 16:08:12 2018
Dependencies:
 gcc-8-base 8-20180208-0ubuntu1
 libc6 2.26-0ubuntu2
 libgcc1 1:8-20180208-0ubuntu1
InstallationDate: Installed on 2016-05-07 (649 days ago)
InstallationMedia:

JournalErrors:
 Hint: You are currently not seeing messages from other users and the system.
       Users in groups ‘adm’, ‘systemd-journal’ can see all messages.
       Pass -q to turn off this notice.
 — Logs begin at Thu 2018-01-04 17:12:35 UTC, end at Fri 2018-02-16 04:45:37 UTC. —
 — No entries —
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: glibc
UpgradeStatus: Upgraded to bionic on 2017-11-20 (87 days ago)

hi, I am not new to Linuxmint, but with this broken package problem I sure feel like one, this is just a last ditch effort before I timeshift back to a previous save,
I have a feeling I am missing something simple, but cant figure it out.
When trying to update, I continue to receive the same error, and seem unable to fix broken packages that prevent an update.
here is the dump of the log:

debconf: DbDriver «config»: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Setting up libc6:amd64 (2.27-3ubuntu1.2) …
debconf: DbDriver «config»: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package libc6:amd64 (—configure):
installed libc6:amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
libc6:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up libc6:amd64 (2.27-3ubuntu1.2) …
debconf: DbDriver «config»: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package libc6:amd64 (—configure):
installed libc6:amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of libc6-dev:amd64:
libc6-dev:amd64 depends on libc6 (= 2.27-3ubuntu1.2); however:
Package libc6:amd64 is not configured yet.

dpkg: error processing package libc6-dev:amd64 (—configure):
dependency problems — leaving unconfigured
dpkg: dependency problems prevent configuration of libc6-dbg:amd64:
libc6-dbg:amd64 depends on libc6 (= 2.27-3ubuntu1.2); however:
Package libc6:amd64 is not configured yet.

dpkg: error processing package libc6-dbg:amd64 (—configure):
dependency problems — leaving unconfigured
dpkg: dependency problems prevent processing triggers for libc-bin:
libc-bin depends on libc6 (>> 2.27); however:
Package libc6:amd64 is not configured yet.
libc-bin depends on libc6 (<< 2.28); however:
Package libc6:amd64 is not configured yet.

dpkg: error processing package libc-bin (—configure):
dependency problems — leaving triggers unprocessed
Errors were encountered while processing:
libc6:amd64
libc6-dev:amd64
libc6-dbg:amd64
libc-bin

any help is much appreciated
Colin

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

  • Печать

Страницы: [1]   Вниз

Тема: [РЕШЕНО] проблема с обновлением libc6 и вообще обновлениями, ubuntu 10.04  (Прочитано 14541 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
a13xn

Добрый день, all.

Есть такая беда — не хочет обновляться(точнее, конфигуриться — см. сообщение об ошибке) libc6 и кучка родственных пакетов, очень от него зависящих.
При этом все остальное тоже не обновляется. Сообщение об ошибке прилагаю:

alexn@alexn-desktop:~$ sudo apt-get install
[sudo] password for alexn:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
4 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
debconf: Perl may be unconfigured (syntax error at /usr/share/perl5/Debconf/Iterator.pm line 13, near "($this"
Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 13.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
Setting up libc6 (2.11.1-0ubuntu7.7) ...
syntax error at /usr/share/perl5/Debconf/Iterator.pm line 13, near "($this"
Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 13.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
Compilation failed in require at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: error processing libc6 (--configure):
 subprocess installed post-installation script reNo apport report written because the error message indicates its a followup error from a previous failure.
    No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                              No apport report written because MaxReports is reached already
                     turned error exit status 255
dpkg: dependency problems prevent configuration of libc-dev-bin:
 libc-dev-bin depends on libc6 (>> 2.11); however:
  Package libc6 is not configured yet.
 libc-dev-bin depends on libc6 (<< 2.12); however:
  Package libc6 is not configured yet.
dpkg: error processing libc-dev-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.11.1-0ubuntu7.7); however:
  Package libc6 is not configured yet.
 libc6-dev depends on libc-dev-bin (= 2.11.1-0ubuntu7.7); however:
  Package libc-dev-bin is not configured yet.
dpkg: error processing libc6-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc6-i386:
 libc6-i386 depends on libc6 (= 2.11.1-0ubuntu7.7); however:
  Package libc6 is not configured yet.
dpkg: error processing libc6-i386 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6
 libc-dev-bin
 libc6-dev
 libc6-i386
E: Sub-process /usr/bin/dpkg returned an error code (1)

Аналогичная простыня вылезает при apt-get —install -f
В файликах, в которых syntax error я syntax error’a не вижу, да и вообще там в комментариях написано, что он сгенерен и не надо его трогать.

Googled till my finger bleed, два дня — результата нет.
Можт сталкивался кто? Подскажите плз, куда копать, а?

« Последнее редактирование: 14 Января 2011, 18:32:51 от a13xn »


Оффлайн
Haron Prime

4 not fully installed or removed


Оффлайн
stmc

зайти в synaptic, обновить список пакетов, поставить libc6 «для переустановки» и нажать применить


Оффлайн
a13xn

Не спасло:

E: libc6: subprocess installed post-installation script returned error exit status 255
E: libc-dev-bin: dependency problems - leaving unconfigured
E: libc6-dev: dependency problems - leaving unconfigured
E: libc6-i386: dependency problems - leaving unconfigured

Details:

debconf: Perl may be unconfigured (syntax error at /usr/share/perl5/Debconf/Iterator.pm line 13, near "($this"
Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 13.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
Setting up libc6 (2.11.1-0ubuntu7.7) ...
syntax error at /usr/share/perl5/Debconf/Iterator.pm line 13, near "($this"
Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 13.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
Compilation failed in require at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: error processing libc6 (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of libc-dev-bin:
 libc-dev-bin depends on libc6 (>> 2.11); however:
  Package libc6 is not configured yet.
 libc-dev-bin depends on libc6 (<< 2.12); however:
  Package libc6 is not configured yet.
dpkg: error processing libc-dev-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.11.1-0ubuntu7.7); however:
  Package libc6 is not configured yet.
 libc6-dev depends on libc-dev-bin (= 2.11.1-0ubuntu7.7); however:
  Package libc-dev-bin is not configured yet.
dpkg: error processing libc6-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc6-i386:
 libc6-i386 depends on libc6 (= 2.11.1-0ubuntu7.7); however:
  Package libc6 is not configured yet.
dpkg: error prNo apport report written because the error message indicates its a followup error from a previous failure.
                                        No apport report written because the error message indicates its a followup error from a previous failure.
                                                                  No apport report written because MaxReports is reached already
                                                ocessing libc6-i386 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6
 libc-dev-bin
 libc6-dev
 libc6-i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up libc6 (2.11.1-0ubuntu7.7) ...
syntax error at /usr/share/perl5/Debconf/Iterator.pm line 13, near "($this"
Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 13.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
Compilation failed in require at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: error processing libc6 (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.11.1-0ubuntu7.7); however:
  Package libc6 is not configured yet.
dpkg: error processing libc6-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc-dev-bin:
 libc-dev-bin depends on libc6 (>> 2.11); however:
  Package libc6 is not configured yet.
 libc-dev-bin depends on libc6 (<< 2.12); however:
  Package libc6 is not configured yet.
dpkg: error processing libc-dev-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc6-i386:
 libc6-i386 depends on libc6 (= 2.11.1-0ubuntu7.7); however:
  Package libc6 is not configured yet.
dpkg: error processing libc6-i386 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6
 libc6-dev
 libc-dev-bin
 libc6-i386


Пользователь решил продолжить мысль 14 Января 2011, 14:52:58:


Кстати, та же самая ошибка возникает при попытке установить/удалить/переустановить любой пакет.

« Последнее редактирование: 14 Января 2011, 14:52:58 от a13xn »


Оффлайн
f1xmAn

Удали все из /var/lib/dpkg/info


Оффлайн
stmc

пробуй
sudo apt-get install -f


Оффлайн
a13xn

install -f выдал ту же ошибку.
Потер все из /var/lib/dpkg/info, снова попробовал install -f. По идее — нечего инсталить — нет ошибок. Однако, выдалось вот это, похожего, кстати, содержания:

sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
4 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
debconf: Perl may be unconfigured (syntax error at /usr/share/perl5/Debconf/Iterator.pm line 13, near "($this"
Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 13.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
Setting up libc6 (2.11.1-0ubuntu7.7) ...
Setting up libc-dev-bin (2.11.1-0ubuntu7.7) ...
Setting up libc6-dev (2.11.1-0ubuntu7.7) ...
Setting up libc6-i386 (2.11.1-0ubuntu7.7) ...


Пользователь решил продолжить мысль 14 Января 2011, 18:12:00:


Такое впечатление, что сильно поломался perl.
Даже cpan не запускается, с похожими ошибками:
sudo cpan

syntax error at /usr/share/perl/5.10/File/Find.pm line 700, near "($top_item"
syntax error at /usr/share/perl/5.10/File/Find.pm line 761, near "() "
syntax error at /usr/share/perl/5.10/File/Find.pm line 854, near "() "
syntax error at /usr/share/perl/5.10/File/Find.pm line 902, near "(@filenames"
syntax error at /usr/share/perl/5.10/File/Find.pm line 926, near "() "
syntax error at /usr/share/perl/5.10/File/Find.pm line 958, near "() "
syntax error at /usr/share/perl/5.10/File/Find.pm line 964, near "() "
syntax error at /usr/share/perl/5.10/File/Find.pm line 1017, near "()"
syntax error at /usr/share/perl/5.10/File/Find.pm line 1039, near "() "
syntax error at /usr/share/perl/5.10/File/Find.pm line 1128, near "() "
/usr/share/perl/5.10/File/Find.pm has too many errors.
Compilation failed in require at /usr/share/perl/5.10/CPAN/CacheMgr.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/CPAN/CacheMgr.pm line 8.
Compilation failed in require at /usr/share/perl/5.10/CPAN.pm line 22.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/CPAN.pm line 22.
Compilation failed in require at /usr/bin/cpan line 175.
BEGIN failed--compilation aborted at /usr/bin/cpan line 175.

Простые вещи типа hello world работают. Как только use какого-то модуля — кирдык.

« Последнее редактирование: 14 Января 2011, 18:12:00 от a13xn »


Оффлайн
f1xmAn

Попробуй полностью удалить Perl, а потом его заново инсталлировать


Оффлайн
a13xn

С одной стороны каюсь, с другой стороны — magic.
После очередного ребута завелось и заработало.

Всем спасибо.


Оффлайн
f1xmAn

С одной стороны каюсь, с другой стороны — magic.
После очередного ребута завелось и заработало.

Всем спасибо.

Иногда создается такое впечатление, что слово Ubuntu взято из книги заклинаний древних Ктулху =)


  • Печать

Страницы: [1]   Вверх

Содержание

  1. apt-get — Ошибка сегментации: Ошибка при обработке пакета libc-bin
  2. Announcement
  3. subprocess installed post-installation script returned error exit status 134
  4. Comment

apt-get — Ошибка сегментации: Ошибка при обработке пакета libc-bin

Привет, я борюсь с этим в течение последнего месяца.

sudo apt-get upgrade а также sudo apt-get autoremove выдает следующую ошибку

Когда я бегу sudo apt-get install -f Выдает ошибку следующим образом.

1) Вопрос размещен здесь по ссылке. Но упомянутый ответ специфичен для пользователя.

2) Как упомянуто здесь ссылка, я попробовал sudo apt-get —reinstall install libc-bin , Но это показывает

3) sudo dpkg —configure -a ошибки в следующем

Любая помощь будет высоко оценена, так как это машина, на которой сконфигурированы все мои академические проекты, поэтому я не могу позволить себе переустановку.

РЕДАКТИРОВАТЬ:

4) sudo dpkg —configure -D 777 libc-bin дает следующий вывод:

РЕДАКТИРОВАТЬ:

5) Я пробовал решение упомянутой здесь ссылки. Но sudo mv /usr/lib/x86_64-linux-gnu/libtic.so.5.9 /root выдает ошибку

Означает ли это, что в моем случае какая-то другая библиотека вызывает проблему?

РЕДАКТИРОВАТЬ: я был в состоянии сделать стрейс во время sudo apt-get install -f и журнал доступен здесь; если это кому-нибудь поможет

6) Я попытался увеличить ограничение кеша APT, как упомянуто здесь. Но это не помогло.

РЕДАКТИРОВАТЬ: Обновить ответ на предложения старейшины Гика

7) Я проверил свой оперативной памяти с memtest, и он не показывает никаких ошибок. Я также провел SMART самопроверку на своем жестком диске (короткий), который показывает, что «Диск в порядке».

8) Я вручную проверил и эту конкретную библиотеку /usr/lib/x86_64-linux-gnu/libtic.so.5.9 не существует в этом месте. (Поэтому я считаю, что такой библиотеки не существует в моей системе, и какая-то другая библиотека вызывает проблему.)

9) у меня нет пути /usr/lib/i686-linux-gnu в моей системе.

10) Была опечатка, я проверял /etc/apt/sources.lst как уже упоминалось в оригинальном ответе. У меня есть sources.list ,

Это записи, которые я вижу там. Я не вижу ни одного упомянутого там PPA.

Также я не могу установить ppa-менеджер, так как сам apt не работает, и я не могу ничего установить.

11) Дополнительная информация: Изначально это была система 14.04, которая была обновлена ​​до 16.04. Те ppas, которые у меня были в 14.04, были отключены во время обновления. Однако это обновление произошло почти год назад, и система работала без перебоев почти год.

12) Последнее и самое важное: я помню, как sudo apt-get dist-upgrade некоторое время, прежде чем все проблемы начали появляться. Может ли это быть чем-то, что вызвало проблему?

Источник

Announcement

subprocess installed post-installation script returned error exit status 134

Help ! After an unenventful upgrade I’m unable to install anything or upgrade any packages. Am using KPackageKit and though I can download the packeges, halfway through the installation I walways get this error.

Flash no longer worked after moving to 11.04 so I tried to update and got this error the first time, but now I find it happens for everything.

Driing me crazy

  • Join Date: Feb 2009
  • Posts: 18014
  • Send PM

Re: subprocess installed post-installation script returned error exit status 134

Did you md5 checksum the iso after you downloaded it, and the LiveCD after you burned it using DAO at 10x or less?

Open a Konsole and issue
sudo apt-get -f install
sudo dpkg —configure -a

several times until they come back with no error msg. If they fail to resolve the issue check the output of the processes to see which package they failed on. Note its name, then issue
sudo apt-get build-dep packagename

and after it is done redo the first two commands. Rinse and repeat until all comes clean.

Re: subprocess installed post-installation script returned error exit status 134

Thanks for the help. nspluginwrapper is the problem but it’s failing when I try to install it again.

$ sudo apt-get build-dep nspluginwrapper

Reading package lists. Done
Building dependency tree
Reading state information. Done
The following NEW packages will be installed:
autotools-dev build-essential debhelper diffstat dpkg-dev fakeroot g++-4.5-multilib
g++-multilib gcc-4.5-multilib gcc-multilib gettext html2text intltool-debian lib32gomp1
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libatk1.0-dev
libc6-dev-i386 libcairo-gobject2 libcairo-script-interpreter2 libcairo2-dev
libcurl4-gnutls-dev libdpkg-perl libexpat1-dev libfontconfig1-dev libgcrypt11-dev
libgdk-pixbuf2.0-dev libglib2.0-bin libglib2.0-dev libgnutls-dev libgpg-error-dev
libgtk2.0-dev libidn11-dev libldap2-dev libmail-sendmail-perl libpango1.0-dev
libpixman-1-dev libpng12-dev libsys-hostname-long-perl libtasn1-3-dev libunistring0
libxcb-render0-dev libxcb-shm0-dev libxcomposite-dev libxcursor-dev libxdamage-dev
libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxrandr-dev
libxrender-dev patch pkg-config po-debconf quilt x11proto-composite-dev
x11proto-damage-dev x11proto-fixes-dev x11proto-randr-dev x11proto-render-dev
x11proto-xext-dev x11proto-xinerama-dev xorg-sgml-doctools
0 upgraded, 66 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 30.5 MB of archives.
After this operation, 92.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty/main libc6-dev-i386 amd64 2.13-0ubuntu13 [1,452 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ natty/main lib32gomp1 amd64 4.5.2-8ubuntu4 [24.0 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ natty/main gcc-4.5-multilib amd64 4.5.2-8ubuntu4 [2,326 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ natty/main gcc-multilib amd64 4:4.5.2-1ubuntu3 [952 B]
Get:5 http://us.archive.ubuntu.com/ubuntu/ natty/main autotools-dev all 20100122.1 [70.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ natty/main libdpkg-perl all 1.16.0

ubuntu7 [182 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ natty/main patch amd64 2.6-3 [121 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ natty/main dpkg-dev all 1.16.0

ubuntu7 [476 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ natty/main build-essential amd64 11.5ubuntu1 [5,928 B]
Get:10 http://us.archive.ubuntu.com/ubuntu/ natty/main html2text amd64 1.3.2a-15 [104 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ natty/main libunistring0 amd64 0.9.3-3 [425 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu/ natty/main gettext amd64 0.18.1.1-3ubuntu1 [1,329 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu/ natty/main intltool-debian all 0.35.0+20060710.1 [31.6 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu/ natty/main po-debconf all 1.0.16+nmu1 [212 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu/ natty/main debhelper all 8.1.2ubuntu4 [482 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu/ natty/main diffstat amd64 1.54-1 [22.7 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu/ natty/main fakeroot amd64 1.14.4-1ubuntu1 [101 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu/ natty/main g++-4.5-multilib amd64 4.5.2-8ubuntu4 [1,006 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu/ natty/main g++-multilib amd64 4:4.5.2-1ubuntu3 [878 B]
Get:20 http://us.archive.ubuntu.com/ubuntu/ natty/main libalgorithm-diff-perl all 1.19.02-2 [50.7 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu/ natty/main libalgorithm-diff-xs-perl amd64 0.04-1 [13.5 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu/ natty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu/ natty/main pkg-config amd64 0.25-1.1ubuntu1 [41.8 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu/ natty/main libglib2.0-bin amd64 2.28.6-0ubuntu1 [29.1 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu/ natty/main libglib2.0-dev amd64 2.28.6-0ubuntu1 [1,659 kB]
Get:26 http://us.archive.ubuntu.com/ubuntu/ natty/main libatk1.0-dev amd64 2.0.0-0ubuntu1 [125 kB]
Get:27 http://us.archive.ubuntu.com/ubuntu/ natty/main libcairo-gobject2 amd64 1.10.2-2ubuntu2 [113 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu/ natty/main libcairo-script-interpreter2 amd64 1.10.2-2ubuntu2 [155 kB]
Get:29 http://us.archive.ubuntu.com/ubuntu/ natty/main libexpat1-dev amd64 2.0.1-7ubuntu3 [217 kB]
Get:30 http://us.archive.ubuntu.com/ubuntu/ natty/main libfontconfig1-dev amd64 2.8.0-2.1ubuntu3 [659 kB]
Get:31 http://us.archive.ubuntu.com/ubuntu/ natty/main x11proto-render-dev all 2:0.11.1-1 [18.5 kB]
Get:32 http://us.archive.ubuntu.com/ubuntu/ natty/main libxrender-dev amd64 1:0.9.6-1ubuntu1 [29.9 kB]
Get:33 http://us.archive.ubuntu.com/ubuntu/ natty/main libpng12-dev amd64 1.2.44-1ubuntu3 [220 kB]
Get:34 http://us.archive.ubuntu.com/ubuntu/ natty/main libpixman-1-dev amd64 0.20.2-0ubuntu1 [216 kB]
Get:35 http://us.archive.ubuntu.com/ubuntu/ natty/main libxcb-render0-dev amd64 1.7-2ubuntu2 [20.8 kB]
Get:36 http://us.archive.ubuntu.com/ubuntu/ natty/main libxcb-shm0-dev amd64 1.7-2ubuntu2 [8,264 B]
Get:37 http://us.archive.ubuntu.com/ubuntu/ natty/main libcairo2-dev amd64 1.10.2-2ubuntu2 [8,904 kB]
Get:38 http://us.archive.ubuntu.com/ubuntu/ natty/main libgpg-error-dev amd64 1.10-0.2ubuntu1 [20.4 kB]
Get:39 http://us.archive.ubuntu.com/ubuntu/ natty/main libgcrypt11-dev amd64 1.4.6-4ubuntu2 [350 kB]
Get:40 http://us.archive.ubuntu.com/ubuntu/ natty/main libtasn1-3-dev amd64 2.7-1ubuntu1 [359 kB]
Get:41 http://us.archive.ubuntu.com/ubuntu/ natty/main libgnutls-dev amd64 2.8.6-1ubuntu2 [450 kB]
Get:42 http://us.archive.ubuntu.com/ubuntu/ natty/main libidn11-dev amd64 1.18-1build1 [687 kB]
Get:43 http://us.archive.ubuntu.com/ubuntu/ natty/main libldap2-dev amd64 2.4.23-6ubuntu6 [1,083 kB]
Get:44 http://us.archive.ubuntu.com/ubuntu/ natty/main libcurl4-gnutls-dev amd64 7.21.3-1ubuntu1 [1,059 kB]
Get:45 http://us.archive.ubuntu.com/ubuntu/ natty/main libgdk-pixbuf2.0-dev amd64 2.23.3-0ubuntu1 [48.2 kB]
Get:46 http://us.archive.ubuntu.com/ubuntu/ natty/main libxft-dev amd64 2.2.0-2ubuntu2 [57.1 kB]
Get:47 http://us.archive.ubuntu.com/ubuntu/ natty/main libpango1.0-dev amd64 1.28.4-0ubuntu1 [493 kB]
Get:48 http://us.archive.ubuntu.com/ubuntu/ natty/main x11proto-xext-dev all 7.1.99.0

git20110111.9df8b776-0ubuntu2 [254 kB]
Get:49 http://us.archive.ubuntu.com/ubuntu/ natty/main libxext-dev amd64 2:1.2.0-2ubuntu1 [139 kB]
Get:50 http://us.archive.ubuntu.com/ubuntu/ natty/main x11proto-xinerama-dev all 1.2.1-1 [4,870 B]
Get:51 http://us.archive.ubuntu.com/ubuntu/ natty/main libxinerama-dev amd64 2:1.1.1-1ubuntu1 [10.4 kB]
Get:52 http://us.archive.ubuntu.com/ubuntu/ natty/main xorg-sgml-doctools all 1:1.6-1 [5,400 B]
Get:53 http://us.archive.ubuntu.com/ubuntu/ natty/main libxi-dev amd64 2:1.4.1-1ubuntu2 [219 kB]
Get:54 http://us.archive.ubuntu.com/ubuntu/ natty/main x11proto-randr-dev all 1.4.0+git20101207.0d32bb07-0ubuntu1 [32.0 kB]
Get:55 http://us.archive.ubuntu.com/ubuntu/ natty/main libxrandr-dev amd64 2:1.3.1-1ubuntu1 [26.9 kB]
Get:56 http://us.archive.ubuntu.com/ubuntu/ natty/main x11proto-fixes-dev all 1:4.1.2-1 [11.3 kB]
Get:57 http://us.archive.ubuntu.com/ubuntu/ natty/main libxfixes-dev amd64 1:4.0.5-1ubuntu1 [14.5 kB]
Get:58 http://us.archive.ubuntu.com/ubuntu/ natty/main libxcursor-dev amd64 1:1.1.11-1ubuntu1 [31.4 kB]
Get:59 http://us.archive.ubuntu.com/ubuntu/ natty/main x11proto-composite-dev all 1:0.4.2-1 [8,866 B]
Get:60 http://us.archive.ubuntu.com/ubuntu/ natty/main libxcomposite-dev amd64 1:0.4.3-1ubuntu1 [11.3 kB]
Get:61 http://us.archive.ubuntu.com/ubuntu/ natty/main x11proto-damage-dev all 1:1.2.1-1 [6,586 B]
Get:62 http://us.archive.ubuntu.com/ubuntu/ natty/main libxdamage-dev amd64 1:1.1.3-1ubuntu1 [7,402 B]
Get:63 http://us.archive.ubuntu.com/ubuntu/ natty/main libgtk2.0-dev amd64 2.24.4-0ubuntu2 [3,855 kB]
Get:64 http://us.archive.ubuntu.com/ubuntu/ natty/main libsys-hostname-long-perl all 1.4-2 [11.4 kB]
Get:65 http://us.archive.ubuntu.com/ubuntu/ natty/main libmail-sendmail-perl all 0.79.16-1 [26.5 kB]
Get:66 http://us.archive.ubuntu.com/ubuntu/ natty/main quilt all 0.48-7 [319 kB]
Fetched 30.5 MB in 29s (1,030 kB/s)
Extracting templates from packages: 100%
Selecting previously deselected package libc6-dev-i386.
(Reading database . 242012 files and directories currently installed.)
Unpacking libc6-dev-i386 (from . /libc6-dev-i386_2.13-0ubuntu13_amd64.deb) .
Selecting previously deselected package lib32gomp1.
Unpacking lib32gomp1 (from . /lib32gomp1_4.5.2-8ubuntu4_amd64.deb) .
Selecting previously deselected package gcc-4.5-multilib.
Unpacking gcc-4.5-multilib (from . /gcc-4.5-multilib_4.5.2-8ubuntu4_amd64.deb) .
Selecting previously deselected package gcc-multilib.
Unpacking gcc-multilib (from . /gcc-multilib_4%3a4.5.2-1ubuntu3_amd64.deb) .
Selecting previously deselected package autotools-dev.
Unpacking autotools-dev (from . /autotools-dev_20100122.1_all.deb) .
Selecting previously deselected package libdpkg-perl.
Unpacking libdpkg-perl (from . /libdpkg-perl_1.16.0

ubuntu7_all.deb) .
Selecting previously deselected package patch.
Unpacking patch (from . /archives/patch_2.6-3_amd64.deb) .
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from . /dpkg-dev_1.16.0

ubuntu7_all.deb) .
Selecting previously deselected package build-essential.
Unpacking build-essential (from . /build-essential_11.5ubuntu1_amd64.deb) .
Selecting previously deselected package html2text.
Unpacking html2text (from . /html2text_1.3.2a-15_amd64.deb) .
Selecting previously deselected package libunistring0.
Unpacking libunistring0 (from . /libunistring0_0.9.3-3_amd64.deb) .
Selecting previously deselected package gettext.
Unpacking gettext (from . /gettext_0.18.1.1-3ubuntu1_amd64.deb) .
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from . /intltool-debian_0.35.0+20060710.1_all.deb) .
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from . /po-debconf_1.0.16+nmu1_all.deb) .
Selecting previously deselected package debhelper.
Unpacking debhelper (from . /debhelper_8.1.2ubuntu4_all.deb) .
Selecting previously deselected package diffstat.
Unpacking diffstat (from . /diffstat_1.54-1_amd64.deb) .
Selecting previously deselected package fakeroot.
Unpacking fakeroot (from . /fakeroot_1.14.4-1ubuntu1_amd64.deb) .
Selecting previously deselected package g++-4.5-multilib.
Unpacking g++-4.5-multilib (from . /g++-4.5-multilib_4.5.2-8ubuntu4_amd64.deb) .
Selecting previously deselected package g++-multilib.
Unpacking g++-multilib (from . /g++-multilib_4%3a4.5.2-1ubuntu3_amd64.deb) .
Selecting previously deselected package libalgorithm-diff-perl.
Unpacking libalgorithm-diff-perl (from . /libalgorithm-diff-perl_1.19.02-2_all.deb) .
Selecting previously deselected package libalgorithm-diff-xs-perl.
Unpacking libalgorithm-diff-xs-perl (from . /libalgorithm-diff-xs-perl_0.04-1_amd64.deb) .
Selecting previously deselected package libalgorithm-merge-perl.
Unpacking libalgorithm-merge-perl (from . /libalgorithm-merge-perl_0.08-2_all.deb) .
Selecting previously deselected package pkg-config.
Unpacking pkg-config (from . /pkg-config_0.25-1.1ubuntu1_amd64.deb) .
Selecting previously deselected package libglib2.0-bin.
Unpacking libglib2.0-bin (from . /libglib2.0-bin_2.28.6-0ubuntu1_amd64.deb) .
Selecting previously deselected package libglib2.0-dev.
Unpacking libglib2.0-dev (from . /libglib2.0-dev_2.28.6-0ubuntu1_amd64.deb) .
Selecting previously deselected package libatk1.0-dev.
Unpacking libatk1.0-dev (from . /libatk1.0-dev_2.0.0-0ubuntu1_amd64.deb) .
Selecting previously deselected package libcairo-gobject2.
Unpacking libcairo-gobject2 (from . /libcairo-gobject2_1.10.2-2ubuntu2_amd64.deb) .
Selecting previously deselected package libcairo-script-interpreter2.
Unpacking libcairo-script-interpreter2 (from . /libcairo-script-interpreter2_1.10.2-2ubuntu2_amd64.deb) .
Selecting previously deselected package libexpat1-dev.
Unpacking libexpat1-dev (from . /libexpat1-dev_2.0.1-7ubuntu3_amd64.deb) .
Selecting previously deselected package libfontconfig1-dev.
Unpacking libfontconfig1-dev (from . /libfontconfig1-dev_2.8.0-2.1ubuntu3_amd64.deb) .
Selecting previously deselected package x11proto-render-dev.
Unpacking x11proto-render-dev (from . /x11proto-render-dev_2%3a0.11.1-1_all.deb) .
Selecting previously deselected package libxrender-dev.
Unpacking libxrender-dev (from . /libxrender-dev_1%3a0.9.6-1ubuntu1_amd64.deb) .
Selecting previously deselected package libpng12-dev.
Unpacking libpng12-dev (from . /libpng12-dev_1.2.44-1ubuntu3_amd64.deb) .
Selecting previously deselected package libpixman-1-dev.
Unpacking libpixman-1-dev (from . /libpixman-1-dev_0.20.2-0ubuntu1_amd64.deb) .
Selecting previously deselected package libxcb-render0-dev.
Unpacking libxcb-render0-dev (from . /libxcb-render0-dev_1.7-2ubuntu2_amd64.deb) .
Selecting previously deselected package libxcb-shm0-dev.
Unpacking libxcb-shm0-dev (from . /libxcb-shm0-dev_1.7-2ubuntu2_amd64.deb) .
Selecting previously deselected package libcairo2-dev.
Unpacking libcairo2-dev (from . /libcairo2-dev_1.10.2-2ubuntu2_amd64.deb) .
Selecting previously deselected package libgpg-error-dev.
Unpacking libgpg-error-dev (from . /libgpg-error-dev_1.10-0.2ubuntu1_amd64.deb) .
Selecting previously deselected package libgcrypt11-dev.
Unpacking libgcrypt11-dev (from . /libgcrypt11-dev_1.4.6-4ubuntu2_amd64.deb) .
Selecting previously deselected package libtasn1-3-dev.
Unpacking libtasn1-3-dev (from . /libtasn1-3-dev_2.7-1ubuntu1_amd64.deb) .
Selecting previously deselected package libgnutls-dev.
Unpacking libgnutls-dev (from . /libgnutls-dev_2.8.6-1ubuntu2_amd64.deb) .
Selecting previously deselected package libidn11-dev.
Unpacking libidn11-dev (from . /libidn11-dev_1.18-1build1_amd64.deb) .
Selecting previously deselected package libldap2-dev.
Unpacking libldap2-dev (from . /libldap2-dev_2.4.23-6ubuntu6_amd64.deb) .
Selecting previously deselected package libcurl4-gnutls-dev.
Unpacking libcurl4-gnutls-dev (from . /libcurl4-gnutls-dev_7.21.3-1ubuntu1_amd64.deb) .
Selecting previously deselected package libgdk-pixbuf2.0-dev.
Unpacking libgdk-pixbuf2.0-dev (from . /libgdk-pixbuf2.0-dev_2.23.3-0ubuntu1_amd64.deb) .
Selecting previously deselected package libxft-dev.
Unpacking libxft-dev (from . /libxft-dev_2.2.0-2ubuntu2_amd64.deb) .
Selecting previously deselected package libpango1.0-dev.
Unpacking libpango1.0-dev (from . /libpango1.0-dev_1.28.4-0ubuntu1_amd64.deb) .
Selecting previously deselected package x11proto-xext-dev.
Unpacking x11proto-xext-dev (from . /x11proto-xext-dev_7.1.99.0

git20110111.9df8b776-0ubuntu2_all.deb) .
Selecting previously deselected package libxext-dev.
Unpacking libxext-dev (from . /libxext-dev_2%3a1.2.0-2ubuntu1_amd64.deb) .
Selecting previously deselected package x11proto-xinerama-dev.
Unpacking x11proto-xinerama-dev (from . /x11proto-xinerama-dev_1.2.1-1_all.deb) .
Selecting previously deselected package libxinerama-dev.
Unpacking libxinerama-dev (from . /libxinerama-dev_2%3a1.1.1-1ubuntu1_amd64.deb) .
Selecting previously deselected package xorg-sgml-doctools.
Unpacking xorg-sgml-doctools (from . /xorg-sgml-doctools_1%3a1.6-1_all.deb) .
Selecting previously deselected package libxi-dev.
Unpacking libxi-dev (from . /libxi-dev_2%3a1.4.1-1ubuntu2_amd64.deb) .
Selecting previously deselected package x11proto-randr-dev.
Unpacking x11proto-randr-dev (from . /x11proto-randr-dev_1.4.0+git20101207.0d32bb07-0ubuntu1_all.deb) .
Selecting previously deselected package libxrandr-dev.
Unpacking libxrandr-dev (from . /libxrandr-dev_2%3a1.3.1-1ubuntu1_amd64.deb) .
Selecting previously deselected package x11proto-fixes-dev.
Unpacking x11proto-fixes-dev (from . /x11proto-fixes-dev_1%3a4.1.2-1_all.deb) .
Selecting previously deselected package libxfixes-dev.
Unpacking libxfixes-dev (from . /libxfixes-dev_1%3a4.0.5-1ubuntu1_amd64.deb) .
Selecting previously deselected package libxcursor-dev.
Unpacking libxcursor-dev (from . /libxcursor-dev_1%3a1.1.11-1ubuntu1_amd64.deb) .
Selecting previously deselected package x11proto-composite-dev.
Unpacking x11proto-composite-dev (from . /x11proto-composite-dev_1%3a0.4.2-1_all.deb) .
Selecting previously deselected package libxcomposite-dev.
Unpacking libxcomposite-dev (from . /libxcomposite-dev_1%3a0.4.3-1ubuntu1_amd64.deb) .
Selecting previously deselected package x11proto-damage-dev.
Unpacking x11proto-damage-dev (from . /x11proto-damage-dev_1%3a1.2.1-1_all.deb) .
Selecting previously deselected package libxdamage-dev.
Unpacking libxdamage-dev (from . /libxdamage-dev_1%3a1.1.3-1ubuntu1_amd64.deb) .
Selecting previously deselected package libgtk2.0-dev.
Unpacking libgtk2.0-dev (from . /libgtk2.0-dev_2.24.4-0ubuntu2_amd64.deb) .
Selecting previously deselected package libsys-hostname-long-perl.
Unpacking libsys-hostname-long-perl (from . /libsys-hostname-long-perl_1.4-2_all.deb) .
Selecting previously deselected package libmail-sendmail-perl.
Unpacking libmail-sendmail-perl (from . /libmail-sendmail-perl_0.79.16-1_all.deb) .
Selecting previously deselected package quilt.
Unpacking quilt (from . /archives/quilt_0.48-7_all.deb) .
Processing triggers for man-db .
Processing triggers for install-info .
Processing triggers for libglib2.0-0 .
Setting up nspluginwrapper (1.2.2-0ubuntu9) .
plugin dirs: :/var/lib/flashplugin-installer/
Auto-update plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
Auto-update plugins from /usr/lib64/mozilla/plugins
Looking for plugins in /usr/lib64/mozilla/plugins
*** glibc detected *** nspluginwrapper: double free or corruption (out): 0x0000000001ac6f20 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x78a8f)[0x7ff85e930a8f]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x73)[0x7ff85e9348e3]
/lib/x86_64-linux-gnu/libdl.so.2(+0x1565)[0x7ff85ec4d565]
/lib/x86_64-linux-gnu/libdl.so.2(dlsym+0x4a)[0x7ff85ec4d09a]
nspluginwrapper[0x4017e1]
nspluginwrapper[0x401902]
nspluginwrapper[0x401661]
nspluginwrapper[0x402f12]
nspluginwrapper[0x403b6f]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7ff85e8d6eff]
nspluginwrapper[0x401259]
======= Memory map: ========
00400000-00406000 r-xp 00000000 08:05 533189 /usr/lib/nspluginwrapper/x86_64/linux/npconfig
00605000-00606000 r—p 00005000 08:05 533189 /usr/lib/nspluginwrapper/x86_64/linux/npconfig
00606000-00607000 rw-p 00006000 08:05 533189 /usr/lib/nspluginwrapper/x86_64/linux/npconfig
00607000-00608000 rw-p 00000000 00:00 0
01a8a000-01acc000 rw-p 00000000 00:00 0 [heap]
7ff850000000-7ff850021000 rw-p 00000000 00:00 0
7ff850021000-7ff854000000 —p 00000000 00:00 0
7ff855a79000-7ff855ad6000 r-xp 00000000 08:05 660254 /opt/google/talkplugin/libnpgoogletalk64.so
7ff855ad6000-7ff855cd5000 —p 0005d000 08:05 660254 /opt/google/talkplugin/libnpgoogletalk64.so
7ff855cd5000-7ff855cd9000 rw-p 0005c000 08:05 660254 /opt/google/talkplugin/libnpgoogletalk64.so
7ff855cd9000-7ff855cf5000 r-xp 00000000 08:05 391196 /lib/x86_64-linux-gnu/libselinux.so.1
7ff855cf5000-7ff855ef4000 —p 0001c000 08:05 391196 /lib/x86_64-linux-gnu/libselinux.so.1
7ff855ef4000-7ff855ef5000 r—p 0001b000 08:05 391196 /lib/x86_64-linux-gnu/libselinux.so.1
7ff855ef5000-7ff855ef6000 rw-p 0001c000 08:05 391196 /lib/x86_64-linux-gnu/libselinux.so.1
7ff855ef6000-7ff855ef7000 rw-p 00000000 00:00 0
7ff855ef7000-7ff855f0e000 r-xp 00000000 08:05 414707 /lib/x86_64-linux-gnu/libresolv-2.13.so
7ff855f0e000-7ff85610e000 —p 00017000 08:05 414707 /lib/x86_64-linux-gnu/libresolv-2.13.so
7ff85610e000-7ff85610f000 r—p 00017000 08:05 414707 /lib/x86_64-linux-gnu/libresolv-2.13.so
7ff85610f000-7ff856110000 rw-p 00018000 08:05 414707 /lib/x86_64-linux-gnu/libresolv-2.13.so
7ff856110000-7ff856112000 rw-p 00000000 00:00 0
7ff856112000-7ff856117000 r-xp 00000000 08:05 698597 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7ff856117000-7ff856316000 —p 00005000 08:05 698597 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7ff856316000-7ff856317000 r—p 00004000 08:05 698597 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7ff856317000-7ff856318000 rw-p 00005000 08:05 698597 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7ff856318000-7ff85631a000 r-xp 00000000 08:05 679713 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7ff85631a000-7ff856519000 —p 00002000 08:05 679713 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7ff856519000-7ff85651a000 r—p 00001000 08:05 679713 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7ff85651a000-7ff85651b000 rw-p 00002000 08:05 679713 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7ff85651b000-7ff85651f000 r-xp 00000000 08:05 391593 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7ff85651f000-7ff85671e000 —p 00004000 08:05 391593 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7ff85671e000-7ff85671f000 r—p 00003000 08:05 391593 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7ff85671f000-7ff856720000 rw-p 00004000 08:05 391593 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7ff856720000-7ff856747000 r-xp 00000000 08:05 414793 /lib/x86_64-linux-gnu/libexpat.so.1.5.2
7ff856747000-7ff856947000 —p 00027000 08:05 414793 /lib/x86_64-linux-gnu/libexpat.so.1.5.2
7ff856947000-7ff856949000 r—p 00027000 08:05 414793 /lib/x86_64-linux-gnu/libexpat.so.1.5.2
7ff856949000-7ff85694a000 rw-p 00029000 08:05 414793 /lib/x86_64-linux-gnu/libexpat.so.1.5.2
7ff85694a000-7ff856953000 r-xp 00000000 08:05 660382 /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7ff856953000-7ff856b52000 —p 00009000 08:05 660382 /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7ff856b52000-7ff856b53000 r—p 00008000 08:05 660382 /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7ff856b53000-7ff856b54000 rw-p 00009000 08:05 660382 /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7ff856b54000-7ff856b5c000 r-xp 00000000 08:05 660124 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7ff856b5c000-7ff856d5b000 —p 00008000 08:05 660124 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7ff856d5b000-7ff856d5c000 r—p 00007000 08:05 660124 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7ff856d5c000-7ff856d5d000 rw-p 00008000 08:05 660124 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7ff856d5d000-7ff856d6c000 r-xp 00000000 08:05 660019 /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7ff856d6c000-7ff856f6b000 —p 0000f000 08:05 660019 /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7ff856f6b000-7ff856f6c000 r—p 0000e000 08:05 660019 /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7ff856f6c000-7ff856f6d000 rw-p 0000f000 08:05 660019 /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7ff856f6d000-7ff856f6f000 r-xp 00000000 08:05 662305 /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7ff856f6f000-7ff85716e000 —p 00002000 08:05 662305 /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7ff85716e000-7ff85716f000 r—p 00001000 08:05 662305 /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7ff85716f000-7ff857170000 rw-p 00002000 08:05 662305 /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7ff857170000-7ff857174000 r-xp 00000000 08:05 698391 /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0.2800.6
7ff857174000-7ff857373000 —p 00004000 08:05 698391 /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0.2800.6
7ff857373000-7ff857374000 r—p 00003000 08:05 698391 /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0.2800.6
7ff857374000-7ff857375000 rw-p 00004000 08:05 698391 /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0.2800.6
7ff8Aborted
dpkg: error processing nspluginwrapper (—configure):
subprocess installed post-installation script returned error exit status 134
dpkg: dependency problems prevent configuration of flashplugin-installer:
flashplugin-installer depends on nspluginwrapper (>= 0.9.91.4-2ubuntu1); however:
Package nspluginwrapper is not configured yet.
dpkg: error processing flashplugin-installer (—configure):
dependency problems — leaving unconfigured
Setting up libc6-dev-i386 (2.13-0ubuntu13) .
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up lib32gomp1 (4.5.2-8ubuntu4) .
Setting up gcc-4.5-multilib (4.5.2-8ubuntu4) .
Setting up gcc-multilib (4:4.5.2-1ubuntu3) .
Setting up autotools-dev (20100122.1) .
Setting up libdpkg-perl (1.16.0

ubuntu7) .
Setting up patch (2.6-3) .
Setting up dpkg-dev (1.16.0

ubuntu7) .
Setting up build-essential (11.5ubuntu1) .
Setting up html2text (1.3.2a-15) .
Setting up libunistring0 (0.9.3-3) .
Setting up gettext (0.18.1.1-3ubuntu1) .
Setting up intltool-debian (0.35.0+20060710.1) .
Setting up po-debconf (1.0.16+nmu1) .
Setting up debhelper (8.1.2ubuntu4) .
Setting up diffstat (1.54-1) .
Setting up fakeroot (1.14.4-1ubuntu1) .
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up g++-4.5-multilib (4.5.2-8ubuntu4) .
Setting up g++-multilib (4:4.5.2-1ubuntu3) .
Setting up libalgorithm-diff-perl (1.19.02-2) .
Setting up libalgorithm-diff-xs-perl (0.04-1) .
Setting up libalgorithm-merge-perl (0.08-2) .
Setting up pkg-config (0.25-1.1ubuntu1) .
Setting up libglib2.0-bin (2.28.6-0ubuntu1) .
Setting up libglib2.0-dev (2.28.6-0ubuntu1) .
Setting up libatk1.0-dev (2.0.0-0ubuntu1) .
Setting up libcairo-gobject2 (1.10.2-2ubuntu2) .
Setting up libcairo-script-interpreter2 (1.10.2-2ubuntu2) .
Setting up libexpat1-dev (2.0.1-7ubuntu3) .
Setting up libfontconfig1-dev (2.8.0-2.1ubuntu3) .
Setting up x11proto-render-dev (2:0.11.1-1) .
Setting up libxrender-dev (1:0.9.6-1ubuntu1) .
Setting up libpng12-dev (1.2.44-1ubuntu3) .
Setting up libpixman-1-dev (0.20.2-0ubuntu1) .
Setting up libxcb-render0-dev (1.7-2ubuntu2) .
Setting up libxcb-shm0-dev (1.7-2ubuntu2) .
Setting up libcairo2-dev (1.10.2-2ubuntu2) .
Setting up libgpg-error-dev (1.10-0.2ubuntu1) .
Setting up libgcrypt11-dev (1.4.6-4ubuntu2) .
Setting up libtasn1-3-dev (2.7-1ubuntu1) .
Setting up libgnutls-dev (2.8.6-1ubuntu2) .
Setting up libidn11-dev (1.18-1build1) .
Setting up libldap2-dev (2.4.23-6ubuntu6) .
Setting up libcurl4-gnutls-dev (7.21.3-1ubuntu1) .
Setting up libgdk-pixbuf2.0-dev (2.23.3-0ubuntu1) .
Setting up libxft-dev (2.2.0-2ubuntu2) .
Setting up libpango1.0-dev (1.28.4-0ubuntu1) .
Setting up x11proto-xext-dev (7.1.99.0

git20110111.9df8b776-0ubuntu2) .
Setting up libxext-dev (2:1.2.0-2ubuntu1) .
Setting up x11proto-xinerama-dev (1.2.1-1) .
Setting up libxinerama-dev (2:1.1.1-1ubuntu1) .
Setting up xorg-sgml-doctools (1:1.6-1) .
Setting up libxi-dev (2:1.4.1-1ubuntu2) .
Setting up x11proto-randr-dev (1.4.0+git20101207.0d32bb07-0ubuntu1) .
Setting up libxrandr-dev (2:1.3.1-1ubuntu1) .
Setting up x11proto-fixes-dev (1:4.1.2-1) .
Setting up libxfixes-dev (1:4.0.5-1ubuntu1) .
Setting up libxcursor-dev (1:1.1.11-1ubuntu1) .
Setting up x11proto-composite-dev (1:0.4.2-1) .
Setting up libxcomposite-dev (1:0.4.3-1ubuntu1) .
Setting up x11proto-damage-dev (1:1.2.1-1) .
Setting up libxdamage-dev (1:1.1.3-1ubuntu1) .
Setting up libgtk2.0-dev (2.24.4-0ubuntu2) .
Setting up libsys-hostname-long-perl (1.4-2) .
Setting up libmail-sendmail-perl (0.79.16-1) .
Setting up quilt (0.48-7) .
Processing triggers for libc-bin .
ldconfig deferred processing now taking place
Errors were encountered while processing:
nspluginwrapper
flashplugin-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Failed to process build dependencies

Источник

I have a Netgear ReadyNAS machine which internally runs a modified version of Debian Jessie. I mainly use it as a server and have a few Docker containers which I run on it. I can’t upgrade past Jessie or put a different OS in without bricking the NAS entirely (unless there’s something I missed). I voided my Netgear warranty simply by SSHing in as root, but surely nothing can go poorly, right?

Well… I made the mistake of running apt upgrade a couple weeks ago, and after a power outage I noticed my NAS wasn’t responding to SSH. After Googling around a bit, I managed to reboot it into Netgear’s internal tech support mode so I could telnet in, and I noticed that the machine was stalling when trying to start Netgear’s services:

Dec 24 01:52:38 Nile-Nellie systemd[1]: Starting ReadyNAS System Daemon...
Dec 24 01:52:38 Nile-Nellie readynasd[3647]: /usr/sbin/readynasd: error while loading shared libraries: libcom_err.so.2:
 cannot open shared object file: No such file or directory
Dec 24 01:52:38 Nile-Nellie systemd[1]: readynasd.service: Main process exited, code=exited, status=127/n/a
Dec 24 01:52:38 Nile-Nellie systemd[1]: Failed to start ReadyNAS System Daemon.
Dec 24 01:52:38 Nile-Nellie systemd[1]: readynasd.service: Unit entered failed state.
Dec 24 01:52:38 Nile-Nellie systemd[1]: readynasd.service: Failed with result 'exit-code'.

Hmm — sure, this is all some proprietary stuff, but I feel like not being able to access libcom_err.so.2 is bad. So I went to reinstall the package, and I noticed that trying to run apt gave me this:

# apt install libcomerr2
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libcom-err2 : Breaks: libcomerr2 (< 1.43.9-1~)
 libpython2.7-stdlib : Depends: libpython2.7-minimal (= 2.7.9-2+deb8u5) but it is not going to be installed
 libvorbisenc2 : Depends: libvorbis0a (= 1.3.4-2+deb8u3) but 1.3.4-2+deb8u1 is to be installed
 mysql-community-client : Depends: libaio1 (>= 0.3.93) but it is not going to be installed
 mysql-community-server : Depends: libaio1 (>= 0.3.93) but it is not going to be installed
 python : Depends: python2.7 (>= 2.7.9-1~) but it is not going to be installed
 python-mako : Depends: python2.7:any
 python-minimal : Depends: python2.7-minimal (>= 2.7.9-1~) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Okay, easy enough — run apt-get -f install:

# apt -f install
Reading package lists... Done
Building dependency tree
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libaio1 libpython2.7-minimal libvorbis0a libvorbisfile3 python2.7 python2.7-minimal
Suggested packages:
  python2.7-doc binfmt-support
The following NEW packages will be installed:
  libaio1 libpython2.7-minimal python2.7 python2.7-minimal
The following packages will be upgraded:
  libvorbis0a libvorbisfile3
2 upgraded, 4 newly installed, 0 to remove and 44 not upgraded.
1 not fully installed or removed.
Need to get 0 B/2162 kB of archives.
After this operation, 7130 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: delaying package configuration, since apt-utils is not installed
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
Setting up libc-bin (2.19-18+deb8u10.netgear1) ...
Processing triggers for libc-bin (2.19-18+deb8u10.netgear1) ...
dpkg: cycle found while processing triggers:
 chain of packages whose triggers are or may be responsible:
  libc-bin -> libc-bin
 packages' pending triggers which are or may be unresolvable:
  libc-bin: ldconfig
dpkg: error processing package libc-bin (--configure):
 triggers looping, abandoned
Errors were encountered while processing:
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

…It’s trying to set up libc-bin? Interesting. Running dpkg --audit gave me this:

# dpkg --audit
The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 libc-bin             GNU C Library: Binaries

Followed by a message telling me that every package in my system is missing a md5sums control file in the database and they all need to be reinstalled. Well, at least it tells me what command to run:

# dpkg --configure libc-bin
Setting up libc-bin (2.19-18+deb8u10.netgear1) ...
Processing triggers for libc-bin (2.19-18+deb8u10.netgear1) ...
dpkg: cycle found while processing triggers:
 chain of packages whose triggers are or may be responsible:
  libc-bin -> libc-bin
 packages' pending triggers which are or may be unresolvable:
  libc-bin: ldconfig
dpkg: error processing package libc-bin (--configure):
 triggers looping, abandoned
Errors were encountered while processing:
 libc-bin

…Huh. So I can’t set up libc-bin, because it depends on libc-bin. Now I have a problem, and now I’m stuck. Any help?

My question is similar to this question, but in his problem the system kept wanting to uninstall libc-bin — in my case, it doesn’t want to configure libc-bin for some reason, and I think that’s blocking me from fixing the other packages.

I can run a factory reset on the NAS which will just put the Netgear OS back — but if I can fix this problem in-place I’d prefer that approach.


Some more device info:

# cat /etc/apt/sources.list
deb https://apt.readynas.com/packages/readynasos 6.10.4 updates apps main

deb http://mirrors.kernel.org/debian jessie main
deb http://security.debian.org/ jessie/updates main
# apt install libc-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc-bin is already the newest version (2.19-18+deb8u10.netgear1).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libpython2.7-stdlib : Depends: libpython2.7-minimal (= 2.7.9-2+deb8u5) but it is not going to be installed
 libvorbisenc2 : Depends: libvorbis0a (= 1.3.4-2+deb8u3) but 1.3.4-2+deb8u1 is to be installed
 mysql-community-client : Depends: libaio1 (>= 0.3.93) but it is not going to be installed
 mysql-community-server : Depends: libaio1 (>= 0.3.93) but it is not going to be installed
 python : Depends: python2.7 (>= 2.7.9-1~) but it is not going to be installed
 python-mako : Depends: python2.7:any
 python-minimal : Depends: python2.7-minimal (>= 2.7.9-1~) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
# apt download libc-bin
/usr/lib/apt/methods/https: error while loading shared libraries: libcom_err.so.2: cannot open shared object file: No such file or directory
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (127)
E: Method /usr/lib/apt/methods/https did not start correctly
#  cat /etc/apt/sources.list.d/*
deb https://download.docker.com/linux/debian jessie stable
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out entries below, but any other modifications may be lost.
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
deb http://repo.mysql.com/apt/debian/ jessie mysql-apt-config
deb http://repo.mysql.com/apt/debian/ jessie mysql-5.6
deb http://repo.mysql.com/apt/debian/ jessie mysql-tools
#deb http://repo.mysql.com/apt/debian/ jessie mysql-tools-preview
deb-src http://repo.mysql.com/apt/debian/ jessie mysql-5.6
# apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 990 http://repo.mysql.com/apt/debian jessie/mysql-tools amd64 Packages
     release o=MySQL,n=jessie,l=MySQL,c=mysql-tools,b=amd64
     origin repo.mysql.com
 990 http://repo.mysql.com/apt/debian jessie/mysql-5.6 amd64 Packages
     release o=MySQL,n=jessie,l=MySQL,c=mysql-5.6,b=amd64
     origin repo.mysql.com
 990 http://repo.mysql.com/apt/debian jessie/mysql-apt-config amd64 Packages
     release o=MySQL,n=jessie,l=MySQL,c=mysql-apt-config,b=amd64
     origin repo.mysql.com
 990 https://download.docker.com/linux/debian jessie/stable amd64 Packages
     release o=Docker,a=jessie,l=Docker CE,c=stable,b=amd64
     origin download.docker.com
 990 http://security.debian.org jessie/updates/main amd64 Packages
     release v=8,o=Debian,a=oldoldstable,n=jessie,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 990 http://mirrors.kernel.org/debian jessie/main amd64 Packages
     release v=8.11,o=Debian,a=oldoldstable,n=jessie,l=Debian,c=main,b=amd64
     origin mirrors.kernel.org
 900 https://apt.readynas.com/packages/readynasos 6.10.4/main amd64 Packages
     release a=6.10.4,c=main,b=amd64
     origin apt.readynas.com
 900 https://apt.readynas.com/packages/readynasos 6.10.4/apps amd64 Packages
     release a=6.10.4,c=apps,b=amd64
     origin apt.readynas.com
 900 https://apt.readynas.com/packages/readynasos 6.10.4/updates amd64 Packages
     release a=6.10.4,c=updates,b=amd64
     origin apt.readynas.com
Pinned packages:
 dpkg --list libc6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                     Version           Architecture      Description
+++-========================-=================-=================-=====================================================
ii  libc6:amd64              2.19-18+deb8u10.n amd64             GNU C Library: Shared libraries
# find /lib -name libc-*
/lib/x86_64-linux-gnu/libc-2.19.so

My system runs inside WSL, I upgrade it at least every few days.
I stuck with one package installation, and looking for a way to solve this:

$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libbind9-161 libdns-export1107 libdns1107 libdns1109 libirs161 libisc-export1104 libisc1104 libisc1105 libisccc161
  libisccfg163 liblwres161 liboauth0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libc-bin
The following packages will be upgraded:
  libc-bin
1 upgraded, 0 newly installed, 0 to remove and 882 not upgraded.
6 not fully installed or removed.
Need to get 0 B/633 kB of archives.
After this operation, 8,192 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up libc6:amd64 (2.31-0ubuntu6) ...
Checking for services that may need to be restarted...
Checking init scripts...
Nothing to restart.
sleep: cannot read realtime clock: Invalid argument
dpkg: error processing package libc6:amd64 (--configure):
 installed libc6:amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 libc6:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

What can I try next?

asked Mar 31, 2020 at 6:06

Adam Mierzwiak's user avatar

Adam MierzwiakAdam Mierzwiak

3502 gold badges6 silver badges18 bronze badges

I ran into the same problem, and this procedure from this bug report fixed it:

Edit /var/lib/dpkg/info/libc6:amd64.postinst

and comment out the line

# set -e

so $ apt-get -f install can continue.

answered May 9, 2020 at 13:08

Martijn's user avatar

MartijnMartijn

13k3 gold badges49 silver badges58 bronze badges

11

You can use this sequence of commands (up to 3) to force a re-download of the partial files of the offending packages. Remaining steps are done to merge the new files with the old one, to avoid warnings and issues on non-offending packages that do not get downloaded in this attempt.

  1. sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_old
  2. sudo mkdir /var/lib/dpkg/info
  3. sudo apt-get update && sudo apt-get -f install
  4. sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_old
  5. sudo rm -rf /var/lib/dpkg/info 
  6. sudo mv /var/lib/dpkg/info_old /var/lib/dpkg/info

Alessandro Lai's user avatar

answered Apr 20, 2020 at 15:12

OdTu 's user avatar

OdTu OdTu

1193 bronze badges

6

I ran into the same problem when upgrading Kali Linux inside WSL. I used these sequence of commands to fix the issue

  1. cd /tmp
  2. apt -y download libcrypt1
  3. dpkg-deb -x libcrypt1_1%3a4.4.27-1.1_amd64.deb .
  4. cp -av lib/x86_64-linux-gnu/* /lib/x86_64-linux-gnu/
  5. apt -y —fix-broken install

answered Jun 11, 2022 at 7:47

Cjay's user avatar

CjayCjay

215 bronze badges

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Dpkg error path is not set
  • Dpkg error failed to write status database record about
  • Dpkg error dpkg status database is locked by another process
  • Dpkg error dpkg frontend lock is locked by another process
  • Dpkg error dpkg frontend is locked by another process hive os

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии