Sébastien - I tried  your recommendation but I got the same errors.  Then I 
kill the createrepo command and I tried giving the command a second time and 
now it can not find 'createrepo'

Brian - I tried your recommendations and I still got:
Error: failed to 
retrieverepodata/b3ccd2d46c872bb55acd728f368fe07e365b695e-primary.xml.gz from 
rhel-x86_64-server-5
error was [Errno -1] Metadata file does not match checksum

I will try to see if setting the server for updates via the rhn site works.

If this does not work then I will open a tocket.

Thanks

Néstor 

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Brian M. Hamrick
Sent: Wednesday, June 03, 2015 12:35 PM
To: [email protected]
Subject: Re: yum update not working

Hi Nestor,
We recently addressed an issue with RHN that could be contributing to your 
situation.  The issue has been identified and corrected. If you could please 
try running these steps and seeing if it addresses your issue I would 
appreciate it.

# yum clean all
# rm -rf /var/cache/yum/*
# yum update

If you still have issues after this please open up a support case at 
access.redhat.com and we can continue assisting you.

Thank you!
Brian Hamrick, RHCE
Red Hat Global Support Services

On 06/03/2015 03:03 PM, Sébastien Mureau wrote:
> And :
>
> createrepo --checksum sha /path/to/repo
>
> yum clean all
>
> It's done ?
>
> 2015-06-03 20:32 GMT+02:00 Florez, Nestor <[email protected]>:
>> $ sudo yum clean all
>>
>> Loaded plugins: rhnplugin, security
>>
>> Cleaning up Everything
>>
>>
>>
>> $ sudo yum makecache
>>
>> Error: failed to retrieve
>> repodata/b3ccd2d46c872bb55acd728f368fe07e365b695e-primary.xml.gz from
>> rhel-x86_64-server-5
>>
>> error was [Errno -1] Metadata file does not match checksum
>>
>>
>>
>> J
>>
>>
>>
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of "Michal 
>> Kulling | IQ.pl"
>> Sent: Wednesday, June 03, 2015 11:04 AM
>> To: [email protected]
>> Subject: Re: yum update not working
>>
>>
>>
>> # yum clean all
>> # yum makecache
>>
>> W dniu 03.06.2015 o 19:56, Florez, Nestor pisze:
>>
>> I have 2 systems entitled on the  rh.redhat.com
>>
>> yet when I do the command:
>>
>> $ sudo yum update
>>
>> Loaded plugins: rhnplugin, security
>>
>> This system is receiving updates from RHN Classic or RHN Satellite.
>>
>> Skipping security plugin, no data
>>
>> Setting up Update Process
>>
>> No Packages marked for Update
>>
>>
>>
>> But in the rhn site,  my 2 systems show packages ready to be updated
>>
>>
>>
>> I tried it several times and then I finally set up the update from 
>> within
>>
>> rhn.redhat.com
>>
>>
>>
>> I was wondering if any of you guys ever had this problem?
>>
>>
>>
>> Thanks,
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> redhat-sysadmin-list mailing list
>>
>> [email protected]
>>
>> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
>>
>>
>>
>> --
>>
>> IQ PL Sp. z o.o.
>>
>>
>>
>> Michał Kulling
>>
>> Administrator Systemowy
>>
>> e-mail: [email protected]
>>
>>
>>
>> Dział Pomocy : http://www.iq.pl/pomoc
>>
>>
>> --
>> redhat-sysadmin-list mailing list
>> [email protected]
>> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
>
>

--
redhat-sysadmin-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list

--
redhat-sysadmin-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list

Reply via email to