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: Fri, 24 Jun 2005 12:01:48 -0700 (PDT)
Cc: jim tate <mickeyboa@xxxxxxxxxxxxx>
Delivery-date: Sat, 25 Jun 2005 08:43:57 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42BBF62B.20007@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
On Fri, 24 Jun 2005, jim tate wrote:

> Agent Smith wrote:
> 
> >
> >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
> >
> >  
> >
> http://www-128.ibm.com/developerworks/linux/library/l-xen/
>  
> This is the install insrtuctions from IBM I was using when I had the 
> Problem.
> I have not tryed the Fedora Instructions yet.
> Has anyone found a fix to get around the problem?
> 
> Jim

I'd still recommend making the custom yum.init-xenU.conf and try
executing

yum -c /etc/yum.init-xenU.conf --installroot=/xen/base -y \
        groupinstall web-server --enablerepo=base --disablerepo=development

Incidentally, the command you posted to the list had a '||' that's not 
present in the tutorial.  That's a copy & paste bug that will ruin any 
recipe.

Unfortunately, the tutorials rely on you having set yum to work with 
FC3 rawhide repositories.  With a packaged release of xen on FC4, you 
still have to customize a yum.conf to be able to use --installroot.

In the future, please post the exact error you are encountering and a link 
to the tutorial/guide/reference/cookbook if you are following one, so 
people (who want to help you) can better understand the context of your 
problem.

Hope it helps.


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

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