Tag: appstream

如果APT保留了它,升级appstream是否安全?

我前几天跑了apt upgrade ,得到了这个: The following packages have been kept back: appstream 根据本网站某处的相关问题,appstream甚至可以安全删除。 我怎么知道升级它是否安全,升级在我的系统中实际改变了什么? 我假设apt因为一个原因而保留了它,所以我想在运行dist-upgrade之前保持安全。 以下是changelog所说的内容: appstream (0.10.6-1~ubuntu16.04.1) xenial-backports; urgency=medium * Backport to 16.04, with one change: – Lower the required Qt version to 5.4 — Iain Lane Wed, 01 Feb 2017 12:02:22 +0000 我假设这不会制动任何东西? 正如@muru所提出的那样, apt-get -s dist-upgrade (即使使用sudo )并没有产生任何新的东西,除了appstream被保留的相同的旧消息。 以下是apt-get -s install appstream的输出: The […]

更新时元数据和appstream错误

我作为root更新时收到错误。 在更新日志之后,终端显示错误。 AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml 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-cache > /dev/null; fi’ E: Sub-process returned an error code 我按照这个答案执行了sudo apt install appstream/xenial-backports 。 我的appstream包已经更新: – $ appstreamcli –version AppStream […]

Ubuntu 16.04:get-update 时appstreamcli错误

我正在尝试启用WiFi。 我试过sudo apt-get update 。 但是我收到了这个错误: The AppStream system cache was updated, but some errors were detected, which might lead to missing metadata. Refer to the verbose log for more information. 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-cache > /dev/null; fi’ E: Sub-process […]

appstreamcli在更新期间以100%的CPU使用率挂起

appstreamcli通过不断使用100%的核心来使我的笔记本电脑过热。 我唯一的解决办法是杀死它。 这是top的截图: 我可以使用sudo kill pid或sudo killall appstreamcli sudo kill pid sudo killall appstreamcli 。 但是一旦我做了sudo apt update , appstreamcli进程就会再次返回并挂起更新。 如果我然后杀了它,我得到以下输出: 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 什么是这个过程,为什么它使用这么多的CPU?

E:在apt-get update期间执行脚本APT Update :: Post-Invoke-Success错误时出现问题

我无法安装任何包。 似乎必须运行命令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 […]