You are not logged in.

#1 2010-06-24 08:57:34

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

[SOLVED] New architecture feature breaks 32bit chroot functionality.

The new architecture feature in pacman completely breaks the 32bit chroot for x86_64 users functionality as in:

[root@lightbringer dheart]# dchroot -d "pacman -Su"
(arch32) pacman -Su 
:: Starting full system upgrade...
warning: wine: local (1.2rc2-1) is newer than extra (1.1.44-1)
error: failed to prepare transaction (package architecture is not valid)
:: package glibc-2.12-3-i686 does not have a valid architecture
:: package libtool-2.2.10-1-i686 does not have a valid architecture
:: package libxfont-1.4.2-1-i686 does not have a valid architecture
:: package pm-utils-1.4.0-1-i686 does not have a valid architecture
:: package poppler-0.14.0-1-i686 does not have a valid architecture
:: package pygobject-2.21.3-1-i686 does not have a valid architecture
dchroot: Child exited non-zero.
dchroot: Operation failed.

I can't even downgrade pacman, cause it's not the valid architecture ;dddd
Apparently the 32bit chroot is recognized as x86_64.
Bug report.

Last edited by Dheart (2010-06-24 13:24:57)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#2 2010-06-24 09:26:26

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: [SOLVED] New architecture feature breaks 32bit chroot functionality.

As the pacman of the chrooted arch32 installation uses the pacman.conf inside the chrooted system, you have to put :

Architecture = i686

in it, instead of the default

Architecture = auto

The auto option uses 'uname -m' to determine the architecture, and inside the chrooted system, that command still gives the machine hardware name which stays the same, ie x86_64 ; so it's necessary to force the i686 value for the architecture.

I don't think it's a bug. That seems logical to me.

Offline

#3 2010-06-24 09:28:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: [SOLVED] New architecture feature breaks 32bit chroot functionality.

linux32

Offline

#4 2010-06-24 13:24:31

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [SOLVED] New architecture feature breaks 32bit chroot functionality.

Thank you for the fast responses.
Changing /etc/pacman.conf architecture line to i686 fixes the problem.


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#5 2010-12-09 06:50:40

MyParanoya
Member
Registered: 2010-12-09
Posts: 11

Re: [SOLVED] New architecture feature breaks 32bit chroot functionality.

Guys i have the same problem and your solution doesn't help me!

in /etc/pacman.conf i have "Architecture=i686", in /etc/pacman.d/mirrorlist i have only 1 server;

so i do "pacman -Syu" and all is ok but then it writes "package [package_name] does not have a valid architecture"

i changed my architecture on auto and it worked but them i had problems with my net and so this shit has happened.

Offline

#6 2010-12-09 07:11:50

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] New architecture feature breaks 32bit chroot functionality.

MyParanoya, this thread concerns 32-bit chroots on 64-bit systems. Is that what you are asking about? If not, please start a new thread.

Either way, you need to describe the problems with your net, and how they relate to the architecture issue.

Offline

#7 2010-12-09 07:27:32

MyParanoya
Member
Registered: 2010-12-09
Posts: 11

Re: [SOLVED] New architecture feature breaks 32bit chroot functionality.

no thats not my problem but i thought u can help me in 1 word u r so clever.
ok, i'll start a new tread

Offline

#8 2010-12-10 20:37:50

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: [SOLVED] New architecture feature breaks 32bit chroot functionality.

I personally would prefer not having the Architecture feature, I also got stung by this. but never any issues "in the old days" wink

Last edited by Dieter@be (2010-12-10 20:38:56)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#9 2010-12-10 23:22:24

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: [SOLVED] New architecture feature breaks 32bit chroot functionality.

You are free to disable it...    The number of people whose arse it has saved by stopping them installing packages from the wrong architecture more than justifies its inclusion.

Offline

Board footer

Powered by FluxBB