[K12OSN] Problem connecting to K12EL4.2 repository

Eric Harrison eharrison at mail.mesd.k12.or.us
Fri May 12 20:32:36 UTC 2006


On Fri, 12 May 2006, Petre Scheie wrote:

> Petre Scheie wrote:
>> Eric Harrison wrote:
>>> On Sun, 7 May 2006, Petre Scheie wrote:
>>> 
>>>> Eric Harrison wrote:
>>>> 
>>>>> On Sat, 6 May 2006, Petre Scheie wrote:
>>>>> 
>>>>>> 
>>>>>> Eric Harrison wrote:
>>>>>> 
>>>>>>> Petre Scheie wrote:
>>>>>>> 
>>>>>>>> Not sure if this is related or not, but I tried to run yum update on 
>>>>>>>> my
>>>>>>>> 5.0 beta 1 box and got this error:
>>>>> 
>>>>> 
>>>>> 
>>>>> Hmmm, this might be bug #188926 since the gcompris-* packages are in
>>>>> both the K12LTSP and the Fedora Extra repositories.
>>>>> 
>>>>>    https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=188926
>>>>> 
>>>>> Try running this command:
>>>>> 
>>>>>     yum --disablerepo=extras update
>>>>> 
>>>> Nope, I still get the same error.
>>>> 
>>>> Petre
>>>> 
>>> 
>>> Hmmm. Ok, first lets make sure that we minimize that this as a yum bug by
>>> updating the the latest package:
>>> 
>>>     yum install yum
>>> 
>>> Once that is installed, then try updating again:
>>> 
>>>     yum clean all
>>>     yum update
>>> 
>>> If any of these give you an error, can you post the whole output?
>>> 
>>> -Eric
>> 
>> After running 'yum install yum' and 'yum clean all', I'm getting a new error 
>> when I run 'yum update'.  Here's the whole output as requested:
>> [root at elk ~]# yum update
>> Loading "installonlyn" plugin
>> Setting up Update Process
>> Setting up repositories
>> livna                                                                [1/6]
>> livna                     100% |=========================|  951 B 00:00
>> core                                                                 [2/6]
>> core                      100% |=========================| 1.1 kB 00:00
>> k12ltsp                                                              [3/6]
>> k12ltsp                   100% |=========================| 1.1 kB 00:00
>> updates                                                              [4/6]
>> updates                   100% |=========================|  951 B 00:00
>> webmin                                                               [5/6]
>> webmin                    100% |=========================|  951 B 00:00
>> extras                                                               [6/6]
>> extras                    100% |=========================| 1.1 kB 00:00
>> Reading repository metadata in from local files
>> primary.xml.gz            100% |=========================|  97 kB 00:00
>> livna     : ################################################## 295/295
>> Added 295 new packages, deleted 0 old in 11.74 seconds
>> primary.xml.gz            100% |=========================| 767 kB 00:05
>> core      : ################################################## 2207/2207
>> Added 2207 new packages, deleted 0 old in 64.37 seconds
>> primary.xml.gz            100% |=========================| 1.0 MB 00:35
>> k12ltsp   : ################################################## 3455/3455
>> Added 3455 new packages, deleted 0 old in 108.02 seconds
>> primary.xml.gz            100% |=========================| 313 kB 00:02
>> updates   : ################################################## 1000/1000
>> Added 1000 new packages, deleted 0 old in 36.99 seconds
>> primary.xml.gz            100% |=========================|  969 B 00:00
>> webmin    : ################################################## 2/2
>> Added 2 new packages, deleted 0 old in 0.07 seconds
>> ftp://mirror.newnanutilities.org/pub/fedora/linux/extras/5/i386/repodata/primary.xml.gz: 
>> [Errno 4] IOError: [Errno ftp error] 421 There are too many connected users, 
>> please try later.
>> Trying other mirror.
>> primary.xml.gz            100% |=========================| 1.1 MB 00:13
>> http://mirror.linux.duke.edu/pub/fedora/linux/extras/5/i386/repodata/primary.xml.gz: 
>> [Errno -1] Metadata file does not match checksum
>> Trying other mirror.
>> primary.xml.gz            100% |=========================| 958 kB 00:06
>> ftp://fedora.mirrors.tds.net/pub/fedora-core-extras/5/i386/repodata/primary.xml.gz: 
>> [Errno -1] Metadata file does not match checksum
>> Trying other mirror.
>> primary.xml.gz            100% |=========================| 1.0 MB 00:06
>> http://www.gtlib.cc.gatech.edu/pub/fedora.redhat/linux/extras/5/i386/repodata/primary.xml.gz: 
>> [Errno -1] Metadata file does not match checksum
>> Trying other mirror.
>> primary.xml.gz            100% |=========================| 1.1 MB 00:06
>> ftp://fedora.bu.edu/fedora/extras/5/i386/repodata/primary.xml.gz: [Errno -1] 
>> Metadata file does not match checksum
>> Trying other mirror.
>> http://mirror.clarkson.edu/pub/distributions/fedora/linux/extras/5/i386/repodata/primary.xml.gz: 
>> [Errno 14] HTTP Error 404: Date: Sun, 07 May 2006 17:40:58 GMT
>> Server: Apache/2.0.52 (Red Hat)
>> Content-Length: 352
>> Connection: close
>> Content-Type: text/html; charset=iso-8859-1
>> Trying other mirror.
>> primary.xml.gz            100% |=========================| 1.1 MB 00:07
>> http://download.fedora.redhat.com/pub/fedora/linux/extras/5/i386/repodata/primary.xml.gz: 
>> [Errno -1] Metadata file does not match checksum
>> Trying other mirror.
>> primary.xml.gz            100% |=========================| 1.1 MB 01:22
>> http://mirror.hiwaay.net/redhat/fedora/linux/extras/5/i386/repodata/primary.xml.gz: 
>> [Errno -1] Metadata file does not match checksum
>> Trying other mirror.
>> Error: failure: repodata/primary.xml.gz from extras: [Errno 256] No more 
>> mirrors to try.
>> 
>> Thanks Eric.
>> 
> I'm still getting this same error.  Any suggestions?
>
> Petre

Any chance that you have a caching proxy server? Maybe that cache is
stale?

Assuming that is the issue, and you can't flush out the proxy cache, I'd
try setting up a single FTP repository and try updating off of that. Such as:

/etc/yum.repos.d/test.repo

[test]
name=test
baseurl=ftp://k12linux.mesd.k12.or.us/pub/K12LTSP/testing/5.0.0-64bit/
gpgkey=http://k12linux.mesd.k12.or.us/K12LTSP-GPG-KEY
        http://k12linux.mesd.k12.or.us/BETA-RPM-GPG-KEY
        http://k12linux.mesd.k12.or.us/FEDORA-GPG-KEY
        http://k12linux.mesd.k12.or.us/FEDORA-LEGACY-GPG-KEY
        http://k12linux.mesd.k12.or.us/RPM-GPG-KEY
        http://k12linux.mesd.k12.or.us/RPM-GPG-KEY-fedora
        http://k12linux.mesd.k12.or.us/RPM-GPG-KEY-fedora-test
enabled=0
gpgcheck=1


and then I'd run:

     yum --enablerepo=test --disablerepo=updates --disablerepo=k12ltsp --disablerepo=core --disablerepo=extras --disablerepo=webmin --disablerepo=macromedia update


-Eric




More information about the K12OSN mailing list