首页 > 解决方案 > 无法在 Kali 中安装或更新软件包

问题描述

我尝试使用升级我的 debian 软件包,apt-get upgrade但随后引发以下错误

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 135 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Could not exec dpkg!
E: Sub-process /usr/bin/dpkg returned an error code (100)

标签: debianapt-get

解决方案


尝试

chmod 755 /usr/bin/dpkg

你可以看看这篇文章这篇文章解决了相同的错误代码


推荐阅读