关于apt源的问题
我的系统是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源呢?多谢了!!! 你的目的是什么,升级系统还是安装特定软件? 我的初衷是安装一些软件,如Gaim,但我的7.2系统好象缺少很多依赖包,我发过请教的帖子,大家建议我用apt,当装上apt又遇到这个问题:(
谢谢troll,希望你进一步指点啊! 看起来应该是source.lst的问题,那你去官方网站去看过吗?也许官方改变了源,要更新source.lst
:oops: 我是猜的,因为我的debian没有遇到过这问题。 Red Hat Linux 7.2 (rpm 4.0.4 - updated) (rpm 4.0.3 - original)
有两个软件包,你下的是哪个,好像头一个是用于更新的。 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
老大应该看看这个。 不知道redhat下的apt有没有这个:apt-setup
debian下用了这个命令会列出mirror的选单,可以选择的。 谢谢fox_eagle2003的指点,搞定了! 下源代码或者包吧
apt个人认为不怎么样
页:
[1]