OpenVZ Forum


Home » Mailing lists » Users » yum: [Errno -3] Error performing checksum
yum: [Errno -3] Error performing checksum [message #43487] Fri, 16 September 2011 05:36 Go to next message
knawnd is currently offline  knawnd
Messages: 27
Registered: April 2011
Junior Member
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.
openvz-utils/primary
| 2.7 kB 00:00
http://openvz-mirror1.rapidvps.com/current/repodata/primary. xml.gz:
[Errno -3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://ftp.iij.ad.jp/pub/openvz/current/repodata/primary.xml .gz: [Errno
-3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirror.yandex.ru/mirrors/download.openvz.org/current/ repodata/primary.xml.gz:
[Errno -3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://ftp.wicks.co.nz/pub/openvz/current/repodata/primary.x ml.gz:
[Errno -3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://openvz.proserve.nl/current/repodata/primary.xml.gz: [Errno -3]
Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirrors.xservers.ro/openvz/current/repodata/primary.x ml.gz:
[Errno -3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirror.as24220.net/openvz/current/repodata/primary.xm l.gz: [Errno
-3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirrors.ircam.fr/openvz/current/repodata/primary.xml. gz: [Errno
-3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirror.ubiquityservers.com/openvz/current/repodata/pr imary.xml.gz: [Errno
-3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://openvz.tsukuba.wide.ad.jp/current/repodata/primary.xm l.gz: [Errno
-3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://openvz.copahost.com/current/repodata/primary.xml.gz: [Errno -3]
Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://openvz.mirror.netriplex.com/current/repodata/primary. xml.gz:
[Errno -3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirror.steadfast.net/openvz/current/repodata/primary. xml.gz:
[Errno -3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirror.europhase.net/openvz/current/repodata/primary. xml.gz:
[Errno -3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirror.duomenucentras.lt/openvz/current/repodata/prim ary.xml.gz:
[Errno -3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirror.trouble-free.net/openvz/current/repodata/prima ry.xml.gz:
[Errno -3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirror.datacenter.by/pub/download.openvz.org/current/ repodata/primary.xml.gz:
[Errno -3] Error performing checksum
Trying other mirror.
http://ftp.yz.yamagata-u.ac.jp/pub/openvz/current/repodata/p rimary.xml.gz:
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name
resolution')>
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirror.ihc.ru/download.openvz.org/current/repodata/pr imary.xml.gz: [Errno
-3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 0 B 00:29 ...
http://mirrors.thzhost.com/openvz/current/repodata/primary.x ml.gz:
[Errno 4] Socket Error: timed out
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirrors.adnettelecom.ro/openvz/current/repodata/prima ry.xml.gz:
[Errno -3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirror.ellogroup.com/openvz/current/repodata/primary. xml.gz:
[Errno -3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://lnx.apollo-hw.ro/openvz/current/repodata/primary.xml. gz: [Errno
-3] Error performing checksum
Trying other mirror.
openvz-utils/primary
| 2.7 kB 00:00
http://mirror.yourconnect.com/openvz/current/repodata/primar y.xml.gz:
[Errno -3] Error performing checksum
Trying other mirror.
repo id repo name
status
openvz-kernel-rhel6 OpenVZ RHEL6-based kernel
8
openvz-utils OpenVZ
utilities 0
sl-base SL 5
base 0
sl-security SL 5 security
updates 0
repolist: 8


If I disable openvz* repos yum works fine:
$ yum repolist --disablerepo=openvz-utils --disablerepo=openvz-kernel-rhel6
Loaded plugins: kernel-module
repo id repo name
status
sl-base SL 5 base
3,702
sl-security SL 5 security
updates 27
repolist: 3,729

10 hours ago the problem with openvz* repos was the same.
Any help on that?

Regards,
Nikolay.
Re: yum: [Errno -3] Error performing checksum [message #43488 is a reply to message #43487] Fri, 16 September 2011 05:58 Go to previous messageGo to next message
Einar S. Ids is currently offline  Einar S. Ids
Messages: 6
Registered: August 2011
Junior Member
On Fri, Sep 16, 2011 at 7:36 AM, <knawnd@gmail.com> wrote:
> Hi!
>
> OpenVZ mirrors are not available:

Hi Nikolay,

They work fine here. I just did a yum update to test, and new data was
downloaded and processed, and a few new packages are to be updated. It
seems like there is something else wrong with your system, perhaps? I
am not well versed in these things, but the failure to perform
checksum is the first thing I would investigate in your case.

Cheers,
Einar
Re: yum: [Errno -3] Error performing checksum [message #43490 is a reply to message #43488] Fri, 16 September 2011 06:05 Go to previous messageGo to next message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
On Fri, Sep 16, 2011 at 08:58, Einar S. Idsø
<einar.openvz@norsk-esport.no> wrote:
> On Fri, Sep 16, 2011 at 7:36 AM,  <knawnd@gmail.com> wrote:
>> Hi!
>>
>> OpenVZ mirrors are not available:
>
> Hi Nikolay,
>
> They work fine here. I just did a yum update to test, and new data was
> downloaded and processed, and a few new packages are to be updated. It
> seems like there is something else wrong with your system, perhaps? I
> am not well versed in these things, but the failure to perform
> checksum is the first thing I would investigate in your case.
>
> Cheers,
> Einar

you can have cached yum data

I can confirm about problem. happens before and after yum clean all
Re: yum: [Errno -3] Error performing checksum [message #43491 is a reply to message #43487] Fri, 16 September 2011 06:23 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

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.

Kir.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: yum: [Errno -3] Error performing checksum [message #43492 is a reply to message #43490] Fri, 16 September 2011 06:25 Go to previous messageGo to next message
Einar S. Ids is currently offline  Einar S. Ids
Messages: 6
Registered: August 2011
Junior Member
On Fri, Sep 16, 2011 at 8:05 AM, helpaz <helpaz@gmail.com> wrote:
> you can have cached yum data
>
> I can confirm about problem. happens before and after yum clean all

Shouldn't the below procedure replicate the problem? Please let me
know if there's anything else I can do to test/verify the issue.

Cheers,
Einar

[root@portal1 ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@portal1 ~]# yum repolist
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: ftp.uninett.no
* extras: ftp.uninett.no
* openvz-kernel-rhel6: mirror.duomenucentras.lt
* openvz-utils: mirror.duomenucentras.lt
* updates: ftp.uninett.no
base
| 3.7 kB
00:00
base/primary_db
| 4.2 MB
00:00
extras
| 951 B
00:00
extras/primary
| 203 B
00:00
openvz-kernel-rhel6
| 951 B
00:00
openvz-kernel-rhel6/primary
| 2.6 kB
00:00
openvz-kernel-rhel6

8/8
openvz-utils
| 1.3 kB
00:00
openvz-utils/primary
| 2.7 kB
00:00
openvz-utils

8/8
updates
| 3.5 kB
00:00
updates/primary_db
| 3.3 MB
00:00
repo id
repo name
status
base
CentOS-6 - Base
6,019
extras
CentOS-6 - Extras
0
openvz-kernel-rhel6
OpenVZ RHEL6-based kernel
8
openvz-utils
OpenVZ utilities
8
updates
CentOS-6 - Updates
1,042
repolist: 7,077
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 next 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
Re: yum: [Errno -3] Error performing checksum [message #43494 is a reply to message #43492] Fri, 16 September 2011 06:37 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

On 09/16/2011 10:25 AM, Einar S. Idsø wrote:
> On Fri, Sep 16, 2011 at 8:05 AM, helpaz<helpaz@gmail.com> wrote:
>> you can have cached yum data
>>
>> I can confirm about problem. happens before and after yum clean all
> Shouldn't the below procedure replicate the problem? Please let me
> know if there's anything else I can do to test/verify the issue.
>

Einar,

You are using newer yum from CentOS 6, so you don't see the problem.
The problem was only for yum-3.0 users, and I hope it will go away now
as mirrors will sync.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: yum: [Errno -3] Error performing checksum [message #43495 is a reply to message #43493] Fri, 16 September 2011 06:43 Go to previous message
knawnd is currently offline  knawnd
Messages: 27
Registered: April 2011
Junior Member
Kir Kolyshkin wrote on 16/09/11 10:35:
> 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:
That's exactly what I did.

Thanks, Kir!

Regards,
Nikolay.
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: Thu Mar 28 15:53:25 GMT 2024

Total time taken to generate the page: 0.01746 seconds