我今天才安装的。我主要是和卡莉一起工作,但我想试试这个。任何帮助都将不胜感激!
root@ubuntu:/home/<MY USERNAME># apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... 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:
git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages.发布于 2020-03-05 22:50:54
首先,尝试使用apt本身修复损坏的包。
sudo apt install -f这将解决依赖性问题。
如果它仍然存在,那么尝试使用dpkg重新配置包。
sudo dpkg --configure-a此dpkg配置命令用于防止任何安装中断或不完整。应该有助于解决常见的包问题。那就好了
https://unix.stackexchange.com/questions/571401
复制相似问题