Koozali.org: home of the SME Server

update fail !

mpaoliniluquin

update fail !
« on: February 20, 2007, 02:06:05 PM »
Hi,
I trie to update from the web page ( server-manager) and when i reboot mail server & horde don“t start. when I run again yum i recibe this message,

how can I re-update and fix this?

thanks!!

regards



yum check-update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Repository base is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Setting up repositories
not using ftp, http, or file for repos, skipping - Null is not a valid release or hasnt been released yet
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update
================================================================
No new rpms were installed. No additional commands are required.
================================================================

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
update fail !
« Reply #1 on: February 20, 2007, 02:43:48 PM »
Serach on this forum. It has been discussed several times.
"It should just work" if it doesn't report it. Thanks!

Offline jfarschman

  • *
  • 406
  • +0/-0
update fail !
« Reply #2 on: April 20, 2007, 01:35:09 AM »
It has been discussed many times... but nobody really solved it.

Try the following:

yum -y install smeserver-yum --disablerepo=update
expand-template /etc/yum.conf

Then test yum again with a command like

yum search smeserver-yum

If that works make sure you finish any updates that you had in progress and to a post-upgrade and reboot.

It should work for you.  I hope this helps.
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com

Offline del

  • *
  • 765
  • +0/-0
update fail !
« Reply #3 on: April 20, 2007, 03:32:39 AM »
This worked for me on 2 servers:
Quote
rm /home/e-smith/db/yum_repositories  # Take a copy if you need one
signal-event post-upgrade
signal-event reboot

The original post can be found here:
http://forums.contribs.org/index.php?topic=36183.0

I hope this helps,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown