Re: Building a UML image of CentOS 4.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, Mar 17, 2007 at 09:40:20PM -0700, Jed Reynolds wrote:
> Stephen Harris wrote:

> >  rpm --root $T -Uvh --nodeps --force 
> >  $UML/RPM/centos-release-4-4.2.i386.rpm \
> >                                      $UML/RPM/yum-2.4.3-1.c4.noarch.rpm
> >
> >  yum -y -C --installroot=$T groupinstall "Base"

> >+ yum -y -C --installroot=/var/tmp/bld.13824 groupinstall Base
> >Setting up Group Process
> >Setting up repositories
> >Cannot open/read repomd.xml file for repository: update
> >Cannot find repomd.xml file for update
> >Error: Cannot find repomd.xml file for update

> I think I've seen this when I have a repository listed in 
> /etc/yum.repos.d that I don't have access to. For example, I tried 

The contents of /etc/yum.conf and /etc/yum.repos.d in the installroot image
area I'm building are identical to the main server files.

But it gave me an idea, so I strace'd the yum process.  I can see it
making a request to get a mirror server, I can see it getting the response
but then not even attempt to talk to the server it was told to.

If I change the repos.d files to use baseurl rather than mirrorlist then
I can't even see yum attempting to connect to the server.

If I try to pre-seed the cache files from the main server it then moans
about no cache for base/yumgroups.xml (becasue the main server doesn't have
that).

> http://uml.jfdi.org/uml/Wiki.jsp?page=BuildingRootFileSystems
> http://uml.jfdi.org/uml/Wiki.jsp?page=UMLRootFilesystems

Thanks, I'll look into that.

-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux