Package: xen-tools
Version: 3.9-2
Severity: normal

After installing a Fedora 7 domU using an i386 architecture in a x86_64 host I 
was not able to use 
default repositories configurations.

All current repository config use $basesearch as architecture string, for 
example in 
/etc/yum.repos.d/fedora-development.repo:

 [development]
 name=Fedora - Development
 failovermethod=priority
 
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/os/
 
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
 [...]

If /etc/rpm/platform is not found yum (and rpm I think) guesses the 
architecture (aka $basesearch) from the kernel, 
this way trying to install packages in a i386 domU running inside a x86_64 dom0 
messes up things.

I had to manually create /etc/rpm/platform containing this line:

i386-fedora-linux-gnu

and now all is runing well.

Sorry but I was not able to find the bits that places /etc/yum.conf in the 
created image, that problably should be 
the place where to set the /etc/rpm/platform file.

Ciao.
Giovanni.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-xen-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages xen-tools depends on:
ii  debootstrap                 0.3.3.2etch1 Bootstrap a basic Debian system
ii  libconfig-inifiles-perl     2.39-2       Read .ini-style configuration file
ii  libtext-template-perl       1.44-1.1     Text::Template perl module
ii  perl-modules                5.8.8-7etch1 Core Perl modules

Versions of packages xen-tools recommends:
pn  libexpect-perl                <none>     (no description available)
ii  reiserfsprogs                 1:3.6.19-4 User-level tools for ReiserFS file
ii  rinse                         1.0-1      RPM installation environment
ii  xen-hypervisor-3.0.3-1-amd64  3.0.3-0-4  The Xen Hypervisor on AMD64
ii  xen-hypervisor-3.2-1-amd64 [x 3.2.0-4    The Xen Hypervisor on AMD64
ii  xen-shell                     1.8-1      Console based Xen administration u
pn  xfsprogs                      <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to