Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: svetlo56 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!
-
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: db yum_repositories show updates
It might also be that the --installroot is not supported I have never tried that option.
-
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:
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 ~]#
-
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:expand-template /etc/yum.conf
again, this should update the yum configuration file to the latest settings in the configuration database.[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 -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.
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.
-
Reconsidering what I said... :oops:
-
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 (http://bugs.contribs.org/show_bug.cgi?id=2637).