Question

Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called' failed!

After running apt-get install mailutils

The installation failed with the following message

The following extra packages will be installed: guile-1.8-libs libgsasl7 libmailutils2 libntlm0 Suggested packages: mailutils-mh The following NEW packages will be installed: guile-1.8-libs libgsasl7 libmailutils2 libntlm0 mailutils 0 upgraded, 5 newly installed, 0 to remove and 137 not upgraded. Need to get 2,178 kB of archives. After this operation, 7,748 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://mirrors.digitalocean.com/ubuntu/ precise/main guile-1.8-libs amd64 1.8.8+1-6ubuntu2 [747 kB] Get:2 http://mirrors.digitalocean.com/ubuntu/ precise/universe libntlm0 amd64 1.2-1 [20.3 kB] Get:3 http://mirrors.digitalocean.com/ubuntu/ precise/universe libgsasl7 amd64 1.6.1-1 [131 kB] Get:4 http://mirrors.digitalocean.com/ubuntu/ precise/universe libmailutils2 amd64 1:2.2+dfsg1-5 [870 kB] Get:5 http://mirrors.digitalocean.com/ubuntu/ precise/universe mailutils amd64 1:2.2+dfsg1-5 [410 kB] Fetched 2,178 kB in 1s (1,387 kB/s) Selecting previously unselected package guile-1.8-libs. (Reading database … 154103 files and directories currently installed.) Unpacking guile-1.8-libs (from …/guile-1.8-libs_1.8.8+1-6ubuntu2_amd64.deb) … Selecting previously unselected package libntlm0. Unpacking libntlm0 (from …/libntlm0_1.2-1_amd64.deb) … Selecting previously unselected package libgsasl7. Unpacking libgsasl7 (from …/libgsasl7_1.6.1-1_amd64.deb) … Selecting previously unselected package libmailutils2. Unpacking libmailutils2 (from …/libmailutils2_1%3a2.2+dfsg1-5_amd64.deb) … Selecting previously unselected package mailutils. Unpacking mailutils (from …/mailutils_1%3a2.2+dfsg1-5_amd64.deb) … Processing triggers for man-db … Setting up guile-1.8-libs (1.8.8+1-6ubuntu2) … Setting up libntlm0 (1.2-1) … Setting up libgsasl7 (1.6.1-1) … Setting up libmailutils2 (1:2.2+dfsg1-5) … Setting up mailutils (1:2.2+dfsg1-5) … update-alternatives: using /usr/bin/frm.mailutils to provide /usr/bin/frm (frm) in auto mode. update-alternatives: using /usr/bin/from.mailutils to provide /usr/bin/from (from) in auto mode. update-alternatives: using /usr/bin/messages.mailutils to provide /usr/bin/messages (messages) in auto mode. update-alternatives: using /usr/bin/movemail.mailutils to provide /usr/bin/movemail (movemail) in auto mode. update-alternatives: using /usr/bin/readmsg.mailutils to provide /usr/bin/readmsg (readmsg) in auto mode. update-alternatives: using /usr/bin/dotlock.mailutils to provide /usr/bin/dotlock (dotlock) in auto mode. update-alternatives: using /usr/bin/mail.mailutils to provide /usr/bin/mailx (mailx) in auto mode. Processing triggers for libc-bin … ldconfig deferred processing now taking place Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called’ failed! E: Problem executing scripts DPkg::Post-Invoke 'if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e /var/lib/update-notifier/updates-available ]; then echo > /var/lib/update-notifier/updates-available; fi ’ E: Sub-process returned an error code

And now if I run ANY command I get the following error: Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called’ failed!

Does anyone know how I can fix this?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This is not an issue I’ve encountered myself before but a similar issue was reported on the LetsEncrypt forums where the recommended course of action is to do a reboot followed by completing an apt-get update; apt-get upgrade