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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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. > Jimyou should probably give us the error message or result you receive. It''s quite hard to guess otherwise. Best Regards, Michael Paesold _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You need to probably setup your network bridging if it''s failing on yum or your install path is wrong. Regards, Corey DeLasaux On Sun, 2005-06-19 at 21:02 +0200, Michael Paesold wrote:> 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 > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> 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 PaesoldI''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@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com > >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? > > JimI''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@lists.xensource.com http://lists.xensource.com/xen-users