Koozali.org: home of the SME Server

yum/>@#@

Offline svetlo56

  • **
  • 39
  • +0/-0
yum/>@#@
« on: February 23, 2007, 06:39:23 AM »
I am trying to install Joomla in html directory using yum. The command is given below. I cannot find out whats wrong.

yum --installroot=/home/e-smith/files/ibays/Primary/html localinstall /home/e-smith/files/ibays/Primary/files/Joomla-1.0.11-1.noarch.rpm

this is what I get
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Examining Joomla-1.0.11-1.noarch.rpm: Joomla - 1.0.11-1.noarch
Marking Joomla-1.0.11-1.noarch.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package Joomla.noarch 0:1.0.11-1 set to be updated
--> Running transaction check
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: updates
Error: Cannot find a valid baseurl for repo: updates
================================================================
No new rpms were installed. No additional commands are required.
================================================================

Help!

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: yum/>@#@
« Reply #1 on: February 23, 2007, 11:54:15 AM »
Quote from: "svetlo56"
I am trying to install Joomla in html directory using yum. The command is given below. I cannot find out whats wrong.

yum --installroot=/home/e-smith/files/ibays/Primary/html localinstall /home/e-smith/files/ibays/Primary/files/Joomla-1.0.11-1.noarch.rpm

this is what I get
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Examining Joomla-1.0.11-1.noarch.rpm: Joomla - 1.0.11-1.noarch
Marking Joomla-1.0.11-1.noarch.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package Joomla.noarch 0:1.0.11-1 set to be updated
--> Running transaction check
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: updates
Error: Cannot find a valid baseurl for repo: updates
================================================================
No new rpms were installed. No additional commands are required.
================================================================

Help!
It seems that your updates repository is not configured properly... you can disable it by adding --disablerepo=updates to the command line, although this is a work around of course, a better way is to fix the problem. What is the output of:
Code: [Select]
db yum_repositories show updates
It might also be that the --installroot is not supported I have never tried that option.
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 svetlo56

  • **
  • 39
  • +0/-0
Re: yum/>@#@
« Reply #2 on: February 24, 2007, 05:05:51 PM »
It seems that your updates repository is not configured properly... you can disable it by adding --disablerepo=updates to the command line, although this is a work around of course, a better way is to fix the problem. What is the output of:
Code: [Select]
db yum_repositories show updates
It might also be that the --installroot is not supported I have never tried that option.

I SEE NOTHING WRONG WITH THIS:

[root ~]# db yum_repositories show updates
updates=repository
    BaseURL=http://mirror.centos.org/centos/4/updates/$basearch
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
    Name=CentOS - updates
    Visible=yes
    status=enabled
[root ~]#

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: yum/>@#@
« Reply #3 on: February 24, 2007, 07:29:24 PM »
Quote from: "svetlo56"
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: updates
Error: Cannot find a valid baseurl for repo: updates
The error message clearly states that there is something wrong with the updates repository and that no valid URL for this repository can be found. Are you sure the same information is in the /etc/yum.conf file? If not you could run:
Code: [Select]
expand-template /etc/yum.conf again, this should update the yum configuration file to the latest settings in the configuration database.
Quote from: "svetlo56"
[root ~]# db yum_repositories show updates
updates=repository
BaseURL=http://mirror.centos.org/centos/4/updates/$basearch
EnableGroups=no
GPGCheck=yes
MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
Name=CentOS - updates
Visible=yes
status=enabled
[root ~]#
As nothing looks wrong to me too, it might have been that the centos server had a hick-up or a failure. Have you tried again in the mean time?
Otherwise adding
Code: [Select]
-d 10 to the yum command might shed some light on what might be going wrong as that will instruct yum to ouptut debug information.
Quote from: "svetlo56"
I SEE NOTHING WRONG WITH THIS:
By the way: do not use capitals as this is used to scream and we don't want to treat each other like this I guess.
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 william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
yum/>@#@
« Reply #4 on: February 25, 2007, 12:56:22 AM »
Reconsidering what I said...   :oops:
Regards,
William

IF I give advise.. It's only if it was me....

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: yum/>@#@
« Reply #5 on: March 06, 2007, 10:11:30 PM »
Quote from: "svetlo56"
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: updates
Error: Cannot find a valid baseurl for repo: updates
I have been playing around a little bit and it reconsidering what I said before I decided to file a bug as it seems to me that yum seems to be unaware of the variables supplied in  the /etc/yum.conf file when using the --installroot parameter, for follow-up please see bug 2637.
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)