LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   yum grouplist doesn't work (https://www.linuxquestions.org/questions/linux-software-2/yum-grouplist-doesnt-work-646036/)

sycamorex 05-31-2008 08:11 AM

yum grouplist doesn't work
 
I've got Fedora9 (standard repos + livna). When it comes to single packages, yum works fine, however when I try to yum grouplist:

Code:

[root@fedlappy downloads]# yum grouplist
Loaded plugins: refresh-packagekit
Setting up Group Process
updates                                                                                                                              | 2.3 kB    00:00   
http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/repodata/comps.xml.gz: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirrors.vexs.net/pub/fedora/linux/releases/9/Everything/i386/os/repodata/comps.xml.gz: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.astral.ro/mirrors/fedora/pub/fedora/linux/releases/9/Everything/i386/os/repodata/comps.xml.gz: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.upjs.sk/pub/fedora/linux/releases/9/Everything/i386/os/repodata/comps.xml.gz: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirrors.linux.edu.lv/ftp.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/repodata/comps.xml.gz: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.wcss.pl/pub/linux/fedora/linux/releases/9/Everything/i386/os/repodata/comps.xml.gz: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
ftp://ftp.otenet.gr/pub/linux/fedora/linux/releases/9/Everything/i386/os/repodata/comps.xml.gz: [Errno 4] IOError: [Errno ftp error] 450 comps.xml.gz: No such file or directory
Trying other mirror.
http://ftp.rhnet.is/pub/fedora/linux/releases/9/Everything/i386/os/repodata/comps.xml.gz: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/9/Everything/i386/os/repodata/comps.xml.gz: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
^C
 Current download cancelled, interrupt (ctrl-c) again within two seconds to exit.

^C

Exiting on user cancel

thanks

bigrigdriver 06-02-2008 08:30 AM

Take a look at your yum repo list (in /etc/yum, /etc/yum.repos.d, or something similar). If the URLs list the comps.xml.gz, delete the comps.xml.gz part.

Example: change this
to this
Yum knows where to find the information it needs. All you need to do is tell yum where the repodata file is.

I tried entering a couple URLs you listed in a browser, and got errors also. I reentered the URLs without the last filename in the URL (comps.xml.gz) and the URLs worked just fine.

sycamorex 06-02-2008 02:01 PM

thanks for your reply.
I don't seem to have anything containing comps.xml.gz
These are my yum-related files:

/etc/yum/pluginconf.d/refresh-packagekit.conf
[root@fedlappy pluginconf.d]# cat refresh-packagekit.conf
Quote:

[main]
enabled=1
/etc/yum.conf

Quote:

[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
installonly_limit=2


and /etc/yum.repos.d/fedora.repo
Quote:

[fedora]
name=Fedora 9 - i386
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=i386
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[fedora-debuginfo]
name=Fedora 9 - i386 - Debug
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-9&arch=i386
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[fedora-source]
name=Fedora 9 - Source
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-9&arch=i386
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
I tried uncommenting the #baseurl lines but it did not change anything.


All times are GMT -5. The time now is 04:14 AM.