can't install debug rpm with yum.

David Timms dtimms at bigpond.net.au
Sat Jun 10 05:22:49 UTC 2006


seth vidal wrote:
> On Sat, 2006-06-10 at 14:47 +1000, David Timms wrote:
> Test what happens when it parses it before you keep spreading this
> around.
OK, my first test succeed when it shouldn't have. What I had done now:
- copied all my .repo files to /etc/yum.repos.d/original, deleting my 
customised ones from /etc/yum.repos.d.
# rpm -Uvh --replacepkgs fedora-release-5-5.noarch.rpm
so that I had stock FC5 .repos.

I then modified fedora-development.repo by
[development-debuginfo]
name=Fedora Core - Development - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/debug/
mirrorlist=http://fedora.redhat.com/Download/mirrors/fedora-core-rawhide-debug

# yum --enablerepo=development-debuginfo install gkrellm-debuginfo
===result:
yum --enablerepo=development-debuginfo install gkrellm-debuginfo
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
development-debuginfo                                                [1/4]
http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/os/debug/repodata/repomd.xml: 
[Errno 14] HTTP Error 404: Date: Sat, 10 Jun 2006 05:01:54 GMT
Server: Apache
Last-Modified: Sat, 10 Jun 2006 04:46:57 GMT
ETag: "b7ea0-105b-448a4ec1"
Accept-Ranges: bytes
Content-Length: 4187
Content-Type: text/html
Trying other mirror.
http://mirror.pacific.net.au/linux/fedora/linux/core/development/i386/os/debug/repodata/repomd.xml: 
[Errno 14] HTTP Error 404: Date: Sat, 10 Jun 2006 05:01:54 GMT
Server: Apache/2.0.54 (Debian GNU/Linux)
Content-Length: 364
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
Cannot open/read repomd.xml file for repository: development-debuginfo
failure: repodata/repomd.xml from development-debuginfo: [Errno 256] No 
more mirrors to try.
Error: failure: repodata/repomd.xml from development-debuginfo: [Errno 
256] No more mirrors to try.
===
 > yum parses it. realizes it is not a repomd.xml file and moves to the
 > next mirror.
Agreed. Nothing to see here in terms of yum :)

Except that there is only two mirrors in the mirrorlist, both are 
incorrectly defined. Therefore the process fails to install what the 
user tried. The fault lies with the mirrorlist as defined in:
http://fedora.redhat.com/Download/mirrors/fedora-core-rawhide-debug
whereas:
http://fedora.redhat.com/download/mirrors/fedora-core-rawhide-debug
is correct  ;)

DaveT.




More information about the fedora-devel-list mailing list