我无法安装任何软件包。似乎apt-get update
必须运行该命令,但它会引发一些错误:
$ sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:2 http://ve.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://ve.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://ve.archive.ubuntu.com/ubuntu xenial-backports InRelease
Fetched 102 kB in 23s (4337 B/s)
*** Error in `appstreamcli': double free or corruption (fasttop): 0x000000000210f4b0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fac8d8317e5]
[...]
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 …
Run Code Online (Sandbox Code Playgroud) 我该如何摆脱这个?
$ sudo apt-get 更新 命中:1 http://se.archive.ubuntu.com/ubuntu xenial InRelease 命中:2 http://se.archive.ubuntu.com/ubuntu xenial-updates InRelease 命中:3 http://download.virtualbox.org/virtualbox/debian xenial InRelease 命中:4 http://se.archive.ubuntu.com/ubuntu xenial-backports InRelease 命中:5 http://ppa.launchpad.net/freecad-community/ppa/ubuntu xenial InRelease 获取:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB] 命中:7 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu xenial InRelease 命中:8 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu xenial InRelease 命中:9 http://ppa.launchpad.net/geany-dev/ppa/ubuntu xenial InRelease 获取:10 个 http://security.ubuntu.com/ubuntu xenial-security/main amd64 包 [517 kB] 命中:11 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial InRelease 命中:12 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial InRelease 命中:13 http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu xenial InRelease 命中:14 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease 获取:15 个 http://security.ubuntu.com/ubuntu xenial-security/main i386 包 [455 kB] 获取:16 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [221 …