我试图安装git的几个小时,但无论我做什么我得到这个错误:这里无法在Linux Mint的安装git的17.3
sudo 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.
我读过的答案和我已经试过以下没有成功: sudo apt-get update
sudo apt-get upgrade sudo apt-get install -f
我试图解决从这里:
我/var/lib/apt/lists/*去除一切就跑sudo apt-get update 我也尝试安装liberror-perl然后folllowing错误:
Reading package lists... Done Building dependency tree
Reading state information... Done Package liberror-perl is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'liberror-perl' has no installation candidate
怎么能修复与包这个问题?谢谢。
更新:现在我试图安装的软件包,我得到了同样的错误:
Package 'devscripts' has no installation candidate