我刚刚安装了 ubuntu 19.10,我试图安装 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.
当问到同样的问题时,我尝试了以前给出的所有解决方案,但没有一个有效。大多数解决方案建议如下:
sudo apt update
sudo apt upgrade
sudo apt install git
但这些都行不通。 为什么我会收到此错误 。请帮助我解决此问题...
谢谢你。