Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: cvlcc on June 14, 2007, 04:51:05 AM

Title: Yum update problem
Post by: cvlcc on June 14, 2007, 04:51:05 AM
I've been trying to get some updates and down load some rpm's and the yum is broken I get nothing.
Check for updates daily    Enabled
Manage individual packages    Enabled
When I go to Software installer I get this

Software installer

The following software is available to be installed onto your system. You should only install additional software onto this system if you are aware of the consequences of doing so.

You can also select individual packages to install from the list below.
Available packages    

not using  -Ftp

SME Server 7.0
Copyright 1999-2006 Mitel Corporation
All rights reserved.
Copyright 2006 SME Server, Inc.

Can Someone Help Me Please
[/b]
Title: Yum update problem
Post by: kruhm on June 17, 2007, 11:49:37 PM
"Can Someone Help Me Please"

Sure. Read the big red letters at the top of the screen when typing. They say: Don't report problems here - Please report bugs and potential bugs in the bug tracker
Title: Yum update problem
Post by: cvlcc on June 18, 2007, 03:31:40 AM
I did not think this was a bug just because I had the problem Don't report problems here - Please report bugs and potential bugs in the bug tracker I though someone else mite have had this problem, before reporting this problem? I did check the forum to see if anybody else had this type first and nobody had it yet. since this so new SME Server 7
Title: Yum update problem
Post by: mmccarn on June 18, 2007, 06:07:30 AM
If you're on SME 7.0 you will need to update yum and something else before proceeding to update everything else...

I've seen specific instructions before, but can't find them now (!)

The warning in the hilighted box at http://wiki.contribs.org/SME_Server:Documentation:FAQ#Which_repositories_should_be_enabled describes the problem...

You might get these installed using something like this at the command line:

- yum clean all
- yum install smeserver-yum smeserver-support
- signal-event post-upgrade
- signal-event reboot

One possible problem for 7.0 users is that you may have already been upgraded to an invalid kernel from the Centos repository (package kernel-smp-2.6.9-55.EL) - I have not seen specific instructions on solving this.

And of course - there are lots of other posts / discussions about yum describing various other issues...
Title: Yum update problem
Post by: kruhm on June 18, 2007, 06:12:48 AM
"I've seen specific instructions before, but can't find them now "

Which is why it should go to the BT. So that something productive comes out of the problem/solution. Possibly like an edit to the wiki that contains the solution that it is easily findable.
Title: Yum update problem
Post by: cvlcc on June 18, 2007, 06:49:37 AM
I'm asumming that I should do this from the root?
Could you give me a step y step commands.
Starting @
[root@servername /]#

I'l try from this Place.
Title: Yum update problem
Post by: cvlcc on June 18, 2007, 11:11:40 AM
Here is a small view of th log files for Yum

2007-06-18 00:40:56.866166500 Repository base is listed more than once in the configuration
2007-06-18 00:40:56.866453500 Repository contrib is listed more than once in the configuration
2007-06-18 00:40:56.866677500 Repository centosplus is listed more than once in the configuration
2007-06-18 00:40:56.866909500 Repository addons is listed more than once in the configuration
2007-06-18 00:40:56.867127500 Repository extras is listed more than once in the configuration
2007-06-18 00:41:00.742385500 Repository base is listed more than once in the configuration
2007-06-18 00:41:00.742678500 Repository contrib is listed more than once in the configuration
2007-06-18 00:41:00.742916500 Repository centosplus is listed more than once in the configuration
2007-06-18 00:41:00.743140500 Repository addons is listed more than once in the configuration
2007-06-18 00:41:00.743379500 Repository extras is listed more than once in the configuration
2007-06-18 00:41:01.068318500 Cannot find a valid baseurl for repo: update
2007-06-18 00:41:01.068585500 Error: Cannot find a valid baseurl for repo: update
2007-06-18 00:41:01.160003500 yum grouplist installed status 256
2007-06-18 00:41:02.670213500 Repository base is listed more than once in the configuration
2007-06-18 00:41:02.670486500 Repository contrib is listed more than once in the configuration
2007-06-18 00:41:02.670720500 Repository centosplus is listed more than once in the configuration
2007-06-18 00:41:02.670938500 Repository addons is listed more than once in the configuration
2007-06-18 00:41:02.671168500 Repository extras is listed more than once in the configuration
2007-06-18 00:41:02.894562500 Cannot find a valid baseurl for repo: update
2007-06-18 00:41:02.894857500 Error: Cannot find a valid baseurl for repo: update
2007-06-18 00:41:02.984369500 yum list updates status 256
2007-06-18 00:41:04.091448500 Repository base is listed more than once in the configuration
2007-06-18 00:41:04.091732500 Repository contrib is listed more than once in the configuration
2007-06-18 00:41:04.091968500 Repository centosplus is listed more than once in the configuration
2007-06-18 00:41:04.092188500 Repository addons is listed more than once in the configuration
2007-06-18 00:41:04.092418500 Repository extras is listed more than once in the configuration
2007-06-18 00:41:04.313127500 Cannot find a valid baseurl for repo: update
2007-06-18 00:41:04.313400500 Error: Cannot find a valid baseurl for repo: update
2007-06-18 00:41:04.405386500 yum grouplist updates status 256
Title: Yum update problem
Post by: bpivk on June 18, 2007, 11:33:11 AM
Code: [Select]
yum clean all
yum install smeserver-yum smeserver-support
signal-event post-upgrade
signal-event reboot
Title: Yum update problem
Post by: cvlcc on June 18, 2007, 12:08:41 PM
when I tried to yum install smeserver-yum smeserver-support and enter I got this this Message:
 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 Install 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
