yum no longer working - but yumex does?
Hi all,
I have a strange problem that just started. If I run 'yum update' it eventually times out or just hangs when it gets to "Setting up repositories". However, if I use yumex it will work. I have no idea why this is since I thought that yumex used the same repositories and configuration as yum. Any ideas? This is FC4 by the way... Here's the repos: -rw-r--r-- 1 root root 603 Jul 24 2005 atrpms.repo -rw-r--r-- 1 root root 321 Nov 29 2005 dag.repo -rw-r--r-- 1 root root 175 Nov 29 2005 dries.repo -rw-r--r-- 1 root root 1123 Jun 3 2005 fedora-devel.repo -rw-r--r-- 1 root root 312 Jun 3 2005 fedora-extras-devel.repo -rw-r--r-- 1 root root 299 Jun 3 2005 fedora-extras.repo -rw-r--r-- 1 root root 294 Jun 3 2005 fedora.repo -rw-r--r-- 1 root root 330 Jun 3 2005 fedora-updates.repo -rw-r--r-- 1 root root 337 Jun 3 2005 fedora-updates-testing.repo -rw-r--r-- 1 root root 279 Jul 24 2005 flash.repo -rw-r--r-- 1 root root 270 Jul 25 2005 freshrpms.repo -rw-r--r-- 1 root root 1152 Jul 24 2005 jpackage.repo -rw-r--r-- 1 root root 1602 Jul 25 2005 kde-redhat.repo -rw-r--r-- 1 root root 513 Nov 29 2005 livna.repo -rw-r--r-- 1 root root 236 Jul 25 2005 newrpms.repo |
a list of filenames is of no use at all... what actaully happens when you run the yum command? show us the console output.
|
Here you go...
Setting up Update Process Setting up repositories Cannot find a valid baseurl for repo: livna Error: Cannot find a valid baseurl for repo: livna Looks like the livna.repo is porked. I have not modified it. This being the case, below is the livna.repo: [livna] name=Livna.org - Fedora Compatible Packages (stable) #baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn/ mirrorlist=http://rpm.livna.org/mirrorlist gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna enabled=1 [livna-testing] name=Livna.org - Fedora Compatible Packages (testing) #baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn-testing mirrorlist=http://rpm.livna.org/mirrorlist-testing gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna enabled=0 Should the baseurl be commented out? |
Uncomment the baseurl section for the livna repo. The entry for livna should then look like this
Code:
[livna] |
That did the trick, I still wonder how it was comment out to begin with.
Thanks for all the help. |
it was commented out in favour of the mirrorlist: http://rpm.livna.org/mirrorlist a list that you do not need to maintain yourself. the mirrorlist file there looks totally valid though...
|
All times are GMT -5. The time now is 04:53 PM. |