QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 998|回复: 9

关于apt源的问题

[复制链接]
发表于 2004-11-6 19:49:08 | 显示全部楼层 |阅读模式
我的系统是RH7.2, 我打算用apt在线更新系统,但输入apt-get update后,出现下面的提示:
Err http://apt-rpm.tuxfamily.org redhat-7.2-i386/redhat/base/pkglist.os
Something wicked happened resolving 'apt-rpm.tuxfamily.org/http'
Err http://apt-rpm.tuxfamily.org redhat-7.2-i386/redhat release.os
Something wicked happened resolving 'apt-rpm.tuxfamily.org/http'
Err http://apt-rpm.tuxfamily.org redhat-updates-7.2/redhat/base/pkglist.os
Something wicked happened resolving 'apt-rpm.tuxfamily.org/http'
Err http://apt-rpm.tuxfamily.org redhat-updates-7.2/redhat release.os
Something wicked happened resolving 'apt-rpm.tuxfamily.org/http'
Err http://apt-rpm.tuxfamily.org redhat-7.2-i386/redhat/base/mirrors
Something wicked happened resolving 'apt-rpm.tuxfamily.org/http'
Err http://apt-rpm.tuxfamily.org redhat-updates-7.2/redhat/base/mirrors
Something wicked happened resolving 'apt-rpm.tuxfamily.org/http'
Hit http://apt.freshrpms.net redhat/7.2/en/i386/base/kglist.freshrpms
Hit http://apt.freshrpms.net redhat/7.2/en/i386 release.freshrpms
Hit http://apt.freshrpms.net redhat/7.2/en/i386/base/srclist.freshrpms
Hit http://apt.freshrpms.net redhat/7.2/en/i386 release.freshrpms
Ign http://apt.freshrpms.net redhat/7.2/en/$(ARCH)/base/mirrors
Ign http://apt.freshrpms.net redhat/7.2/en/$(ARCH)/base/mirrors
Failed to fetch http://apt-rpm.tuxfamily.org/apt/redhat-7.2-i386/redhat/base/pkglist.os
Something wicked happened resolving 'apt-rpm.tuxfamily.org/http'
Failed to fetch http://apt-rpm.tuxfamily.org/apt/redhat-7.2-i386/redhat/base/release.os
Something wicked happened resolving 'apt-rpm.tuxfamily.org/http'
Failed to fetch http://apt-rpm.tuxfamily.org/apt/redhat-updates-7.2/redhat/base/pkglist.os
Something wicked happened resolving 'apt-rpm.tuxfamily.org/http'
Failed to fetch http://apt-rpm.tuxfamily.org/apt/redhat-updates-7.2/redhat/base/release.os
Something wicked happened resolving 'apt-rpm.tuxfamily.org/http'
Failed to fetch http://apt-rpm.tuxfamily.org/apt/redhat-7.2-i386/redhat/base/mirrors
Something wicked happened resolving 'apt-rpm.tuxfamily.org/http'
Failed to fetch http://apt-rpm.tuxfamily.org/apt/redhat-updates-7.2/redhat/base/mirrors
Something wicked happened resolving 'apt-rpm.tuxfamily.org/http'
Processing File Dependencies... Done
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list 'http://apt-rpm.tuxfamily.org redhat-7.2-i386/redhat/base/pkglist.os' (/var/state/apt/lists/apt-rpm.tuxfamily.org_apt_redhat-7.2-i386_redhat_base_pkglist.os) - stat (2 No such file or directory)
W: Couldn't stat source package list 'http://apt-rpm.tuxfamily.org redhat-updates-7.2/redhat/base/pkglist.os' (/var/state/apt/lists/apt-rpm.tuxfamily.org_apt_redhat-updates-7.2_redhat_base_pkglist.os) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these missing files
E: Some index files failed to download, they have been ignored, or old ones used instead.

据说
这是apt源的问题,谁能告诉我一个可用的apt源呢?多谢了!!!
发表于 2004-11-6 19:50:45 | 显示全部楼层
你的目的是什么,升级系统还是安装特定软件?
回复

使用道具 举报

 楼主| 发表于 2004-11-6 22:28:34 | 显示全部楼层
我的初衷是安装一些软件,如Gaim,但我的7.2系统好象缺少很多依赖包,我发过请教的帖子,大家建议我用apt,当装上apt又遇到这个问题:(

谢谢troll,希望你进一步指点啊!
回复

使用道具 举报

发表于 2004-11-6 22:56:35 | 显示全部楼层
看起来应该是source.lst的问题,那你去官方网站去看过吗?也许官方改变了源,要更新source.lst
我是猜的,因为我的debian没有遇到过这问题。
回复

使用道具 举报

发表于 2004-11-6 23:05:22 | 显示全部楼层
Red Hat Linux 7.2 (rpm 4.0.4 - updated) (rpm 4.0.3 - original)
有两个软件包,你下的是哪个,好像头一个是用于更新的。
回复

使用道具 举报

发表于 2004-11-6 23:07:19 | 显示全部楼层
Configuration files

All the above packages come pre-configured, so you'll get started immediately. But if you are looking for the sources.list entries or yum.conf ones, and don't want to extract them from the packages, you can look at the latest versions of those files by going to the apt build page and the yum build page.

Mirror servers


ayo.ie.freshrpms.net (HEAnet - Dublin, Ireland) - full
ayo.uk3.freshrpms.net (UK Mirror Service - United Kingdom) - full
ayo.us5.freshrpms.net (JTL Networks, Inc. - Colombus, OH USA) - partial
ayo.pt.freshrpms.net (Interacesso - Portugal) - partial
ayo.si.freshrpms.net (CAMTP - Maribor, Slovenia) - partial

老大应该看看这个。
回复

使用道具 举报

发表于 2004-11-7 03:54:18 | 显示全部楼层
不知道redhat下的apt有没有这个:apt-setup

debian下用了这个命令会列出mirror的选单,可以选择的。
回复

使用道具 举报

 楼主| 发表于 2004-11-7 05:59:32 | 显示全部楼层
谢谢fox_eagle2003的指点,搞定了!
回复

使用道具 举报

发表于 2004-11-7 08:45:51 | 显示全部楼层
下源代码或者包吧
apt个人认为不怎么样
回复

使用道具 举报

发表于 2004-11-7 09:41:34 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-15 23:09 , Processed in 0.042524 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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