You are not logged in.

#1 2010-10-06 17:28:16

corte
Member
Registered: 2010-07-29
Posts: 9

[SOLVED] 32 bit chroot keeps trying to install x86_64 packages

EDIT: Solved, see post #5.

Hello,

I've followed the "alternative lightweight install" instructions from the Wiki page (http://wiki.archlinux.org/index.php/Ins … _in_Arch64) in an attempt to set up a 32-bit chroot on my x64 system.

The problem I'm running into is when running this command: "pacman -S ttf-bitstream-vera" after chroot'ing into /opt/arch32.  I've confirmed that my arch is i686 in both the pacman.d/mirrors file, as well as pacman.conf.  I've run a "pacman -Syy" after making these changes, but no matter what, pacman STILL really wants to download the 64-bit packages.

This is the output I get:

[user@box~]$ uname -m
i686
[user@box ~]$ sudo pacman -S ttf-bitstream-vera
resolving dependencies...
looking for inter-conflicts...

Targets (9): freetype2-2.4.3-1  fontconfig-2.8.0-1  libfontenc-1.0.5-1  fontsproto-2.1.0-1  libxfont-1.4.2-1  xproto-7.0.18-1  xorg-font-utils-7.5-2  xorg-fonts-encodings-1.0.3-1
             ttf-bitstream-vera-1.10-7

Total Download Size:    2.41 MB
Total Installed Size:   9.26 MB

Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
error: failed retrieving file 'freetype2-2.4.3-1-x86_64.pkg.tar.xz' from mirrors.kernel.org : Not Found
error: failed retrieving file 'fontconfig-2.8.0-1-x86_64.pkg.tar.gz' from mirrors.kernel.org : Not Found
error: failed retrieving file 'libfontenc-1.0.5-1-x86_64.pkg.tar.gz' from mirrors.kernel.org : Not Found
error: failed retrieving file 'libxfont-1.4.2-1-x86_64.pkg.tar.xz' from mirrors.kernel.org : Not Found
 xproto-7.0.18-1-any                                                                          56.0K  184.7K/s 00:00:00 [#######################################################################] 100%
error: failed retrieving file 'xorg-font-utils-7.5-2-x86_64.pkg.tar.gz' from mirrors.kernel.org : Not Found
 xorg-fonts-encodings-1.0.3-1-any                                                            568.1K  500.3K/s 00:00:01 [#######################################################################] 100%
 ttf-bitstream-vera-1.10-7-any                                                               211.6K  339.9K/s 00:00:01 [#######################################################################] 100%
warning: failed to retrieve some files from extra
error: failed to commit transaction (Not Found)
Errors occurred, no packages were upgraded.
[user@box ~]$ 

Any ideas would be greatly appreicated.

Thanks,

corte

Last edited by corte (2010-10-07 00:14:22)

Offline

#2 2010-10-06 17:45:47

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] 32 bit chroot keeps trying to install x86_64 packages

because you missed the most important part.

linux32 sudo chroot bla

or you have a stupid mirrorlist, which contains x86_64 links

Last edited by wonder (2010-10-06 17:46:31)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-10-06 18:14:31

corte
Member
Registered: 2010-07-29
Posts: 9

Re: [SOLVED] 32 bit chroot keeps trying to install x86_64 packages

Thanks for the quick response, wonder.

I checked my mirrorlist, it doesn't contain any x86_64 links.  I'll give the "linux32" a shot when I get home--I just didn't see it listed under the wiki article (http://wiki.archlinux.org/index.php/Arc … bit_system).

The weird thing is that "uname -m" already shows i686 when I'm in the chrooted environment.

Offline

#4 2010-10-07 00:10:33

corte
Member
Registered: 2010-07-29
Posts: 9

Re: [SOLVED] 32 bit chroot keeps trying to install x86_64 packages

The prefix of "linux32" did not make pacman search for the correct packages.  It still wants to download the x86_64 packages...

Offline

#5 2010-10-07 00:11:31

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] 32 bit chroot keeps trying to install x86_64 packages

try to resync the database inside chroot, pacman -Syy


Give what you have. To someone, it may be better than you dare to think.

Offline

#6 2010-10-07 00:13:50

corte
Member
Registered: 2010-07-29
Posts: 9

Re: [SOLVED] 32 bit chroot keeps trying to install x86_64 packages

wonder wrote:

try to resync the database inside chroot, pacman -Syy

Thanks, that did the trick!

Offline

Board footer

Powered by FluxBB