Koozali.org formerly Contribs.org

"yum" gives error!! (SEM7b1)

fargo

"yum" gives error!! (SEM7b1)
« on: August 30, 2005, 08:12:26 PM »
When I type:

Code: [Select]
yum -y install openssl-devel

I get:
Code: [Select]
Setting up Install Process
Setting up Repos
smeaddons                 100% |=========================|  951 B    00:00
smeupdates                100% |=========================|  951 B    00:00
updates                   100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
contrib                   100% |=========================|  951 B    00:00
smeos                     100% |=========================|  951 B    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  46 kB    00:02
http://mirror.centos.org/centos/4/updates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from updates: [Errno 256] No more mirrors to try.


Any help please?

Thank you.

fargo

"yum" gives error!! (SEM7b1)
« Reply #1 on: August 30, 2005, 08:16:02 PM »
I tried to install other packages also and got the same error. Even "yum info [package]" returns the same error.

Re: "yum" gives error!! (SEM7b1)
« Reply #2 on: August 30, 2005, 10:39:13 PM »
Quote from: "fargo"

Any help please?


Bug tracker for all 7.0beta issues can be found via http://smeserver.sourceforge.net/.

Thanks.

fargo

"yum" gives error!! (SEM7b1)
« Reply #3 on: August 30, 2005, 10:52:18 PM »
Ok, I solved this :)

SME 7 beta 1 (and I think beta 2 also) uses wrong repos. The server is based on CentOS 4.1 while it is using repos of 4 !!

The yum.conf is built from SME DB. I couldn't reach that db, so I did this:

Code: [Select]
cp /etc/yum.conf ~/my.yum.conf

After that, I ran:

Quote
pico -w ~/my.yum.conf


and replaced every occurrence of /4/ with /4.1/

Then, I ran:

Quote
yum -c ~/my.yum.conf info openssl-devel


and it worked :)

"yum" gives error!! (SEM7b1)
« Reply #4 on: August 31, 2005, 02:46:32 AM »
Quote from: "fargo"
Ok, I solved this :)


Please post your solution into the bug tracker! OK?