全球主机交流论坛

标题: krypt的云主机,apt-get都搞晕我了。 [打印本页]

作者: drice    时间: 2016-8-24 10:53
标题: krypt的云主机,apt-get都搞晕我了。
本帖最后由 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.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

https://wiki.debian.org/SourcesList
https://debgen.simplylinux.ch/
作者: 嫂子抱紧我    时间: 2016-8-24 10:55
自己挂iso装 正常新系统哪会有问题
作者: filtme    时间: 2016-8-24 10:59
换个系统
作者: winooxx    时间: 2016-8-24 16:00
自己挂ISO重新装,或者检查源
作者: qweasdzxc123    时间: 2016-8-24 16:24
apt-get install libcurl3-gnutls liberror-perl
作者: 方太    时间: 2016-8-24 16:24
换win 多好   还能免费用锐速
作者: drice    时间: 2016-8-24 19:57
发tk解决了。
原因是原来的sources不好用,参考下面:
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

https://wiki.debian.org/SourcesList
https://debgen.simplylinux.ch/




欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) Powered by Discuz! X3.4