Koozali.org: home of the SME Server

RESOLVED Yum not updating

Offline smef@n

  • **
  • 21
  • +0/-0
RESOLVED Yum not updating
« 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
« Last Edit: December 19, 2008, 08:09:47 AM by smef@n »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Yum not updating
« Reply #1 on: December 18, 2008, 04:00:29 PM »
And you are sure you can connect to the internet from your server?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Yum not updating
« Reply #2 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Yum not updating
« Reply #3 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

Offline smef@n

  • **
  • 21
  • +0/-0
RESOLVED Re: Yum not updating
« Reply #4 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.

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Re: RESOLVED Yum not updating
« Reply #5 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.


Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: RESOLVED Yum not updating
« Reply #6 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline smef@n

  • **
  • 21
  • +0/-0
Re: RESOLVED Yum not updating
« Reply #7 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: