我正在运行 Ubuntu 16.04,突然间,APT 坏了,我无法打开终端。更具体地说,我在顶部的工具栏中看到带有白色减号的红色圆圈,当我点击它时,它会显示A problem occurred when checking for the updates。当我点击终端时,鼠标指针变成一个圆圈几秒钟,没有任何反应。
我意识到这已经被问过很多次了,但我已经尝试了一些其他的解决方案(例如,运行 apt-get -f install、apt-get update、apt-get upgrade、在 sources.list 中注释掉 PPA)。
这是我的 sources.list 的内容
# deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution. deb http://us.archive.ubuntu.com/ubuntu/ …Run Code Online (Sandbox Code Playgroud)