首页 > 系统服务 > 详细

Ubuntu 16.04 LTS: apt-get update 失败处理 Aborted (core dumped)

时间:2019-02-23 11:28:59      阅读:582      评论:0      收藏:0      [点我收藏+]

在Ubuntu 16.04运行sudo apt-get update出现如下错误:

rogn@ubuntu:~$ sudo apt-get update
Get:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]                   
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]           
......
......
Get:80 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse DEP-11 64x64 Icons [29 B]
Fetched 43.5 MB in 3min 35s (201 kB/s)                                                
*** Error in `appstreamcli‘: double free or corruption (fasttop): 0x0000000002edee30 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7f75d2fff725]
/lib/x86_64-linux-gnu/libc.so.6(+0x7ff4a)[0x7f75d3007f4a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f75d300babc]
/usr/lib/x86_64-linux-gnu/libappstream.so.3(as_component_complete+0x439)[0x7f75d3383d19]
/usr/lib/x86_64-linux-gnu/libappstream.so.3(as_data_pool_update+0x44a)[0x7f75d3384f0a]
/usr/lib/x86_64-linux-gnu/libappstream.so.3(as_cache_builder_refresh+0x1c2)[0x7f75d337a272]
appstreamcli(ascli_refresh_cache+0x12e)[0x4049de]
appstreamcli(as_client_run+0x6fb)[0x403ceb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f75d2fa8830]
appstreamcli(_start+0x29)[0x403519]
======= Memory map: ========
00400000-00408000 r-xp 00000000 08:01 63                                 /usr/bin/appstreamcli
......
......
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

解决方法:删除libappstream3就可以了。(实测有效)

sudo apt-get purge libappstream3 
或者 
sudo apt-get remove libappstream3 

执行完后再次执行sudo apt-get update命令就正常了。

 

Ubuntu 16.04 LTS: apt-get update 失败处理 Aborted (core dumped)

原文:https://www.cnblogs.com/lfri/p/10421973.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!