WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] FC4 and Xen Installation.

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] FC4 and Xen Installation.
From: Agent Smith <asmith+xen@xxxxxxx>
Date: Thu, 23 Jun 2005 16:29:28 -0700 (PDT)
Delivery-date: Fri, 24 Jun 2005 09:26:07 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42B5B8EF.6020205@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> Hi Jim,
> 
> jim tate wrote:
> > In the process of installing Xen server packages. They won't install, 
> > Can someone help me on this .
> > yum --installroot=/xen/base -y groupinstall|| web-server \
> >        --enablerepo=base --disablerepo=development
> > 
> > this email supercedes previous , because of  errors.
> > Jim
> 
> you should probably give us the error message or result you receive. 
> It's quite hard to guess otherwise.
> 
> Best Regards,
> Michael Paesold

I've had some troubles with yum myself.
If (like me) he's following:
http://www.fedoraproject.org/wiki/FedoraXenQuickstart


I started with a FC4 minimal install (yum 2.3.2).  By following the guide,
yum --installroot=/mnt -y groupinstall Base
fails with:
Cannot find a valid baseurl for repo: updates-released

The guide cautions "Make sure that your yum configuration points to a 
valid repository."  Unfortunately, it doesn't mention that the default 
yum.conf (which works great for updating the system), is not adequate for 
initializing a blank filesystem.

The default yum *.repo's in FC4 use $releasever in their URL's.  This 
variable isn't getting set because yum detects $releasever from the 
package "fedora-release" (default on FC4).  Which hasn't been installed 
into the chroot directory yet (chicken or egg?), so it autodetects Null.

The only thing I've been able to work out so far is a custom yum.conf that 
bypasses the variable.  Then I hit a roadblock with a package 
(specspo-9.0.92-1.3.noarch.rpm) with no gpg key  So I disabled gpg 
checking in the custom yum.conf.  The easiest thing I've come up with is:


cd /etc
cat yum.conf yum.repos.d/*.repo > yum.init-xenU.conf
vi yum.init-xenU.conf
        :%s/\$releasever/4/
        :%s/gpgcheck=1/gpgcheck=0/
        ZZ
yum -c /etc/yum.init-xenU.conf --installroot=/mnt -y groupinstall Base

Someone with a little sed knowledge could make a proper script of this.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>