错误: 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 在运行…
问题描述如下: 拿起了封尘已久的ThinkPad,输入 sudo apt update 的时候,发现这个命令变得不好使了,具体出现的问题如下图所示: #( 09/08/19@ 2:44下午 )( python@Sakura ):~/下载/shadowsocksr@manyuser✔ sudo apt update 忽略:1 http://dl.google.com/linux/chrome/deb stable InRelease 命中:2 http://dl.google.com/linux/…
Ubuntu操作系统运行apt update命令时会卡在Connecting to security.ubuntu.com,搭了梯子也无法解决 尝试了网络上的方法,如: https://blog.csdn.net/v6543210/article/details/81562266 https://ubuntuqa.com/article/1400.html 但这些方法是解决由于访问security.ubuntu.com ipv6地址造成的无法访问的问题,所以对于我的问题并不管用. 后来通过网站…
注: 不同环境出错原因可能不同,本文仅供参考. 今天在Ubuntu 19.04 系统运行指令 sudo apt update 时,忽然提示错误,报错如下: 404 Not Found [IP: 101.6.8.193 443] 没有 Release 文件. N: 无法安全地用该源进行更新,所以默认禁用该源. N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节. 查了一些解决方法,有说删除目录/etc/apt/sources.list.d的紫藤&code的博客-CSDN…
When I do command sudo apt update, always get belowing errors: Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease Could not connect to archive.ubuntu.com:80 (91.189.91.23). - connect (111: Connection refused) Could not connect to archive.ubuntu.…
运行sudo apt-get update 时Ubuntu 16.04出现: 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' 解决方法: 依次执行 sudo pkill -KILL appstreamcl…
转自:http://blog.csdn.net/zzq123686/article/details/77454066 出现错误信息: 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 ref…
这是因为key过期了 wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add apt update…
Ubuntu用sudo apt-get update出错:   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 解决方…
由于在公司里需要使用代理上网,搞了好久,好不容易把 apt 整得可以访问外网了,结果在执行 spt update 时总是提示 Release file for http://- is not valid yet (invalid for another xxd xxh xxmin xxs) 多亏有搜索引擎,在网上找到一个类似的问题,原来是系统时间不对导致的,当前时间应该是2018年9月26日,我的Ubuntu时间还是2018年2月2日. 所以,更改一下系统时间就可以啦! 以下是 apt upda…