在整个过程中,与因特网的连接正常工作。
每次我打开电脑时,都会弹出一条错误信息,上面写着“检测到了系统程序问题”。我肯定是关于这个问题的。还注意到:操作系统是Ubuntu18.04。
首先,在使用单击方法(通过GUI)时,它没有更新任何内容。软件更新器出现了,显示了更新,然后我点击了“立即安装”,但是开始了这个过程,当到达第一步时,它就消失了。
针对这个问题,我尝试使用终端(sudo apt-get update && sudo apt-get upgrade)手动更新和升级。这解决了问题的一部分,因为大多数软件包都需要更新。
尽管如此,问题仍然存在,因为Ubuntu基础(安全更新)和未使用的内核更新将被删除,同样的问题出现在点击“立即安装”按钮之后。我再次尝试与终端和问题普遍存在的“系统程序问题检测”消息。
失败的解决方案:
( a)我认为互联网连接是问题的根源,但我卸载了Wicd并重新安装了它。我试过了:sudo rm -rvf /var/lib/apt/lists/*,然后是sudo apt-get update,就像另一个职位的回答说的那样。
我能做什么?谢谢。
sudo apt的输出-获取更新:
Hit:1 http://es.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://archive.canonical.com bionic InRelease
Get:3 http://es.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Get:5 http://es.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Fetched 247 kB in 1s (337 kB/s)
Reading package lists... Donesudo apt-get升级输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 libjavascriptcoregtk-4.0-18 libwebkit2gtk-4.0-37 linux-generic linux-headers-generic
linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.发布于 2018-10-11 11:43:32
首先,更新以下内容:
sudo apt autoremove && sudo apt autoclean -y然后通过sudo nano /etc/apt/sources.list打开nano,并检查默认update的不匹配情况:
注-
deb http://in.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse如果比较容易的话,可以在nano中按下'CTRL + K‘来删除这些行。把上面提供给你的东西复制粘贴在一起。
按“CTRL+X”退出。提示保存-按'Y‘保存。
输入cat /etc/apt/sources.list以反复检查它们是否正确.
然后做一个sudo apt update && sudo apt upgrade -y,希望在此之后应该已经解决了您的问题。
发布于 2022-02-11 08:35:00
也有同样的问题。下面的命令解决了这个问题。
sudo apt清除更新管理器&& sudo apt安装更新管理器
https://askubuntu.com/questions/1082881
复制相似问题