*** Error in `appstreamcli': double free or corruption (fasttop): 0x00000000021ebfc0 ***

* Error in `appstreamcli’: double free or corruption (fasttop): 0x00000000021ebfc0 *

ai@ai-X7Ti-Series:~$ sudo apt update
Hit:1 http://mirrors.aliyun.com/ubuntu xenial InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu xenial-updates InRelease
Hit:3 http://mirrors.aliyun.com/ubuntu xenial-backports InRelease
Hit:4 http://mirrors.aliyun.com/ubuntu xenial-security InRelease
Hit:5 http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease
* Error in `appstreamcli’: double free or corruption (fasttop): 0x0000000001960fc0 *
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fda494a07e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7fda494a8e0a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fda494ac98c]
/usr/lib/x86_64-linux-gnu/libappstream.so.3(as_component_complete+0x439)[0x7fda49824d19]
/usr/lib/x86_64-linux-gnu/libappstream.so.3(as_data_pool_update+0x44a)[0x7fda49825f0a]
/usr/lib/x86_64-linux-gnu/libappstream.so.3(as_cache_builder_refresh+0x1c2)[0x7fda4981b272]
appstreamcli(ascli_refresh_cache+0x12e)[0x4049de]
appstreamcli(as_client_run+0x6fb)[0x403ceb]

7ffd0bfdb000-7ffd0bfdd000 r–p 00000000 00:00 0 [vvar]
7ffd0bfdd000-7ffd0bfdf000 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

solved:

some answer : not worked

sudo apt-get purge libappstream3

but not work

this answer worked:

sudo apt install appstream/xenial-backports
sudo appstreamcli refresh –force
sudo apt-get update

can do:

sudo apt-get update
sudo apt-get install python-pip

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章