最近在Ubuntu上面执行sudo apt-get update时出现如下提示:
*** Error in `appstreamcli': double free or corruption (fasttop): 0x0000000001549c80 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7faf638d87e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7faf638e137a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7faf638e553c]
/usr/lib/x86_64-linux-gnu/libappstream.so.3(as_component_complete+0x439)[0x7faf63c5dd19]
/usr/lib/x86_64-linux-gnu/libappstream.so.3(as_data_pool_update+0x44a)[0x7faf63c5ef0a]
/usr/lib/x86_64-linux-gnu/libappstream.so.3(as_cache_builder_refresh+0x1c2)[0x7faf63c54272]
appstreamcli(ascli_refresh_cache+0x12e)[0x4049de]
appstreamcli(as_client_run+0x6fb)[0x403ceb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7faf63881830]
appstreamcli(_start+0x29)[0x403519]
该问题需要执行如下命令才能解决:
sudo apt-get purge libappstream3
执行完后再次执行sudo apt-get update命令就正常了。
阅读(1436) | 评论(0) | 转发(0) |