OpenVZ Forum


Home » Mailing lists » Users » yum: [Errno -3] Error performing checksum
Re: yum: [Errno -3] Error performing checksum [message #43493 is a reply to message #43491] Fri, 16 September 2011 06:35 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

On 09/16/2011 10:23 AM, Kir Kolyshkin wrote:
> On 09/16/2011 09:36 AM, knawnd@gmail.com wrote:
>> Hi!
>>
>> OpenVZ mirrors are not available:
>> $ wget http://download.openvz.org/openvz.repo -P /etc/yum.repos.d/
>>
>> $ date; yum repolist
>> Fri Sep 16 08:36:47 MSK 2011
>> Loaded plugins: kernel-module
>> openvz-utils/primary
>> | 2.7 kB 00:00
>> http://download.openvz.org/current/repodata/primary.xml.gz: [Errno -3]
>> Error performing checksum
>> Trying other mirror.
>> <.....>
>>
>> 10 hours ago the problem with openvz* repos was the same.
>>
> OK I can acknowledge there is a problem for yum-3.0 users. I reproduced
> it using CentOS 5 host.
>
> The thing is, we have upgraded download.openvz.org to use CentOS 6, and
> by default its
> createrepo uses sha256 for checksumming, which yum-3.0 does not understand.
>
> The fix is to use -s sha argument to createrepo. I have just updated
> download.openvz.org.
> Mirrors should follow within hours.
>
> Sorry for the inconvenience.

Also, if you don't want to wait for mirrors, comment out 'mirrorlist='
line and uncomment 'baseurl=' line in [openvz-utils] entry in
/etc/yum.repos.d/openvz.repo, so it will look like this:

[openvz-utils]
name=OpenVZ utilities
baseurl=http://download.openvz.org/current/
#mirrorlist=http://download.openvz.org/mirrors-current
enabled=1
gpgcheck=1
gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Scientific Linux 5.7 OS Templates in contrib
Next Topic: OpenVPN, IPTables, NAT Issues with UDP Translation after IP Change
Goto Forum:
  


Current Time: Sun Apr 28 12:54:35 GMT 2024

Total time taken to generate the page: 0.02181 seconds