apt update的时候提示test -x /usr/bin/apt-show-versions错误的解决方法

2024年03月11日

原创内容,转载请注明出处:https://www.myzhenai.com.cn/post/4464.html

我的VMware虚拟机里安装的Debian12,因为我在更新了一个阿里云的源之后,使用apt update的时候总是会提示以下错误;
“E: Problem executing scripts APT::Update::Post-Invoke-Success 'test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i'
E: Sub-process returned an error code

使用apt upgrade更新的时候没有问题,但是使用apt update更新的时候就会提示以上错误。

解决方法:

apt remove apt-show-versions
apt install apt-show-versions

 


sicnature ---------------------------------------------------------------------
I P 地 址: 3.17.162.247
区 域 位 置: 美国俄亥俄
系 统 信 息: 美国
Original content, please indicate the source:
同福客栈论坛 | 蟒蛇科普海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
Welcome to reprint. Please indicate the source https://www.myzhenai.com/post/4464.html

没有评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注