Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: billi on March 16, 2007, 09:05:40 AM

Title: Yum Update Problem
Post by: billi on March 16, 2007, 09:05:40 AM
When trying to do an update using yum in Ver 7.0
I get thes errors and it does not work

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 Update Process
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.

How can I clean up the repository list so yum will work again.
thanks
Title: Re: Yum Update Problem
Post by: cactus on March 16, 2007, 11:21:08 AM
Quote from: "billi"
How can I clean up the repository list so yum will work again.
thanks
Title: Re: Yum Update Problem
Post by: william_syd on March 16, 2007, 12:15:06 PM
Quote from: "billi"

How can I clean up the repository list so yum will work again.
thanks


Did you do anything to yum manually ?
Title: Re: Yum Update Problem
Post by: billi on March 17, 2007, 04:20:35 PM
Thanks for the Suggestions Cactus - I will give that a try,
Title: Re: Yum Update Problem
Post by: billi on March 21, 2007, 06:51:56 AM
Well I tried what Cactus suggested -which seemed to make perfect sense.
I removed all the repositories and then ran the template expand.
No repositorys came back.
Tried bringing in a template from another current version of SME 7.1.2
and tried the expand again. No luck.
Any one have any suggestion on how to build the whole repository thing from scratch?
I don't think it is system bug but some ham fisted thing I have done.
Thanks
Title: Yum Update Problem
Post by: william_syd on March 21, 2007, 06:56:49 AM
Did he say delete them all ?

Try
Code: [Select]
rm /home/e-smith/db/yum_repositories  # Take a copy if you need one
signal-event post-upgrade
signal-event reboot


The above came from the project lead when I was testing some repositories.
Title: Re: Yum Update Problem
Post by: billi on April 01, 2007, 09:18:07 PM
Thanks William_syd
You solution worked perfectly.
The system will now reach the repository and is updating.
Title: Yum Update Problem
Post by: cactus on April 01, 2007, 10:57:57 PM
Quote from: "william_syd"
Did he say delete them all ?
Nope:
Quote from: "cactus"
...If there are duplicates weed them...
Title: Yum Update Problem
Post by: william_syd on April 02, 2007, 09:05:33 AM
Quote from: "cactus"
Quote from: "william_syd"
Did he say delete them all ?
Nope:
Quote from: "cactus"
...If there are duplicates weed them...


I know you didn't.