Thread: [Mach-devel] conflicts between i386 and x86_64 while trying to install mach -d --root=opensuse-110-
Brought to you by:
thomasvs
|
From: Yaroslav H. <li...@on...> - 2010-01-18 05:52:40
|
Hi,
Thanks to friendly hint from #debian I got mach installed (0.9.5
manually rebuilt from Debian's version + uupdate on 0.9.5 source
tarball). unfortunately although opensuse was described as supported in
NEWS it was absent from /etc/mach/dist.d -- I've got corresponding file
from CVS. Now I've ran
mach -d --root=opensuse-110-i386-core setup base
on a box running Debian squeeze/sid on x86_64 box
but at the end got:
,---
| Transaction Summary
| ================================================================================
| Install 10 Package(s)
| Upgrade 0 Package(s)
|
| Total size: 4.5 M
| Downloading Packages:
| Running rpm_check_debug
| Running Transaction Test
| Finished Transaction Test
|
|
| Transaction Check Error:
| file /etc/ld.so.conf conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686
| file /sbin/ldconfig conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686
| file /usr/bin/gencat conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686
| file /usr/bin/getconf conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686
| file /usr/bin/getent conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686
| file /usr/bin/iconv conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686
| file /usr/bin/ldd conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686
| file /usr/bin/locale conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686
| file /usr/bin/localedef conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686
| file /usr/sbin/glibc_post_upgrade conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686
| file /usr/sbin/iconvconfig conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686
| file /usr/sbin/rpcinfo conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686
| file /bin/bash conflicts between attempted installs of bash-3.2-112.1.x86_64 and bash-3.2-112.1.i586
| file /usr/bin/bashbug conflicts between attempted installs of bash-3.2-112.1.x86_64 and bash-3.2-112.1.i586
|
| Error Summary
| -------------
|
| ERROR: Could not yum -y install bash glibc
| DEBUG: unlocking root
`---
unfortunately I am ignorant in SuSe so can't resolve this issue on my own -- I
only hoped that mach would do installation for me so I could simply use that
chroot ;) Is there an easy way to address the issue on conflicting
architectures within opensuse-110-i386 config? do you know why is it doing
multiarch right from the box even if I requested simply i386?
thanks in advance
P.S. CCing Thomas as well since mailing list seems to be overwhelmed with
SPAM msgs, so you could easily skip this one ;)
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
|
|
From: Thomas V. S. <th...@ap...> - 2010-01-18 10:30:58
|
> Hi, Hi Yaroslav, > Thanks to friendly hint from #debian I got mach installed (0.9.5 > manually rebuilt from Debian's version + uupdate on 0.9.5 source > tarball). unfortunately although opensuse was described as supported in > NEWS it was absent from /etc/mach/dist.d -- I've got corresponding file > from CVS. Now I've ran > > mach -d --root=opensuse-110-i386-core setup base > > on a box running Debian squeeze/sid on x86_64 box > > but at the end got: > ,--- > | Transaction Summary > | ================================================================================ > | Install 10 Package(s) > | Upgrade 0 Package(s) > | > | Total size: 4.5 M > | Downloading Packages: > | Running rpm_check_debug > | Running Transaction Test > | Finished Transaction Test > | > | > | Transaction Check Error: > | file /etc/ld.so.conf conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > | file /sbin/ldconfig conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > | file /usr/bin/gencat conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > | file /usr/bin/getconf conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > | file /usr/bin/getent conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > | file /usr/bin/iconv conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > | file /usr/bin/ldd conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > | file /usr/bin/locale conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > | file /usr/bin/localedef conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > | file /usr/sbin/glibc_post_upgrade conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > | file /usr/sbin/iconvconfig conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > | file /usr/sbin/rpcinfo conflicts between attempted installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > | file /bin/bash conflicts between attempted installs of bash-3.2-112.1.x86_64 and bash-3.2-112.1.i586 > | file /usr/bin/bashbug conflicts between attempted installs of bash-3.2-112.1.x86_64 and bash-3.2-112.1.i586 > | > | Error Summary > | ------------- > | > | ERROR: Could not yum -y install bash glibc > | DEBUG: unlocking root > `--- > > unfortunately I am ignorant in SuSe so can't resolve this issue on my own -- I > only hoped that mach would do installation for me so I could simply use that > chroot ;) Is there an easy way to address the issue on conflicting > architectures within opensuse-110-i386 config? do you know why is it doing > multiarch right from the box even if I requested simply i386? I don't know opensuse myself. I CC'd Julien Moutte, who contributed those config files. My best guess at this point would be that you are running into this because you set up an i386 chroot on a 64 bit guest. While this should work fine (and does for Fedora, using setarch), I'm not sure how opensuse changes that. Julien, any ideas ? Thomas |
|
From: Julien M. <ju...@fl...> - 2010-01-18 11:37:55
|
Simply run this instead : setarch i686 mach -r opensuse-110-i386-core setup base Indeed you need to make sure yum does not try to install 64 bits packages because it thinks the cpu is 64 bits. setarch does that for you. I am not 100% sure that this particular root works. Haven't checked it in a while. Julien Moutte, FLUENDO S.A. On Mon, Jan 18, 2010 at 11:18 AM, Thomas Vander Stichele < th...@ap...> wrote: > > Hi, > > Hi Yaroslav, > > > Thanks to friendly hint from #debian I got mach installed (0.9.5 > > manually rebuilt from Debian's version + uupdate on 0.9.5 source > > tarball). unfortunately although opensuse was described as supported in > > NEWS it was absent from /etc/mach/dist.d -- I've got corresponding file > > from CVS. Now I've ran > > > > mach -d --root=opensuse-110-i386-core setup base > > > > on a box running Debian squeeze/sid on x86_64 box > > > > but at the end got: > > > ,--- > > | Transaction Summary > > | > ================================================================================ > > | Install 10 Package(s) > > | Upgrade 0 Package(s) > > | > > | Total size: 4.5 M > > | Downloading Packages: > > | Running rpm_check_debug > > | Running Transaction Test > > | Finished Transaction Test > > | > > | > > | Transaction Check Error: > > | file /etc/ld.so.conf conflicts between attempted installs of > glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > > | file /sbin/ldconfig conflicts between attempted installs of > glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > > | file /usr/bin/gencat conflicts between attempted installs of > glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > > | file /usr/bin/getconf conflicts between attempted installs of > glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > > | file /usr/bin/getent conflicts between attempted installs of > glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > > | file /usr/bin/iconv conflicts between attempted installs of > glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > > | file /usr/bin/ldd conflicts between attempted installs of > glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > > | file /usr/bin/locale conflicts between attempted installs of > glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > > | file /usr/bin/localedef conflicts between attempted installs of > glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > > | file /usr/sbin/glibc_post_upgrade conflicts between attempted > installs of glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > > | file /usr/sbin/iconvconfig conflicts between attempted installs of > glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > > | file /usr/sbin/rpcinfo conflicts between attempted installs of > glibc-2.8-14.1.x86_64 and glibc-2.8-14.1.i686 > > | file /bin/bash conflicts between attempted installs of > bash-3.2-112.1.x86_64 and bash-3.2-112.1.i586 > > | file /usr/bin/bashbug conflicts between attempted installs of > bash-3.2-112.1.x86_64 and bash-3.2-112.1.i586 > > | > > | Error Summary > > | ------------- > > | > > | ERROR: Could not yum -y install bash glibc > > | DEBUG: unlocking root > > `--- > > > > unfortunately I am ignorant in SuSe so can't resolve this issue on my own > -- I > > only hoped that mach would do installation for me so I could simply use > that > > chroot ;) Is there an easy way to address the issue on conflicting > > architectures within opensuse-110-i386 config? do you know why is it > doing > > multiarch right from the box even if I requested simply i386? > > I don't know opensuse myself. I CC'd Julien Moutte, who contributed > those config files. My best guess at this point would be that you are > running into this because you set up an i386 chroot on a 64 bit guest. > While this should work fine (and does for Fedora, using setarch), I'm > not sure how opensuse changes that. > > Julien, any ideas ? > > Thomas > > |
|
From: Yaroslav H. <li...@on...> - 2010-01-18 15:30:58
|
THANK YOU GUYS!!! setarch helped! I could even install opensuse 11.2 ;)
haven't checked internals yet though ;)
the question now either I could do similar for x86_64 since on my
attempts I failed:
setarch x86_64 mach -d -r opensuse-112-x86_64-core setup build
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
bash i586 4.0-18.3 opensuse 296 k
bash x86_64 4.0-18.3 opensuse 309 k
glibc i686 2.10.1-10.4 opensuse 1.6 M
glibc x86_64 2.10.1-10.4 opensuse 1.7 M
Installing for dependencies:
filesystem x86_64 11.2-12.2 opensuse 51 k
libncurses5 i586 5.6-91.2 opensuse 247 k
libncurses5 x86_64 5.6-91.2 opensuse 243 k
libreadline6 i586 6.0-18.3 opensuse 107 k
libreadline6 x86_64 6.0-18.3 opensuse 109 k
terminfo-base x86_64 5.6-91.2 opensuse 117 k
Transaction Summary
================================================================================
Install 10 Package(s)
Upgrade 0 Package(s)
Total size: 4.8 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
file /bin/bash conflicts between attempted installs of bash-4.0-18.3.i586 and bash-4.0-18.3.x86_64
file /usr/bin/bashbug conflicts between attempted installs of bash-4.0-18.3.i586 and bash-4.0-18.3.x86_64
file /etc/ld.so.conf conflicts between attempted installs of glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64
file /sbin/ldconfig conflicts between attempted installs of glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64
file /usr/bin/gencat conflicts between attempted installs of glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64
file /usr/bin/getconf conflicts between attempted installs of glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64
file /usr/bin/getent conflicts between attempted installs of glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64
file /usr/bin/iconv conflicts between attempted installs of glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64
file /usr/bin/ldd conflicts between attempted installs of glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64
file /usr/bin/locale conflicts between attempted installs of glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64
file /usr/bin/localedef conflicts between attempted installs of glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64
file /usr/sbin/glibc_post_upgrade conflicts between attempted installs of glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64
file /usr/sbin/iconvconfig conflicts between attempted installs of glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64
file /usr/sbin/rpcinfo conflicts between attempted installs of glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64
Error Summary
-------------
ERROR: Could not yum -y install bash glibc
DEBUG: unlocking root
On Mon, 18 Jan 2010, Julien Moutte wrote:
> Simply run this instead :
> setarch i686 mach -r opensuse-110-i386-core setup base
> Indeed you need to make sure yum does not try to install 64 bits
> packages because it thinks the cpu is 64 bits. setarch does that for
> you.
> I am not 100% sure that this particular root works. Haven't checked it
> in a while.
> Julien Moutte,
> FLUENDO S.A.
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
|
|
From: Julien M. <ju...@fl...> - 2010-01-18 18:10:34
|
Usually I don't use setarch for x86_64 as the host distro is already with the right arch. Julien Moutte, FLUENDO S.A. On Mon, Jan 18, 2010 at 4:30 PM, Yaroslav Halchenko <li...@on...>wrote: > THANK YOU GUYS!!! setarch helped! I could even install opensuse 11.2 ;) > haven't checked internals yet though ;) > > the question now either I could do similar for x86_64 since on my > attempts I failed: > > setarch x86_64 mach -d -r opensuse-112-x86_64-core setup build > > Dependencies Resolved > > > ================================================================================ > Package Arch Version Repository > Size > > ================================================================================ > Installing: > bash i586 4.0-18.3 opensuse > 296 k > bash x86_64 4.0-18.3 opensuse > 309 k > glibc i686 2.10.1-10.4 opensuse > 1.6 M > glibc x86_64 2.10.1-10.4 opensuse > 1.7 M > Installing for dependencies: > filesystem x86_64 11.2-12.2 opensuse > 51 k > libncurses5 i586 5.6-91.2 opensuse > 247 k > libncurses5 x86_64 5.6-91.2 opensuse > 243 k > libreadline6 i586 6.0-18.3 opensuse > 107 k > libreadline6 x86_64 6.0-18.3 opensuse > 109 k > terminfo-base x86_64 5.6-91.2 opensuse > 117 k > > Transaction Summary > > ================================================================================ > Install 10 Package(s) > Upgrade 0 Package(s) > > Total size: 4.8 M > Downloading Packages: > Running rpm_check_debug > Running Transaction Test > Finished Transaction Test > > > Transaction Check Error: > file /bin/bash conflicts between attempted installs of bash-4.0-18.3.i586 > and bash-4.0-18.3.x86_64 > file /usr/bin/bashbug conflicts between attempted installs of > bash-4.0-18.3.i586 and bash-4.0-18.3.x86_64 > file /etc/ld.so.conf conflicts between attempted installs of > glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64 > file /sbin/ldconfig conflicts between attempted installs of > glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64 > file /usr/bin/gencat conflicts between attempted installs of > glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64 > file /usr/bin/getconf conflicts between attempted installs of > glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64 > file /usr/bin/getent conflicts between attempted installs of > glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64 > file /usr/bin/iconv conflicts between attempted installs of > glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64 > file /usr/bin/ldd conflicts between attempted installs of > glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64 > file /usr/bin/locale conflicts between attempted installs of > glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64 > file /usr/bin/localedef conflicts between attempted installs of > glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64 > file /usr/sbin/glibc_post_upgrade conflicts between attempted installs of > glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64 > file /usr/sbin/iconvconfig conflicts between attempted installs of > glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64 > file /usr/sbin/rpcinfo conflicts between attempted installs of > glibc-2.10.1-10.4.i686 and glibc-2.10.1-10.4.x86_64 > > Error Summary > ------------- > > ERROR: Could not yum -y install bash glibc > DEBUG: unlocking root > > > On Mon, 18 Jan 2010, Julien Moutte wrote: > > > Simply run this instead : > > setarch i686 mach -r opensuse-110-i386-core setup base > > Indeed you need to make sure yum does not try to install 64 bits > > packages because it thinks the cpu is 64 bits. setarch does that for > > you. > > I am not 100% sure that this particular root works. Haven't checked it > > in a while. > > Julien Moutte, > > FLUENDO S.A. > > -- > .-. > =------------------------------ /v\ ----------------------------= > Keep in touch // \\ (yoh@|www.)onerussian.com > Yaroslav Halchenko /( )\ ICQ#: 60653192 > Linux User ^^-^^ [175555] > > > |
|
From: Yaroslav H. <li...@on...> - 2010-01-18 19:24:14
|
I guess I just need to learn how opensuse deals with multiarch
Thanks for all your help!
Cheers
On Mon, 18 Jan 2010, Julien Moutte wrote:
> Usually I don't use setarch for x86_64 as the host distro is already
> with the right arch.
> Julien Moutte,
> FLUENDO S.A.
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
|
|
From: Jeff J. <jb...@jb...> - 2010-01-18 22:03:32
|
On Jan 18, 2010, at 2:24 PM, Yaroslav Halchenko wrote:
> I guess I just need to learn how opensuse deals with multiarch
>
Last I checked, SuSE deals with "multilib" by creating 3 products:
1) pure ix86/ELF32
2) pure x86_64/ELF64
3) a mixed install of ix86/x86_64 with all the usual "multilib"
conventions like /lib vs /lib64
What that means is that products 1 & 2 don't distinguish "multilib"
packages and should not be mixed with product 3. The *.rpm packaging
(and the contents within) follow different packaging (and path)
conventions than product 3.
Sure you can try, and sometimes you will succeed. But you won't
succeed in general, SuSE has different conventions than other distros.
hth
73 de Jeff
|