问题简述:
*** Error in `appstreamcli': double free or corruption (fasttop): 0x0000000001896f90 ***
问题详述:
- *** Error in `appstreamcli': double free or corruption (fasttop): 0x0000000001896f90 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f57a1bca7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f57a1bd337a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f57a1bd753c]
/usr/lib/x86_64-linux-gnu/libappstream.so.3(as_component_complete+0x439)[0x7f57a1f4fd19]
...............................
[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
原因分析:
- 貌似只有戴尔电脑安装Ubuntu时可能出现这样的情况。具体原因未知,猜测是因为系统安装时形成的应用库与sourcelist库存在冲突
- 该问题出现在系统刚安装完后,使用sudo apt update失败,
解决方案:
- 先执行:
sudo apt-get purge libappstream3
再执行:sudo apt-get update