Title: Yum update problem
Post by: cvlcc on June 18, 2007, 12:37:46 PM
At one time I installed yum.noarch 2.4.2-2 Could this be part if my problem?
Title: Yum update problem
Post by: bpivk on June 18, 2007, 01:09:30 PM
Code: [Select]
rm /home/e-smith/db/yum_repositories  # Take a copy if you need one
signal-event post-upgrade
signal-event reboot

The search function of the forum usually gives a faster responce.  :)
Title: Yum update problem
Post by: cvlcc on June 18, 2007, 01:18:11 PM
Are you sure?
rm /home/e-smith/db/yum_repositories?  

or
rpm /home/e-smith/db/yum_repositories?
Title: Yum update problem
Post by: cvlcc on June 18, 2007, 01:39:17 PM
I fallowed your instrctions to the T.
rpm /home/e-smith/db/yum_repositories?
signal-event post-upgrade
signal-event reboot
Then after reboot I check if Software installer would work and it did not
 work. then I checked  the error log for Yum and got this?

2007-06-18 04:30:25.708420500 Repository base is listed more than once in the configuration
2007-06-18 04:30:25.708723500 Repository contrib is listed more than once in the configuration
2007-06-18 04:30:25.708938500 Repository centosplus is listed more than once in the configuration
2007-06-18 04:30:25.709151500 Repository addons is listed more than once in the configuration
2007-06-18 04:30:25.709376500 Repository extras is listed more than once in the configuration
2007-06-18 04:30:25.938604500 Cannot find a valid baseurl for repo: update
2007-06-18 04:30:25.938863500 Error: Cannot find a valid baseurl for repo: update
2007-06-18 04:30:26.028692500 yum grouplist updates status 256
Title: Yum update problem
Post by: cvlcc on June 18, 2007, 02:15:10 PM
Would you mind meeting me on line with me? Check your email @ blaz.pivk@t-2.net
Title: Yum update problem
Post by: mmccarn on June 18, 2007, 02:58:16 PM
Perhaps you should download the SME 7.1 iso and install an upgrade onto your server... then try YUM again...
Title: Yum update problem
Post by: cvlcc on June 18, 2007, 03:04:56 PM
How do I do this frim the Root?
Title: Yum update problem
Post by: mmccarn on June 18, 2007, 03:11:33 PM
If you're responding to my post about updating to 7.1 using the CD, there's no 'root' involved:

1) Download the 7.1 iso to a computer with a CD-RW drive
2) Burn the iso onto a CDR
3) reboot your SME server using the 7.1 CD

The installation should recognize that you have SME installed already, and should either do an upgrade installation or should at least offer to do an upgrade.

This is how all of the SME 7.0 RCx versions worked; I have NOT done a CD-based upgrade from 7.0 to 7.1.
Title: Yum update problem
Post by: raem on June 18, 2007, 08:14:31 PM
cvlcc

>...I fallowed your instrctions to the T.
>...rpm /home/e-smith/db/yum_repositories?
>...signal-event post-upgrade
>...signal-event reboot

That's incorrect

The instruction you were given was:

rm /home/e-smith/db/yum_repositories
signal-event post-upgrade
signal-event reboot

Note that rm = remove
by removing the yum_repositories db file, the system will automatically recreate it (with correct values) when you do the post-upgrade & reboot
as original templates are expanded

If you used
rpm /home/e-smith/db/yum_repositories
......

Then that would have done nothing as that is the rpm command used to install rpms (and there were no install switches specified and no rpm name specified either).