我试图更新和升级包,但是当我执行以下命令时:
sudo apt upgrade && sudo apt update
出现了以下信息:
Hit:1 https://download.sublimetext.com apt/stable/ InRelease
Hit:2 http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
767 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gnustep-base-runtime : Depends: gnustep-base-common (= 1.27.0-3) but 1.26.0-7 is to be installed
libgnustep-base1.27 : Depends: gnustep-base-common (= 1.27.0-3) but 1.26.0-7 is to be installed
E: Broken packages
我尝试执行以下命令:
sudo dpkg --configure -a
sudo apt install -f
sudo apt update && sudo apt upgrade
但还是出错了。
我现在该怎么办..。谢谢你提前..。
发布于 2020-08-14 13:05:38
第一:尝试apt命令(如果没有),所以
apt-get update && apt-get upgrade
然后,这些命令将帮助清理依赖项。
sudo apt-get autoclean && sudo apt-get clean && sudo apt-get autoremove
这些帮助解决了类似的问题。我希望他们也帮助你;)
发布于 2022-02-18 02:59:42
所以这对我起了作用
我重新安装libwacom-libwacom和libwacom-bin:
sudo apt reinstall libwacom-common && sudo apt reinstall libwacom-bin
发布于 2020-11-15 10:14:26
sudo apt-get update --fix-missing
sudo apt-get upgrade --fix-missing
https://unix.stackexchange.com/questions/604081
复制相似问题