[Yum] Intermittent yum problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  I am having intermittent problems with yum on multiple computers at
different times. I had this happen on a server before, and it seemed to
go away on it's own. I have tried cleaning out, ( rm -
rf /var/cache/yum/* ) /var/cache/yum without results. I am using the
same configuration files on other servers that work just fine at the
same time I am having a problem on one server. I have compared the
md5sums, and run rpm -V yum. I am using my own rpm for yum to include my
own configuration file. Yum doesn't seem to be running in the background
at the time to cause the problem. This last time it is on the server
that runs the repository. So it should be talking to itself to download
files. The version is yum-2.0.7-1.2.1 running on Fedora Core 2 servers.
I did check for updated yum packages. I have attached the configuration
file.

[root@monitor ~]$ yum -y update
Traceback (most recent call last):
  File "/usr/bin/yum", line 30, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum/yummain.py", line 163, in main
    (log, errorlog, filelog, conf, cmds) = parseCmdArgs(args)
  File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs
    conf=yumconf(configfile=yumconffile)
  File "/usr/share/yum/config.py", line 155, in __init__
    self.yumvar['releasever'] = self._getsysver()
  File "/usr/share/yum/config.py", line 291, in _getsysver
    hdr = idx.next()
StopIteration



-------------- next part --------------
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1
retries=20

[fedora-os]
name=Fedora Core $releasever - $basearch - Base
baseurl=
   http://yum.domain.net/$releasever/os/
   http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
   http://download.fedora.us/fedora/fedora/$releasever/i386/RPMS.os/
   ftp://ftp.dulug.duke.edu/pub/fedora/linux/core/$releasever/i386/os/
gpgcheck=1
failovermethod=priority

[fedora-updates]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=
   http://yum.domain.net/$releasever/updates/
   http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
   http://download.fedora.us/fedora/fedora/$releasever/i386/RPM.updates/
   ftp://ftp.dulug.duke.edu/pub/fedora/linux/core/updates/$releasever/i386/
gpgcheck=1
failovermethod=priority

[fedora-testing]
name=Fedora Core $releasever - $basearch - Testing
baseurl=
   http://yum.domain.net/$releasever/testing/
   http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/i386/
   http://download.fedora.us/fedora/fedora/$releasever/i386/RPMS.updates-testing/
   ftp://ftp.dulug.duke.edu/pub/fedora/linux/core/updates/testing/$releasever/i386/
gpgcheck=1
failovermethod=priority

[yum-server]
name=Mesh Linux / server for Fedora Core $releasever
baseurl=http://yum.domain.net/$releasever/server/
gpgcheck=1

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux