为什么我apt-get老是不成功?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
raytheon429
帖子: 5
注册时间: 2008-06-11 21:25

为什么我apt-get老是不成功?

#1

帖子 raytheon429 » 2008-10-06 11:06

我看几乎所有的文章说到安装软件就说"apt-get"一下就可以了,但为什么我老是被提示"is not availiable," "depends is not installed", "is not installable"之类的话?几乎没有一次成功的。
这是我的源,到底是什么问题啊?

deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://debian.cn99.org.cn/ubuntu/ hardy main

deb http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse
sunzhaoyu2000
帖子: 700
注册时间: 2006-10-18 15:48

Re: 为什么我apt-get老是不成功?

#2

帖子 sunzhaoyu2000 » 2008-10-06 11:09

apt-get 什么东西
详细一点
把所有命令和提示信息全部贴出来啊
sunzhaoyu2000
帖子: 700
注册时间: 2006-10-18 15:48

Re: 为什么我apt-get老是不成功?

#3

帖子 sunzhaoyu2000 » 2008-10-06 11:14

网络状态也要检查
看是不是通的

比如:


$ ping ubuntu.cn99.com


$ ping archive.canonical.com
kmkc
帖子: 30
注册时间: 2008-03-05 12:54

Re: 为什么我apt-get老是不成功?

#4

帖子 kmkc » 2008-10-06 12:30

是不是网路的问题
回复