LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 804|回复: 5

FedoraCore5 没有apt-get

[复制链接]
发表于 2006-6-15 11:42:22 | 显示全部楼层 |阅读模式
以前用yum的,但是发现非常慢,尤其这个源 http://rpm.livna.org 老是连接不上,非常怀念apt-get。

google一下,结果没有发现apt-get的rpm。只是下载了apt-0.5.15lorg3.1-5.fc5.i386.rpm   
fedora-package-config-apt-5-4.noarch.rpm 这两个文件,但是安装后,apt-get update 就出现很错warning和error。

有人在FC5下用过apt-get吗?给个提示。。。谢谢
发表于 2006-6-15 12:16:16 | 显示全部楼层
先apt-get upgrade试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-15 15:50:37 | 显示全部楼层
FC5默认下没有apt,那也没有apt-get update了。。。。。。
回复 支持 反对

使用道具 举报

发表于 2006-6-15 18:07:36 | 显示全部楼层
尤其这个源 http://rpm.livna.org 老是连接不上,非常怀念apt-get。

livna 和其它源有冲突,最好不用。
用这几个就好:
dag/freshrpms/dries/newrpms/PlanetCCRMA (RPMforge)
设置可参考下面的网址。

参考:
http://www.stanton-finley.net/fe ... tion_notes.html#Yum

Special warning regarding mixing incompatible repositories for software installation and updates:

    * We will be using the program applications Yum and Yumex described below as methods to obtain software and to update your Fedora Core installation. You will be configuring these programs by adding repositories which are groups of software created by third party packagers that we use in addition to original Fedora Core and Fedora Extras repositories that come standard with your new installation.

      As you continue please keep the following in mind: You should not use the livna.org repository in conjunction with the dag/freshrpms/dries/newrpms (RPMforge) collection of rpms in your configuration files for automatic updates. Use one group or the other but not both. These two groups are mutually incompatible and can cause errors in your installation if used together for automatic updates. Regardless of which group you choose you should also avoid using the ATrpms repository in your yum or apt configuration files for these reasons. Some additional information can be found here.

      With this being said please note that it is nonetheless possible to obtain single RPM packaged applications from incompatible third party repositories in cases where such packages do not create errors when installed with yum. More specifically it is possible to configure other repositories with their enable flags set to "0" (off) so that the yum "--enablerepo" command must be used when one of those packages is desired.

      I myself subscribe to the RPMforge collection as you can see in my repository selection instructions below. The dag/freshrpms/dries/newrpms/PlanetCCRMA (RPMforge) repositories have provided me with all of the programs I have needed as additions to the Fedora base.

      To configure your Fedora Core 5 yum application to use the RPMForge repositories proceed as follows:
................
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-19 20:12:55 | 显示全部楼层
这个yum好象对我也不行
  1. [root@Heefan Heefan]# rpm --import [url]http://freshrpms.net/packages/RPM-GPG-KEY.txterror:[/url] [url]http://freshrpms.net/packages/RPM-GPG-KEY.txt:[/url] import read failed(-1).
  2. 段错误
  3. [root@Heefan Heefan]# rpm --import [url]http://freshrpms.net/packages/RPM-GPG-KEY[/url] error: [url]http://freshrpms.net/packages/RPM-GPG-KEY:[/url] import read failed(-1).
  4. rpmk: url.c:103:XurlFree: 断言“u && u->magic == 0xd00b1ed0”失败。
  5. 已放弃
  6. [root@Heefan Heefan]# rpm --import [url]http://apt.sw.be/dries/RPM-GPG-KEY.dries.txt[/url]
  7. error: [url]http://apt.sw.be/dries/RPM-GPG-KEY.dries.txt:[/url] import read failed(-1).
  8. 段错误
  9. [root@Heefan Heefan]# rpm --import [url]http://apt.sw.be/dries/RPM-GPG-KEY.dries[/url]
  10. error: [url]http://apt.sw.be/dries/RPM-GPG-KEY.dries:[/url] import read failed(0).
  11. [root@Heefan Heefan]# yum -y update
  12. Loading "installonlyn" plugin
  13. Setting up Update Process
  14. Setting up repositories
  15. dries                                                                [1/7]
  16. [url]http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/5/i386/dries/RPMS/repodata/repomd.xml:[/url] [Errno 4] IOError: <urlopen error (-3, '\xe5\x9f\x9f\xe5\x90\x8d\xe8\xa7\xa3\xe6\x9e\x90\xe6\x9a\x82\xe6\x97\xb6\xe5\xa4\xb1\xe8\xb4\xa5')>
  17. Trying other mirror.
  18. Cannot open/read repomd.xml file for repository: dries
  19. failure: repodata/repomd.xml from dries: [Errno 256] No more mirrors to try.
  20. Error: failure: repodata/repomd.xml from dries: [Errno 256] No more mirrors to try.
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-6-20 17:05:15 | 显示全部楼层
yum 安装试试,我是使用的atrpms.net的apt ,很好用
回复 支持 反对

使用道具 举报

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

本版积分规则

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