Re: yum rhn timeout error

"John Lee" <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <0c8401c826eb$79149060$8306140a@johnlee>
I'm sorry Pete, I misunderstood your question.  For some reason I though you 
had your own repository server (not RedHat's) and you were trying to use one 
of your RHEL clients to download packages from your own server.  I meant to 
run createrepo on the server, not on the client.  My apologies...


----- Original Message ----- 
From: "Peter Huskey" <[email protected]>
To: "Yellowdog Updater, Modified" <[email protected]>
Sent: Tuesday, November 13, 2007 6:52 PM
Subject: Re: [Yum] yum rhn timeout error


> Hi John
> Im not familiar w createrepo, so i may have done this incorrectly. I d/l'd 
> the createrepo app from duke and ran
> createrepo -v /etc/yum.repo.d/
> files were generated, but that didnt seem to make a difference when i 
> reran yum update
>
> I did examine the output'd primary.xml.gz file and it didnt appear to have 
> much information.  I haven't successfully ran yum yet, so its likely that 
> my local repository doesnt even exist yet.
>
> Does this make any sense?
>
> thanks
> pete
>
> On Tue, Nov 13, 2007 at 06:26:22AM -0800, John Lee wrote:
>> MessageCan you try running createrepo and re-generate the metafiles for 
>> that particular repository?
>>
>> i.e. createrepo -v /path/to/your/repodata/primary.xml.gz/
>>   ----- Original Message ----- 
>>   From: Peter Kekenes-Huskey
>>   To: [email protected]
>>   Sent: Sunday, November 11, 2007 8:08 PM
>>   Subject: [Yum] yum rhn timeout error
>>
>>
>>   Hi
>>   I'm trying to do a package update using yum for my RHEL5 system (still 
>> have an active subscription).  In a nutshell, the program hangs 
>> indefinitely when it attempts to download primary.xml.gz.  I've tried 
>> disabling my firewalls to no avail.  I can ftp to the repository at 
>> ftp.redhat.com.  Has anyone encountered this issue?  I've copied the 
>> output below and included my .repo info:
>>
>>   [root@nietzsche huskeypm]# yum install kernel-devel xorg-x11-server-sdk 
>> pkgconf
>>   ig
>>   Loading "installonlyn" plugin
>>   Loading "rhnplugin" plugin
>>   Setting up Install Process
>>   Setting up repositories
>>   rhel-i386-client-5        100% |=========================| 1.4 kB 
>> 00:00
>>   Reading repository metadata in from local files
>>   primary.xml.gz              0% |                         | 8.0 kB 
>> 03:43 ETA
>>   ...
>>   Error: failed to retrieve repodata/primary.xml.gz from 
>> rhel-i386-client-5
>>   error was [Errno -1] Metadata file does not match checksum
>>
>>   [rhel-debuginfo]
>>   name=Red Hat Enterprise Linux $releasever - $basearch - Debug
>> 
>> baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$base
>>   arch/Debuginfo/
>>   enabled=0
>>   gpgcheck=1
>>   gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
>>
>>   thanks!
>>
>>   Peter Michael Kekenes-Huskey
>>   California Institute of Technology
>>   Department of Chemistry
>>   PhD Student
>>
>>
>>   [email protected]
>>   http://pkh.caltech.edu
>>   M/C: 139-74
>>   work #: (626) 395-2843
>>
>>
>>
>>   -- 
>>   This message has been scanned for viruses and
>>   dangerous content by MailScanner, and is
>>   believed to be clean.
>>
>>
>> ------------------------------------------------------------------------------
>>
>>
>>   _______________________________________________
>>   Yum mailing list
>>   [email protected]
>>   https://lists.dulug.duke.edu/mailman/listinfo/yum
>
>> _______________________________________________
>> Yum mailing list
>> [email protected]
>> https://lists.dulug.duke.edu/mailman/listinfo/yum
>
> _______________________________________________
> Yum mailing list
> [email protected]
> https://lists.dulug.duke.edu/mailman/listinfo/yum
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.