LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: wingtrace

关于FC5的“添加删除程序”的软件包下载问题

[复制链接]
发表于 2006-10-13 22:13:02 | 显示全部楼层

如果是单个软件包该怎么办?

我是说从网上下载的单个文件。按照上面的方法可以安装一部分软件包,但还是有一些无法安装。这个问题我看了一个国外论坛   http://www.linuxforums.org/forum ... ght=unable+retrieve   上面说这是fc5的一个已报告的bug
上面给了一个链接  http://arindamlahiri.blogspot.com/
该页面给了一个解决方法
Fedora-Core-5-local-install]
name=Fedora Core $releasever - $basearch
baseurl=file:///var/yum
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

and changed all the other enabled=1 to enabled=0 in this file and all the files with *.repo in /etc/yum.repos.d/ and then I have been able to install packages using Add/Remove Software (Pirut) ever since.

Please note :- Don't forget to copy repodata folder in FC 5 disk 1 or you would be seeing repomd.xml error.

上面是不是把指定目录修改了一下,这样能安装单个文件吗?
回复 支持 反对

使用道具 举报

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

本版积分规则

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