最近我执行了这个命令:
sudo apt-get remove debian-keyring debian-archive-keyring
Run Code Online (Sandbox Code Playgroud)
为防止出现此类错误消息:
WARNING: The following packages cannot be authenticated!
openerp
Run Code Online (Sandbox Code Playgroud)
我的计划是执行这些命令:
sudo apt-get remove debian-keyring debian-archive-keyring
sudo apt-get clean
sudo apt-get update
sudo apt-get -y install debian-keyring debian-archive-keyring
Run Code Online (Sandbox Code Playgroud)
不小心在尝试继续执行代码时收到此错误消息:
[ps193731]$ sudo apt-get clean
sudo: apt-get: command not found
[ps193731]$ sudo apt-get -y install debian-keyring debian-archive-keyring
sudo: apt-get: command not found
Run Code Online (Sandbox Code Playgroud)
作为附加信息,我添加了以下信息:
结果sudo dpkg --configure -a
:
[ps193731]$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of apt:
apt depends on libstdc++6 (>= 4.6); …
Run Code Online (Sandbox Code Playgroud)