Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: smef@n on December 18, 2008, 01:36:35 PM

Title: RESOLVED Yum not updating
Post by: smef@n on December 18, 2008, 01:36:35 PM
Hi,
I installed SME version 7.4 and then the first think I did was "yum update".

I performed the following steps:
yum clear all
yum update

and I got the following response:

==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Cleaning up xml metadata
18 metadata files removed
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@mail1 ~]# yum clean all
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Cleaning up Everything
0 headers removed
0 packages removed
0 metadata files removed
0 cache files removed
5 cache files removed
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@mail1 ~]# yum update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
smeaddons                 100% |=========================|  951 B    00:00
smeextras                 100% |=========================| 1.9 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
smeos                     100% |=========================| 1.9 kB    00:00
smeupdates                100% |=========================| 1.9 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  186 B    00:00
primary.xml.gz            100% |=========================|  20 kB    00:00
smeextras : ################################################## 61/61
primary.xml.gz            100% |=========================| 608 kB    00:52
base      : ################################################## 1591/1591
primary.xml.gz            100% |=========================|  80 kB    00:07
updates   : ################################################## 289/289
primary.xml.gz            100% |=========================| 264 kB    00:03
smeos     : ################################################## 543/543
primary.xml.gz            100% |=========================| 3.7 kB    00:00
http://smemirror.fullnet.co.uk/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 3.7 kB    00:00
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 3.7 kB    00:00
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 3.7 kB    00:00
http://sme-mirror.voxteneo.com/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 3.7 kB    00:00
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 3.7 kB    00:00
http://mirror.pacific.net.au/linux/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from smeupdates: [Errno 256] No more mirrors to try.
================================================================
No new rpms were installed. No additional commands are required.
================================================================

Can somebody help me in troubleshooting this issue of failure of yum update.

thanks
Title: Re: Yum not updating
Post by: cactus on December 18, 2008, 04:00:29 PM
And you are sure you can connect to the internet from your server?
Title: Re: Yum not updating
Post by: cactus on December 18, 2008, 04:01:46 PM
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Cleaning up xml metadata
18 metadata files removed
================================================================
No new rpms were installed. No additional commands are required.
================================================================
I see no error here, this just means you have no updates waiting and your server is up to date.
Title: Re: Yum not updating
Post by: CharlieBrady on December 18, 2008, 10:50:52 PM
I see no error here, this just means you have no updates waiting and your server is up to date.

And in any case, don't report problems here - Please report bugs and potential bugs in the bug tracker
Title: RESOLVED Re: Yum not updating
Post by: smef@n on December 19, 2008, 08:08:40 AM
many thanks for the response.

point noted. I will post these kind of posts in bugs.

seems this was some sort of bottleneck in our internet connection. The updates are happening.
Title: Re: RESOLVED Yum not updating
Post by: dilligaf on December 23, 2008, 05:12:11 AM
Just to add to this,
I have seen same thing behind device like a FORTIGATE router.
(SME was in server-only)
The router was set to block file types of *.gz
removing that block allowed the update.

Title: Re: RESOLVED Yum not updating
Post by: cactus on December 23, 2008, 09:11:25 AM
The router was set to block file types of *.gz
removing that block allowed the update.
Yes, such a block would make it impossible to download repository indexes.
Title: Re: RESOLVED Yum not updating
Post by: smef@n on December 23, 2008, 09:59:45 AM
many thanks. actually the dns server had some issues. but its fixed. moreover i have added extra permission in my PFSense box to allow all packets for my SMe box.

thanks  :smile: