- drice2016-08-24高级会员91163
- 本帖最后由 drice 于 2016-8-24 19:58 编辑 *
开了台krypt的云主机,debian 7的。一登录直接apt-get update报错。google一番,按这里的办法解决了。http://www.linuxquestions.org/questions/debian-26/there-is-no-public-key-available-for-the-following-key-id-705108/
再然后,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.listadded 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
https://wiki.debian.org/SourcesList
https://debgen.simplylinux.ch/