全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 906|回复: 6
打印 上一主题 下一主题

krypt的云主机,apt-get都搞晕我了。

[复制链接]
跳转到指定楼层
1#
发表于 2016-8-24 10:53:15 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 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/
2#
发表于 2016-8-24 10:55:28 | 只看该作者
自己挂iso装 正常新系统哪会有问题
4#
发表于 2016-8-24 16:00:37 | 只看该作者
自己挂ISO重新装,或者检查源
5#
发表于 2016-8-24 16:24:05 | 只看该作者
apt-get install libcurl3-gnutls liberror-perl
6#
发表于 2016-8-24 16:24:32 | 只看该作者
换win 多好   还能免费用锐速
7#
 楼主| 发表于 2016-8-24 19:57:24 | 只看该作者
发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/
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-10-30 17:20 , Processed in 0.065282 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表