QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 562|回复: 5

关于apt在线更新系统

[复制链接]
发表于 2004-11-2 22:11:19 | 显示全部楼层 |阅读模式
我的系统是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/pkglist.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的方法在线更新呢?
发表于 2004-11-2 22:25:27 | 显示全部楼层
不是,是apt 源的问题,不要再用那个apt 源了。
回复

使用道具 举报

 楼主| 发表于 2004-11-3 00:07:31 | 显示全部楼层
能给我推荐一个合适的apt源吗?我的系统是RH7.2,多谢了!!!
回复

使用道具 举报

发表于 2004-11-3 02:55:53 | 显示全部楼层
在debian区,换个source.lst就可以了。
回复

使用道具 举报

发表于 2004-11-3 09:02:35 | 显示全部楼层
斑竹,他用的是RH 7.2,debian的sources.list有什么用。
回复

使用道具 举报

发表于 2004-11-3 13:39:05 | 显示全部楼层
:neutral:  :neutral:
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-15 16:37 , Processed in 0.063416 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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