Hi,
I am running:
sudo apt-get update
but it is throwing error Library corruption error during apt-get update.
Full error list:
deepak@deepak-VirtualBox:~$ sudo apt-get update [sudo] password for deepak: Sorry, try again. [sudo] password for deepak: Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease Hit:3 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease Get:5 http://ppa.launchpad.net/linuxuprising/java/ubuntu xenial InRelease [18.0 kB] Fetched 18.0 kB in 10s (1,691 B/s) *** Error in `appstreamcli': double free or corruption (fasttop): 0x0000000002086a90 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7f6e21ddf725] /lib/x86_64-linux-gnu/libc.so.6(+0x7ff4a)[0x7f6e21de7f4a] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f6e21debabc] /usr/lib/x86_64-linux-gnu/libappstream.so.3(as_component_complete+0x439)[0x7f6e22163d19] /usr/lib/x86_64-linux-gnu/libappstream.so.3(as_data_pool_update+0x44a)[0x7f6e22164f0a] /usr/lib/x86_64-linux-gnu/libappstream.so.3(as_cache_builder_refresh+0x1c2)[0x7f6e2215a272] appstreamcli(ascli_refresh_cache+0x12e)[0x4049de] appstreamcli(as_client_run+0x6fb)[0x403ceb] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f6e21d88830] appstreamcli(_start+0x29)[0x403519] ======= Memory map: ======== 00400000-00408000 r-xp 00000000 08:01 23855154 /usr/bin/appstreamcli 00607000-00608000 r--p 00007000 08:01 23855154 /usr/bin/appstreamcli 00608000-00609000 rw-p 00008000 08:01 23855154 /usr/bin/appstreamcli 013cd000-02f28000 rw-p 00000000 00:00 0 [heap] 7f6e18000000-7f6e18021000 rw-p 00000000 00:00 0 7f6e18021000-7f6e1c000000 ---p 00000000 00:00 0 7f6e1c536000-7f6e1c541000 r-xp 00000000 08:01 24249022 /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 7f6e1c541000-7f6e1c741000 ---p 0000b000 08:01 24249022 /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 7f6e1c741000-7f6e1c742000 r--p 0000b000 08:01 24249022 /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 7f6e1c742000-7f6e1c743000 rw-p 0000c000 08:01 24249022 /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 7f6e1c743000-7f6e1c779000 r-xp 00000000 08:01 24120160 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7f6e1c779000-7f6e1c979000 ---p 00036000 08:01 24120160 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7f6e1c979000-7f6e1c97e000 r--p 00036000 08:01 24120160 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7f6e1c97e000-7f6e1c97f000 rw-p 0003b000 08:01 24120160 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7f6e1c97f000-7f6e1c998000 r-xp 00000000 08:01 24249026 /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so 7f6e1c998000-7f6e1cb98000 ---p 00019000 08:01 24249026 /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so 7f6e1cb98000-7f6e1cb9b000 r--p 00019000 08:01 24249026 /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so 7f6e1cb9b000-7f6e1cb9c000 rw-p 0001c000 08:01 24249026 /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so 7f6e1cb9c000-7f6e1d55b000 r--p 00000000 08:01 23862069 /usr/lib/locale/locale-archive 7f6e1d55b000-7f6e1ee11000 r-xp 00000000 08:01 23863704 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1 7f6e1ee11000-7f6e1f010000 ---p 018b6000 08:01 23863704 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1 7f6e1f010000-7f6e1f011000 r--p 018b5000 08:01 23863704 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1 7f6e1f011000-7f6e1f012000 rw-p 018b6000 08:01 23863704 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1 7f6e1f012000-7f6e1f016000 r-xp 00000000 08:01 9966125 /lib/x86_64-linux-gnu/libuuid.so.1.3.0 7f6e1f016000-7f6e1f215000 ---p 00004000 08:01 9966125 /lib/x86_64-linux-gnu/libuuid.so.1.3.0 7f6e1f215000-7f6e1f216000 r--p 00003000 08:01 9966125 /lib/x86_64-linux-gnu/libuuid.so.1.3.0 7f6e1f216000-7f6e1f217000 rw-p 00004000 08:01 9966125 /lib/x86_64-linux-gnu/libuuid.so.1.3.0 7f6e1f217000-7f6e1f31f000 r-xp 00000000 08:01 9966011 /lib/x86_64-linux-gnu/libm-2.23.so 7f6e1f31f000-7f6e1f51e000 ---p 00108000 08:01 9966011 /lib/x86_64-linux-gnu/libm-2.23.so 7f6e1f51e000-7f6e1f51f000 r--p 00107000 08:01 9966011 /lib/x86_64-linux-gnu/libm-2.23.so 7f6e1f51f000-7f6e1f520000 rw-p 00108000 08:01 9966011 /lib/x86_64-linux-gnu/libm-2.23.so 7f6e1f520000-7f6e1f541000 r-xp 00000000 08:01 9966008 /lib/x86_64-linux-gnu/liblzma.so.5.0.0 7f6e1f541000-7f6e1f740000 ---p 00021000 08:01 9966008 /lib/x86_64-linux-gnu/liblzma.so.5.0.0 7f6e1f740000-7f6e1f741000 r--p 00020000 08:01 9966008 /lib/x86_64-linux-gnu/liblzma.so.5.0.0 7f6e1f741000-7f6e1f742000 rw-p 00021000 08:01 9966008 /lib/x86_64-linux-gnu/liblzma.so.5.0.0 7f6e1f742000-7f6e1f8c1000 r-xp 00000000 08:01 23863718 /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1 7f6e1f8c1000-7f6e1fac1000 ---p 0017f000 08:01 23863718 /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1 7f6e1fac1000-7f6e1fad1000 r--p 0017f000 08:01 23863718 /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1 7f6e1fad1000-7f6e1fad2000 rw-p 0018f000 08:01 23863718 /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1 7f6e1fad2000-7f6e1fad6000 rw-p 00000000 00:00 0 7f6e1fad6000-7f6e1fad9000 r-xp 00000000 08:01 9965965 /lib/x86_64-linux-gnu/libdl-2.23.so 7f6e1fad9000-7f6e1fcd8000 ---p 00003000 08:01 9965965 /lib/x86_64-linux-gnu/libdl-2.23.so 7f6e1fcd8000-7f6e1fcd9000 r--p 00002000 08:01 9965965 /lib/x86_64-linux-gnu/libdl-2.23.so 7f6e1fcd9000-7f6e1fcda000 rw-p 00003000 08:01 9965965 /lib/x86_64-linux-gnu/libdl-2.23.so 7f6e1fcda000-7f6e1fcf0000 r-xp 00000000 08:01 9965979 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f6e1fcf0000-7f6e1feef000 ---p 00016000 08:01 9965979 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f6e1feef000-7f6e1fef0000 rw-p 00015000 08:01 9965979 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f6e1fef0000-7f6e20062000 r-xp 00000000 08:01 23864164 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 7f6e20062000-7f6e20262000 ---p 00172000 08:01 23864164 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 7f6e20262000-7f6e2026c000 r--p 00172000 08:01 23864164 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 7f6e2026c000-7f6e2026e000 rw-p 0017c000 08:01 23864164 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 7f6e2026e000-7f6e20272000 rw-p 00000000 00:00 0 7f6e20272000-7f6e202a2000 r-xp 00000000 08:01 23864009 /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9.0.1 7f6e202a2000-7f6e204a1000 ---p 00030000 08:01 23864009 /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9.0.1 7f6e204a1000-7f6e204a2000 r--p 0002f000 08:01 23864009 /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9.0.1 7f6e204a2000-7f6e204a3000 rw-p 00030000 08:01 23864009 /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9.0.1 7f6e204a3000-7f6e20697000 r-xp 00000000 08:01 23864369 /usr/lib/x86_64-linux-gnu/libxapian.so.22.7.0 7f6e20697000-7f6e20897000 ---p 001f4000 08:01 23864369 /usr/lib/x86_64-linux-gnu/libxapian.so.22.7.0 7f6e20897000-7f6e2089e000 r--p 001f4000 08:01 23864369 /usr/lib/x86_64-linux-gnu/libxapian.so.22.7.0 7f6e2089e000-7f6e2089f000 rw-p 001fb000 08:01 23864369 /usr/lib/x86_64-linux-gnu/libxapian.so.22.7.0 7f6e2089f000-7f6e208bc000 r-xp 00000000 08:01 23864423 /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.4 7f6e208bc000-7f6e20abc000 ---p 0001d000 08:01 23864423 /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.4 7f6e20abc000-7f6e20abd000 r--p 0001d000 08:01 23864423 /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.4 7f6e20abd000-7f6e20abe000 rw-p 0001e000 08:01 23864423 /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.4 7f6e20abe000-7f6e20c6e000 r-xp 00000000 08:01 23864415 /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.3 7f6e20c6e000-7f6e20e6d000 ---p 001b0000 08:01 23864415 /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.3 7f6e20e6d000-7f6e20e75000 r--p 001af000 08:01 23864415 /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.3 7f6e20e75000-7f6e20e77000 rw-p 001b7000 08:01 23864415 /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.3 7f6e20e77000-7f6e20e78000 rw-p 00000000 00:00 0 7f6e20e78000-7f6e20e7f000 r-xp 00000000 08:01 23863409 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4 7f6e20e7f000-7f6e2107e000 ---p 00007000 08:01 23863409 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4 7f6e2107e000-7f6e2107f000 r--p 00006000 08:01 23863409 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4 7f6e2107f000-7f6e21080000 rw-p 00007000 08:01 23863409 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4 7f6e21080000-7f6e21097000 r-xp 00000000 08:01 9966093 /lib/x86_64-linux-gnu/libresolv-2.23.so 7f6e21097000-7f6e21297000 ---p 00017000 08:01 9966093 /lib/x86_64-linux-gnu/libresolv-2.23.so 7f6e21297000-7f6e21298000 r--p 00017000 08:01 9966093 /lib/x86_64-linux-gnu/libresolv-2.23.so 7f6e21298000-7f6e21299000 rw-p 00018000 08:01 9966093 /lib/x86_64-linux-gnu/libresolv-2.23.so 7f6e21299000-7f6e2129b000 rw-p 00000000 00:00 0 7f6e2129b000-7f6e212ba000 r-xp 00000000 08:01 9966099 /lib/x86_64-linux-gnu/libselinux.so.1 7f6e212ba000-7f6e214b9000 ---p 0001f000 08:01 9966099 /lib/x86_64-linux-gnu/libselinux.so.1 7f6e214b9000-7f6e214ba000 r--p 0001e000 08:01 9966099 /lib/x86_64-linux-gnu/libselinux.so.1 7f6e214ba000-7f6e214bb000 rw-p 0001f000 08:01 9966099 /lib/x86_64-linux-gnu/libselinux.so.1 7f6e214bb000-7f6e214bd000 rw-p 00000000 00:00 0 7f6e214bd000-7f6e214d6000 r-xp 00000000 08:01 9966132 /lib/x86_64-linux-gnu/libz.so.1.2.8 7f6e214d6000-7f6e216d5000 ---p 00019000 08:01 9966132 /lib/x86_64-linux-gnu/libz.so.1.2.8 7f6e216d5000-7f6e216d6000 r--p 00018000 08:01 9966132 /lib/x86_64-linux-gnu/libz.so.1.2.8 7f6e216d6000-7f6e216d7000 rw-p 00019000 08:01 9966132 /lib/x86_64-linux-gnu/libz.so.1.2.8 7f6e216d7000-7f6e216da000 r-xp 00000000 08:01 23863540 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.0 7f6e216da000-7f6e218d9000 ---p 00003000 08:01 23863540 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.0 7f6e218d9000-7f6e218da000 r--p 00002000 08:01 23863540 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.0 7f6e218da000-7f6e218db000 rw-p 00003000 08:01 23863540 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.0 7f6e218db000-7f6e218f3000 r-xp 00000000 08:01 9966087 /lib/x86_64-linux-gnu/libpthread-2.23.so 7f6e218f3000-7f6e21af2000 ---p 00018000 08:01 9966087 /lib/x86_64-linux-gnu/libpthread-2.23.so 7f6e21af2000-7f6e21af3000 r--p 00017000 08:01 9966087 /lib/x86_64-linux-gnu/libpthread-2.23.so 7f6e21af3000-7f6e21af4000 rw-p 00018000 08:01 9966087 /lib/x86_64-linux-gnu/libpthread-2.23.so 7f6e21af4000-7f6e21af8000 rw-p 00000000 00:00 0 7f6e21af8000-7f6e21b66000 r-xp 00000000 08:01 9966070 /lib/x86_64-linux-gnu/libpcre.so.3.13.2 7f6e21b66000-7f6e21d66000 ---p 0006e000 08:01 9966070 /lib/x86_64-linux-gnu/libpcre.so.3.13.2 7f6e21d66000-7f6e21d67000 r--p 0006e000 08:01 9966070 /lib/x86_64-linux-gnu/libpcre.so.3.13.2 7f6e21d67000-7f6e21d68000 rw-p 0006f000 08:01 9966070 /lib/x86_64-linux-gnu/libpcre.so.3.13.2 7f6e21d68000-7f6e21f28000 r-xp 00000000 08:01 9965941 /lib/x86_64-linux-gnu/libc-2.23.so 7f6e21f28000-7f6e22127000 ---p 001c0000 08:01 9965941 /lib/x86_64-linux-gnu/libc-2.23.so 7f6e22127000-7f6e2212b000 r--p 001bf000 08:01 9965941 /lib/x86_64-linux-gnu/libc-2.23.so 7f6e2212b000-7f6e2212d000 rw-p 001c3000 08:01 9965941 /lib/x86_64-linux-gnu/libc-2.23.so 7f6e2212d000-7f6e22131000 rw-p 00000000 00:00 0 7f6e22131000-7f6e2217c000 r-xp 00000000 08:01 23863102 /usr/lib/x86_64-linux-gnu/libappstream.so.0.9.4 7f6e2217c000-7f6e2237c000 ---p 0004b000 08:01 23863102 /usr/lib/x86_64-linux-gnu/libappstream.so.0.9.4 7f6e2237c000-7f6e2237d000 r--p 0004b000 08:01 23863102 /usr/lib/x86_64-linux-gnu/libappstream.so.0.9.4 7f6e2237d000-7f6e2237e000 rw-p 0004c000 08:01 23863102 /usr/lib/x86_64-linux-gnu/libappstream.so.0.9.4 7f6e2237e000-7f6e223d0000 r-xp 00000000 08:01 23863564 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0 7f6e223d0000-7f6e225cf000 ---p 00052000 08:01 23863564 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0 7f6e225cf000-7f6e225d0000 r--p 00051000 08:01 23863564 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0 7f6e225d0000-7f6e225d1000 rw-p 00052000 08:01 23863564 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0 7f6e225d1000-7f6e22751000 r-xp 00000000 08:01 23863526 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.0 7f6e22751000-7f6e22951000 ---p 00180000 08:01 23863526 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.0 7f6e22951000-7f6e22955000 r--p 00180000 08:01 23863526 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.0 7f6e22955000-7f6e22957000 rw-p 00184000 08:01 23863526 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.0 7f6e22957000-7f6e22959000 rw-p 00000000 00:00 0 7f6e22959000-7f6e22a67000 r-xp 00000000 08:01 9965983 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0 7f6e22a67000-7f6e22c67000 ---p 0010e000 08:01 9965983 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0 7f6e22c67000-7f6e22c68000 r--p 0010e000 08:01 9965983 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0 7f6e22c68000-7f6e22c69000 rw-p 0010f000 08:01 9965983 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0 7f6e22c69000-7f6e22c6a000 rw-p 00000000 00:00 0 7f6e22c6a000-7f6e22c90000 r-xp 00000000 08:01 9965913 /lib/x86_64-linux-gnu/ld-2.23.so 7f6e22e48000-7f6e22e67000 r--s 00000000 08:01 24379647 /usr/share/mime/mime.cache 7f6e22e67000-7f6e22e75000 rw-p 00000000 00:00 0 7f6e22e8c000-7f6e22e8f000 rw-p 00000000 00:00 0 7f6e22e8f000-7f6e22e90000 r--p 00025000 08:01 9965913 /lib/x86_64-linux-gnu/ld-2.23.so 7f6e22e90000-7f6e22e91000 rw-p 00026000 08:01 9965913 /lib/x86_64-linux-gnu/ld-2.23.so 7f6e22e91000-7f6e22e92000 rw-p 00000000 00:00 0 7ffe2e9ee000-7ffe2ea0f000 rw-p 00000000 00:00 0 [stack] 7ffe2eb2f000-7ffe2eb31000 r--p 00000000 00:00 0 [vvar] 7ffe2eb31000-7ffe2eb33000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted (core dumped) Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi' E: Sub-process returned an error code deepak@deepak-VirtualBox:~$
How to resolve this?
Thanks
Ads