CentOS frissites 5.4-rol 5.8-ra

Sziasztok,
valamikor par honapja az egyik gepen CentOS 32bit 5.4-et tettem fel es sikeresen megment az update 5.8-ra.
Most uj gepet istallaltam es nem megy az update.
A kovetkezo hibat kapom:

# yum list updates
updates/primary_db | 474 kB 00:00
http://mirror.ovh.net/ftp.centos.org/5.8/updates/i386/repodata/primary… [Errno -1] Metadata file does not match checksum
Trying other mirror.
updates/primary_db | 474 kB 00:00
http://mirror.ate.info/ftp.centos.org/5.8/updates/i386/repodata/primary… [Errno -1] Metadata file does not match checksum
Trying other mirror.
updates/primary_db | 474 kB 00:00
http://fr2.rpmfind.net/linux/centos/5.8/updates/i386/repodata/primary.s… [Errno -1] Metadata file does not match checksum
Trying other mirror.
...
http://centos.intergenia.de/5.8/updates/i386/repodata/primary.sqlite.bz… [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.

Probaltam mar ujra yum clean all parancs utan ujbol frissiteni, de nem megy.

/etc/hosts-ba ez a sor van beirva, de nem is pingelheto:
204.15.73.243 mirrorlist.centos.org

Vannak meg mas centos mirrorok?

Ja, ha weben megnezek egy mirror konyvtarat, pl.http://ftp.sh.cvut.cz/MIRRORS/centos/5.4/readme, akkor ezt olvasom:
===
This directory (and version of CentOS) is depreciated. For normal users,
you should use /5/ and not /5.4/ in your path. Please see this FAQ
concerning the CentOS release scheme:

http://www.centos.org/modules/smartfaq/faq.php?faqid=34

If you know what you are doing, and absolutely want to remain at the 5.4
level, go to http://vault.centos.org/ for packages. Please keep in mind that 5.4 no longer gets any updates
===

Hasonlokeppen 5.5, 5.6, 5.7-re.
A http://www.centos.org/modules/smartfaq/faq.php?faqid=34-et nem talalom.
Hol allitom at /5/-re /5.4/-rol?

Koszi a segitseget.
Ardi

Hozzászólások

Ha régebbi csomagokra van szükséged, akkor innen tudod beszerezni:

http://vault.centos.org/

Szerk.: nem olvastam végig a leírást, de benne is van a válasz:

Idézet:

If you know what you are doing, and absolutely want to remain at the 5.4
level, go to http://vault.centos.org/ for packages. Please keep in mind that 5.4 no longer gets any updates"

Koszi szepen a valaszt.
En vegigolvastam, csakhogy a bibi az, hogy a rendszerre biznam, hogy 5.4-rol 5.8-ra update-eljen es megsem mukodik.

Es a bibi az, hogy e regi rendszer, ahol mar 5.8 van, szinten hasonlo problemat jelez.
Itt valami halozati beallitassal lesz a problema...
Meg keresgelek.

Ardi

Hali,

Az /etc/yum.repos.d/ alatt talalod az osszes repo-t.
Nyisd meg a CentOS-base repo-t es szerkeszd at, ugy hogy vedd ki a mirrorlist sort es add hozza a baseurl-t.

A baseurl-ben pedig add hozza barmelyik centos mirrort, ahol van meg 5-os mondjuk ezt: http://mirror.de.leaseweb.net/centos/5/updates/

Ezenkivul meg hasznalhatod a cr repo-t, ami a regi releasekhez ad hozza javitasokat az uj repo-k bol.
Keress ra a continuous repo, vagy cr-repo szavakra.

Valamint vedd ki a hosts-bol a centos bejegyzest. A nevfeoldas automatikus, hacsak nem lokal repo-t hasznalsz, lokal szerverrol.

Hello okcomputer44,

igy gondoltad?

#pwd
/etc/yum.repos.d
#vi CentOS-Base.repo

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/

helyett

[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/

vagy esetleg

[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://mirror.de.leaseweb.net/centos/5/updates/

Ardi