Koozali.org: home of the SME Server

YUM update mirrors down?

Offline RedBeard

  • **
  • 62
  • +0/-0
YUM update mirrors down?
« on: January 06, 2007, 04:26:31 PM »
Are the update mirrors haveing problems?  I have gotten the following error the last couple of days.  Nothing has changed since the last time I updated the box and it was working earlier this week.

[root@server root]# yum update
Gathering package information from servers
Getting headers from: SME Server 6.x base updates
Error getting file http://mirror.contribs.org/smeserver/releases/6.0.1/updates-common/i386/headers/header.info
[Errno 6] ERROR: Url Return no Content-Length  - something is wrong

Thanks
............

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
YUM update mirrors down?
« Reply #1 on: January 07, 2007, 09:57:10 PM »
RedBeard,

Read the announcement at the top of this forum, it explains it all.

John
......

Offline RedBeard

  • **
  • 62
  • +0/-0
FIX for YUM to get last updates
« Reply #2 on: January 07, 2007, 10:29:50 PM »
Thanks, mrjhb3

I saw that shortly after I posted.  I needed to get the update for clamav.

To get the last updates you need to modify your yum.conf file in the etc directory.  Back it up first!

Add the "obsolete"  infornt of $releasever in each section as necessary, i.e. [os], [common-updates], [updates], [updates-testing], [updates-testing-common]

So my yum.conf file looks like this:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
exactarch=1

[os]
name=SME Server $releasever os
baseurl=http://mirror.contribs.org/smeserver/releases/obsolete/$releasever/os/e-smith/RPMS/
gpgcheck=0

[common-updates]
name=SME Server 6.x base updates
baseurl=http://mirror.contribs.org/smeserver/releases/obsolete/$releasever/updates-common/i386/
gpgcheck=0

[updates]
name=SME Server $releasever updates
baseurl=http://mirror.contribs.org/smeserver/releases/obsolete/$releasever/updates/i386/
gpgcheck=0

#[updates-testing]
#name=SME Server $releasever updates-testing
#baseurl=http://mirror.contribs.org/smeserver/releases/obsolete/$releasever/updates-testing/i386/
#gpgcheck=0

#[updates-testing-common]
#name=SME Server $releasever updates-testing-common
#baseurl=http://mirror.contribs.org/smeserver/releases/obsolete/$releasever/updates-testing-common/i386/
#gpgcheck=0

I was hoping to hold onto 6.0.1 for a while longer.  I have been running it on several boxes with 5 or 6 addons since it came out.  I haven't had any problem except for the ones I caused any way  :oops:  It has been rock solid.  Hoping to that 7.1 is the same way.

THANKS everyone!  SME is GREAT!  :D  :pint:
............