我的ubuntu可以firefox上网,但是apt不能用,请大家帮忙!!

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

我的ubuntu可以firefox上网,但是apt不能用,请大家帮忙!!

#1

帖子 zhangmoqi » 2007-10-27 14:06

各位大侠,
我是ubuntu新用户,系统ubuntu7.04,ADSL上网。
我没有设置过任何网络信息,直接可以用firefox上网,但是
apt不能用(老提示不能解析网址,但是firefox为什么可以解析呢?),
请大家帮忙!!
头像
goldfox_79
帖子: 2004
注册时间: 2005-10-16 8:26
来自: 地球

#2

帖子 goldfox_79 » 2007-10-27 14:29

源不对?DNS有问题?
zhangmoqi
帖子: 91
注册时间: 2007-10-27 14:02

#3

帖子 zhangmoqi » 2007-10-27 14:39

我修改的源(绝对正确,我反复核对)后,用sudo apt-get update无法更新!!

估计DNS需要设置,adsl设置的dns是192.168.1.1(也是默认网关)
头像
Element
帖子: 3537
注册时间: 2005-09-10 16:04
来自: DG-GD-China

#4

帖子 Element » 2007-10-27 14:43

把你的源贴出来看看
http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
zhangmoqi
帖子: 91
注册时间: 2007-10-27 14:02

#5

帖子 zhangmoqi » 2007-10-27 15:03

deb http://ubuntu.cn99.com/ubuntu/feisty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/feisty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/feisty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/feisty-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/feisty main restricted universe multiverse
zhangmoqi
帖子: 91
注册时间: 2007-10-27 14:02

#6

帖子 zhangmoqi » 2007-10-27 15:13

see the attached
附件
Screenshot-1.png
头像
Element
帖子: 3537
注册时间: 2005-09-10 16:04
来自: DG-GD-China

#7

帖子 Element » 2007-10-27 15:14

deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse

换个源试试
http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
zhangmoqi
帖子: 91
注册时间: 2007-10-27 14:02

#8

帖子 zhangmoqi » 2007-10-27 15:19

xiexie!
hai shi bu xing!
头像
Element
帖子: 3537
注册时间: 2005-09-10 16:04
来自: DG-GD-China

#9

帖子 Element » 2007-10-27 15:24

你设置了代理?
那个proxyserver是什么?
http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
头像
shugoal
帖子: 1109
注册时间: 2007-08-20 21:39
来自: 沈阳
联系:

#10

帖子 shugoal » 2007-10-27 15:33

换源!
失恋的痛苦不在于失恋本身 在于青黄不接!
青黄不接的年代里 我把爱情暂放一边!

★★○●◎◇★☆☆★
senhtry
帖子: 328
注册时间: 2006-12-02 17:32
来自: Matrix,01帝国

#11

帖子 senhtry » 2007-10-27 15:49

应该是你设置代理了,把代理关掉
http://senhtry.blog.ubuntu.org.cn

Acer TravelMate 3272NWXCi
Intel Core 2 Duo T5500
Kingston 1G DDR2 667
nVidia Geforce Go 7300
头像
yuccatoo
帖子: 50
注册时间: 2007-03-22 19:49

#12

帖子 yuccatoo » 2007-10-27 15:51

楼上应该是正解
zhangmoqi
帖子: 91
注册时间: 2007-10-27 14:02

#13

帖子 zhangmoqi » 2007-10-27 15:54

我是四个人用的一个ADSL,别人买的hub
我把网线插上去就可以用网络,在ubuntu中什么也没有设置!!
没设代理,晕!!
头像
Element
帖子: 3537
注册时间: 2005-09-10 16:04
来自: DG-GD-China

#14

帖子 Element » 2007-10-27 16:00

那你先 ping 一下 http://ubuntu.cn99.com 看是否可以 ping 通
或者换源在试试
http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
zhangmoqi
帖子: 91
注册时间: 2007-10-27 14:02

#15

帖子 zhangmoqi » 2007-10-28 18:52

终于搞定了,今天装了ubuntu7.10
顺便玩了一下3d桌面,还可以阿。
顶一个~~~
回复