Fedora Linux Support Community & Resources Center
  #1  
Old 6th December 2006, 10:38 PM
aldrichc Offline
Registered User
 
Join Date: Dec 2006
Location: Central US
Posts: 3
yum install and installroot questions

I am a new yum user and have questions about its use:

I am trying to install Bugzilla in a webspace on my server. I use the following command to specify the installation directory for Bugzilla:

yum --installroot=/var/www/vhosts/website/httpdocs install Bugzilla

Q1) is this how I specify the installation location?

I get two messages:
Repository updates-released is listed more than once in the configuration
Repository base is listed more than once in the configuration

Q2) what configuration? yum.conf? yum repo locations?
Q3) are these warning or informational messages?

The following is displayed:

Setting up Install Process
Setting up repositories
http://update.onlinehome-server.info...ta/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 06 Dec 2006 21:32:07 GMT
Server: Apache/1.3.33 (Debian GNU/Linux)
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
Cannot open/read repomd.xml file for repository: base
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.


Q4) what have I done wrong?
Reply With Quote
  #2  
Old 6th December 2006, 11:21 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
Quote:
Originally Posted by aldrichc
yum --installroot=/var/www/vhosts/website/httpdocs install Bugzilla

Q1) is this how I specify the installation location?
No. The install location is specified by the bugzilla RPM package. The package name is "bugzilla" with a small "b".
Quote:
Originally Posted by aldrichc
Repository updates-released is listed more than once in the configuration
Repository base is listed more than once in the configuration

Q2) what configuration? yum.conf? yum repo locations?
Q3) are these warning or informational messages?
Yum configuration consists of /etc/yum.conf and the .repo files in /etc/yum.repos.d. Remove the duplicate definitions to clear the warnings.


Quote:
Originally Posted by aldrichc
Setting up Install Process
Setting up repositories
http://update.onlinehome-server.info...ta/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Wed, 06 Dec 2006 21:32:07 GMT
Server: Apache/1.3.33 (Debian GNU/Linux)
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
Cannot open/read repomd.xml file for repository: base
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.


Q4) what have I done wrong?
There's something wrong with your fedora-release package, yum can't correctly detect which FC version you are running. What does "rpm -q fedora-release" show?
Reply With Quote
  #3  
Old 7th December 2006, 12:18 AM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,752
I'm no expert so please someone correct me if I'm wrong but I don't believe you can tell it where to install using an rpm unless you made it yourself.

--installroot=/var/www/vhosts/website/httpdocs appears to be equal to saying /var/www/vhosts/website/httpdocs=/ so yum assumes that it will find it's configuration files in /var/www/vhosts/website/httpdocs/etc/yum.repos.d which of course doesn't exist and that's why you see the error reading repodata.

But again those are just my thoughts and I may be way off, but I'll bet there's nothing wrong with yum.
If you run yum install bugzilla it should work just fine.
Reply With Quote
  #4  
Old 7th December 2006, 03:21 PM
aldrichc Offline
Registered User
 
Join Date: Dec 2006
Location: Central US
Posts: 3
rpm -q fedora-release returns 4-2. I have FC4 installed.
Reply With Quote
  #5  
Old 7th December 2006, 03:50 PM
aldrichc Offline
Registered User
 
Join Date: Dec 2006
Location: Central US
Posts: 3
Is there an option within yum to specific an alternate install directory - to override the directory specified in the rpm package? I thought that was what the --installroot option did?
Reply With Quote
  #6  
Old 9th January 2007, 07:58 PM
intelligentfool Offline
Registered User
 
Join Date: Mar 2006
Posts: 7
this is the exact same thing i'm trying to do, only with MediaWiki. i'd love to setup a cron job to update mediawiki with yum, and i'm assuming that would require me to install it to /var/www/html/mediawiki, instead of the default /var/www/mediawiki. I guess i could reconfigure apache, but i'd rather just install it in a subfolder and keep apache the way it is. any help would be great.
Reply With Quote
Reply

Tags
install, installroot, questions, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pre-install YUM questions sb73542 Using Fedora 3 15th May 2008 09:25 AM
Install Questions laxguy Installation and Live Media 18 5th January 2008 10:33 PM
fc6 install questions vbdanl EOL (End Of Life) Versions 3 9th January 2007 07:37 PM
Yum + installroot option Gandilf Using Fedora 0 10th June 2006 12:13 PM
A few pre-install questions svank Using Fedora 3 6th May 2006 03:27 AM


Current GMT-time: 07:28 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat