|
发表于 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.
上面是不是把指定目录修改了一下,这样能安装单个文件吗? |
|