再然后,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: libcurl3-gnutls (>= 7.16.2) but it is not going to be installed
Depends: liberror-perl but it is not installable
Recommends: rsync but it is not installable
E: Unable to correct problems, you have held broken packages.
请教一下,怎么整?
解决了,参考下面:
We have fixed that , by added reporepository to source.list file nano /etc/apt/sources.list
added this command " deb http://ftp.us.debian.org/debian/ wheezy main non-free "
then using command apt-get updated , and try reinstall again
Please follow this link to learn more about added reporeposity