You are not logged in.

#1 2010-06-27 23:20:48

synthead
Member
Registered: 2006-05-09
Posts: 1,342

Problem with 32-bit chroot

I have a 32-bit chroot set up exactly like our wiki: http://wiki.archlinux.org/index.php/Ins … _in_Arch64  I've been having some issues with it lately, so I thought I would reinstall the base-devel group, but I'm still running into trouble.

Running this command

pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf -S base base-devel --debug

Gives me this

debug: config: attempting to read file /opt/arch32/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: architecture: x86_64
debug: config: new section 'core'
debug: registering sync database 'core'
debug: config file /opt/arch32/pacman.conf, line 66: including /opt/arch32/mirrorlist
debug: config: attempting to read file /opt/arch32/mirrorlist
debug: adding new server URL to database 'core': http://archlinux.unixheads.org/core/os/i686
debug: setlibpaths() called
debug: option 'root' = /opt/arch32/
debug: option 'dbpath' = /opt/arch32/var/lib/pacman/
debug: option 'lockfile' = /opt/arch32/var/lib/pacman/db.lck
debug: option 'logfile' = /opt/arch32/var/log/pacman.log
debug: config: finished parsing /opt/arch32/mirrorlist
debug: config: new section 'extra'
debug: registering sync database 'extra'
debug: config file /opt/arch32/pacman.conf, line 70: including /opt/arch32/mirrorlist
debug: config: attempting to read file /opt/arch32/mirrorlist
debug: adding new server URL to database 'extra': http://archlinux.unixheads.org/extra/os/i686
debug: config: finished parsing /opt/arch32/mirrorlist
debug: config: new section 'community'
debug: registering sync database 'community'
debug: config file /opt/arch32/pacman.conf, line 78: including /opt/arch32/mirrorlist
debug: config: attempting to read file /opt/arch32/mirrorlist
debug: adding new server URL to database 'community': http://archlinux.unixheads.org/community/os/i686
debug: config: finished parsing /opt/arch32/mirrorlist
debug: config: finished parsing /opt/arch32/pacman.conf
debug: registering local database
debug: loading package cache for repository 'local'
debug: database path for tree local set to /opt/arch32/var/lib/pacman/local/
debug: loading package cache for repository 'core'
debug: database path for tree core set to /opt/arch32/var/lib/pacman/sync/core/
debug: loading package cache for repository 'extra'
debug: database path for tree extra set to /opt/arch32/var/lib/pacman/sync/extra/
debug: loading package cache for repository 'community'
debug: database path for tree community set to /opt/arch32/var/lib/pacman/sync/community/
debug: base package not found, searching for group...
debug: loading group cache for repository 'core'
warning: attr-2.4.44-1 is up to date -- reinstalling
debug: adding package attr-2.4.44-1 to the transaction targets
warning: bash-4.1.007-1 is up to date -- reinstalling
debug: adding package bash-4.1.007-1 to the transaction targets
warning: binutils-2.20.1-3 is up to date -- reinstalling
debug: adding package binutils-2.20.1-3 to the transaction targets
warning: bzip2-1.0.5-5 is up to date -- reinstalling
debug: adding package bzip2-1.0.5-5 to the transaction targets
debug: adding package coreutils-8.5-2 to the transaction targets
debug: adding package cryptsetup-1.1.2-1 to the transaction targets
debug: adding package dash-0.5.6.1-1 to the transaction targets
warning: dcron-4.4-2 is up to date -- reinstalling
debug: adding package dcron-4.4-2 to the transaction targets
debug: adding package device-mapper-2.02.66-1 to the transaction targets
debug: adding package dhcpcd-5.2.5-1 to the transaction targets
warning: diffutils-3.0-1 is up to date -- reinstalling
debug: adding package diffutils-3.0-1 to the transaction targets
warning: e2fsprogs-1.41.12-1 is up to date -- reinstalling
debug: adding package e2fsprogs-1.41.12-1 to the transaction targets
warning: file-5.04-2 is up to date -- reinstalling
debug: adding package file-5.04-2 to the transaction targets
warning: filesystem-2010.02-4 is up to date -- reinstalling
debug: adding package filesystem-2010.02-4 to the transaction targets
warning: findutils-4.4.2-2 is up to date -- reinstalling
debug: adding package findutils-4.4.2-2 to the transaction targets
warning: gawk-3.1.8-1 is up to date -- reinstalling
debug: adding package gawk-3.1.8-1 to the transaction targets
debug: adding package gcc-libs-4.5.0-6 to the transaction targets
warning: gen-init-cpio-2.6.32-1 is up to date -- reinstalling
debug: adding package gen-init-cpio-2.6.32-1 to the transaction targets
debug: adding package gettext-0.18.1.1-1 to the transaction targets
debug: adding package glibc-2.12-4 to the transaction targets
warning: grep-2.6.3-1 is up to date -- reinstalling
debug: adding package grep-2.6.3-1 to the transaction targets
warning: grub-0.97-17 is up to date -- reinstalling
debug: adding package grub-0.97-17 to the transaction targets
warning: gzip-1.4-1 is up to date -- reinstalling
debug: adding package gzip-1.4-1 to the transaction targets
debug: adding package initscripts-2010.06-2 to the transaction targets
warning: iputils-20100214-2 is up to date -- reinstalling
debug: adding package iputils-20100214-2 to the transaction targets
warning: jfsutils-1.1.14-1 is up to date -- reinstalling
debug: adding package jfsutils-1.1.14-1 to the transaction targets
debug: adding package kernel26-2.6.34-2 to the transaction targets
warning: less-436-1 is up to date -- reinstalling
debug: adding package less-436-1 to the transaction targets
warning: libusb-0.1.12-4 is up to date -- reinstalling
debug: adding package libusb-0.1.12-4 to the transaction targets
warning: licenses-2.6-1 is up to date -- reinstalling
debug: adding package licenses-2.6-1 to the transaction targets
warning: logrotate-3.7.8-1 is up to date -- reinstalling
debug: adding package logrotate-3.7.8-1 to the transaction targets
debug: adding package lvm2-2.02.66-1 to the transaction targets
warning: lzo2-2.03-1 is up to date -- reinstalling
debug: adding package lzo2-2.03-1 to the transaction targets
warning: mailx-8.1.1-7 is up to date -- reinstalling
debug: adding package mailx-8.1.1-7 to the transaction targets
warning: man-db-2.5.7-1 is up to date -- reinstalling
debug: adding package man-db-2.5.7-1 to the transaction targets
debug: adding package man-pages-3.25-1 to the transaction targets
warning: mdadm-3.1.2-2 is up to date -- reinstalling
debug: adding package mdadm-3.1.2-2 to the transaction targets
warning: module-init-tools-3.11.1-2 is up to date -- reinstalling
debug: adding package module-init-tools-3.11.1-2 to the transaction targets
warning: nano-2.2.4-1 is up to date -- reinstalling
debug: adding package nano-2.2.4-1 to the transaction targets
warning: net-tools-1.60-14 is up to date -- reinstalling
debug: adding package net-tools-1.60-14 to the transaction targets
warning: pacman-3.4.0-2 is up to date -- reinstalling
debug: adding package pacman-3.4.0-2 to the transaction targets
warning: pam-1.1.1-1 is up to date -- reinstalling
debug: adding package pam-1.1.1-1 to the transaction targets
warning: pciutils-3.1.7-1 is up to date -- reinstalling
debug: adding package pciutils-3.1.7-1 to the transaction targets
debug: adding package pcmciautils-017-1 to the transaction targets
warning: perl-5.10.1-5 is up to date -- reinstalling
debug: adding package perl-5.10.1-5 to the transaction targets
warning: ppp-2.4.5-1 is up to date -- reinstalling
debug: adding package ppp-2.4.5-1 to the transaction targets
warning: procps-3.2.8-1 is up to date -- reinstalling
debug: adding package procps-3.2.8-1 to the transaction targets
warning: psmisc-22.11-1 is up to date -- reinstalling
debug: adding package psmisc-22.11-1 to the transaction targets
warning: reiserfsprogs-3.6.21-2 is up to date -- reinstalling
debug: adding package reiserfsprogs-3.6.21-2 to the transaction targets
warning: rp-pppoe-3.10-5 is up to date -- reinstalling
debug: adding package rp-pppoe-3.10-5 to the transaction targets
warning: sed-4.2.1-2 is up to date -- reinstalling
debug: adding package sed-4.2.1-2 to the transaction targets
warning: shadow-4.1.4.2-3 is up to date -- reinstalling
debug: adding package shadow-4.1.4.2-3 to the transaction targets
warning: sysfsutils-2.1.0-5 is up to date -- reinstalling
debug: adding package sysfsutils-2.1.0-5 to the transaction targets
warning: syslog-ng-3.1.1-1 is up to date -- reinstalling
debug: adding package syslog-ng-3.1.1-1 to the transaction targets
warning: sysvinit-2.86-5 is up to date -- reinstalling
debug: adding package sysvinit-2.86-5 to the transaction targets
warning: tar-1.23-3 is up to date -- reinstalling
debug: adding package tar-1.23-3 to the transaction targets
warning: tcp_wrappers-7.6-11 is up to date -- reinstalling
debug: adding package tcp_wrappers-7.6-11 to the transaction targets
warning: texinfo-4.13a-4 is up to date -- reinstalling
debug: adding package texinfo-4.13a-4 to the transaction targets
debug: adding package udev-157-1 to the transaction targets
warning: usbutils-0.87-1 is up to date -- reinstalling
debug: adding package usbutils-0.87-1 to the transaction targets
warning: util-linux-ng-2.17.2-2 is up to date -- reinstalling
debug: adding package util-linux-ng-2.17.2-2 to the transaction targets
warning: vi-050325-3 is up to date -- reinstalling
debug: adding package vi-050325-3 to the transaction targets
warning: wget-1.12-2 is up to date -- reinstalling
debug: adding package wget-1.12-2 to the transaction targets
warning: which-2.20-3 is up to date -- reinstalling
debug: adding package which-2.20-3 to the transaction targets
warning: wpa_supplicant-0.6.10-2 is up to date -- reinstalling
debug: adding package wpa_supplicant-0.6.10-2 to the transaction targets
warning: xfsprogs-3.1.2-1 is up to date -- reinstalling
debug: adding package xfsprogs-3.1.2-1 to the transaction targets
debug: loading group cache for repository 'extra'
debug: loading group cache for repository 'community'
debug: base-devel package not found, searching for group...
warning: autoconf-2.65-2 is up to date -- reinstalling
debug: adding package autoconf-2.65-2 to the transaction targets
warning: automake-1.11.1-1 is up to date -- reinstalling
debug: adding package automake-1.11.1-1 to the transaction targets
warning: bin86-0.16.17-4 is up to date -- reinstalling
debug: adding package bin86-0.16.17-4 to the transaction targets
warning: bison-2.4.2-1 is up to date -- reinstalling
debug: adding package bison-2.4.2-1 to the transaction targets
warning: ed-1.4-2 is up to date -- reinstalling
debug: adding package ed-1.4-2 to the transaction targets
warning: fakeroot-1.14.4-2 is up to date -- reinstalling
debug: adding package fakeroot-1.14.4-2 to the transaction targets
warning: flex-2.5.35-3 is up to date -- reinstalling
debug: adding package flex-2.5.35-3 to the transaction targets
debug: adding package gcc-4.5.0-6 to the transaction targets
debug: adding package libtool-2.2.10-1 to the transaction targets
debug: adding package m4-1.4.14-2 to the transaction targets
warning: make-3.81-5 is up to date -- reinstalling
debug: adding package make-3.81-5 to the transaction targets
warning: patch-2.6.1-1 is up to date -- reinstalling
debug: adding package patch-2.6.1-1 to the transaction targets
debug: adding package pkg-config-0.25-1 to the transaction targets
debug: returning error 33 from alpm_trans_prepare : package architecture is not valid
:: package attr-2.4.44-1-i686 does not have a valid architecture
:: package bash-4.1.007-1-i686 does not have a valid architecture
:: package binutils-2.20.1-3-i686 does not have a valid architecture
:: package bzip2-1.0.5-5-i686 does not have a valid architecture
:: package coreutils-8.5-2-i686 does not have a valid architecture
:: package cryptsetup-1.1.2-1-i686 does not have a valid architecture
:: package dash-0.5.6.1-1-i686 does not have a valid architecture
:: package dcron-4.4-2-i686 does not have a valid architecture
:: package device-mapper-2.02.66-1-i686 does not have a valid architecture
:: package dhcpcd-5.2.5-1-i686 does not have a valid architecture
:: package diffutils-3.0-1-i686 does not have a valid architecture
:: package e2fsprogs-1.41.12-1-i686 does not have a valid architecture
:: package file-5.04-2-i686 does not have a valid architecture
:: package findutils-4.4.2-2-i686 does not have a valid architecture
:: package gawk-3.1.8-1-i686 does not have a valid architecture
:: package gcc-libs-4.5.0-6-i686 does not have a valid architecture
:: package gen-init-cpio-2.6.32-1-i686 does not have a valid architecture
:: package gettext-0.18.1.1-1-i686 does not have a valid architecture
:: package glibc-2.12-4-i686 does not have a valid architecture
:: package grep-2.6.3-1-i686 does not have a valid architecture
:: package grub-0.97-17-i686 does not have a valid architecture
:: package gzip-1.4-1-i686 does not have a valid architecture
:: package initscripts-2010.06-2-i686 does not have a valid architecture
:: package iputils-20100214-2-i686 does not have a valid architecture
:: package jfsutils-1.1.14-1-i686 does not have a valid architecture
:: package kernel26-2.6.34-2-i686 does not have a valid architecture
:: package less-436-1-i686 does not have a valid architecture
:: package libusb-0.1.12-4-i686 does not have a valid architecture
:: package logrotate-3.7.8-1-i686 does not have a valid architecture
:: package lvm2-2.02.66-1-i686 does not have a valid architecture
:: package lzo2-2.03-1-i686 does not have a valid architecture
:: package mailx-8.1.1-7-i686 does not have a valid architecture
:: package man-db-2.5.7-1-i686 does not have a valid architecture
:: package mdadm-3.1.2-2-i686 does not have a valid architecture
:: package module-init-tools-3.11.1-2-i686 does not have a valid architecture
:: package nano-2.2.4-1-i686 does not have a valid architecture
:: package net-tools-1.60-14-i686 does not have a valid architecture
:: package pacman-3.4.0-2-i686 does not have a valid architecture
:: package pam-1.1.1-1-i686 does not have a valid architecture
:: package pciutils-3.1.7-1-i686 does not have a valid architecture
:: package pcmciautils-017-1-i686 does not have a valid architecture
:: package perl-5.10.1-5-i686 does not have a valid architecture
:: package ppp-2.4.5-1-i686 does not have a valid architecture
:: package procps-3.2.8-1-i686 does not have a valid architecture
:: package psmisc-22.11-1-i686 does not have a valid architecture
:: package reiserfsprogs-3.6.21-2-i686 does not have a valid architecture
:: package rp-pppoe-3.10-5-i686 does not have a valid architecture
:: package sed-4.2.1-2-i686 does not have a valid architecture
:: package shadow-4.1.4.2-3-i686 does not have a valid architecture
:: package sysfsutils-2.1.0-5-i686 does not have a valid architecture
:: package syslog-ng-3.1.1-1-i686 does not have a valid architecture
:: package sysvinit-2.86-5-i686 does not have a valid architecture
:: package tar-1.23-3-i686 does not have a valid architecture
:: package tcp_wrappers-7.6-11-i686 does not have a valid architecture
:: package texinfo-4.13a-4-i686 does not have a valid architecture
:: package udev-157-1-i686 does not have a valid architecture
:: package usbutils-0.87-1-i686 does not have a valid architecture
:: package util-linux-ng-2.17.2-2-i686 does not have a valid architecture
:: package vi-050325-3-i686 does not have a valid architecture
:: package wget-1.12-2-i686 does not have a valid architecture
:: package which-2.20-3-i686 does not have a valid architecture
:: package wpa_supplicant-0.6.10-2-i686 does not have a valid architecture
:: package xfsprogs-3.1.2-1-i686 does not have a valid architecture
:: package bin86-0.16.17-4-i686 does not have a valid architecture
:: package bison-2.4.2-1-i686 does not have a valid architecture
:: package ed-1.4-2-i686 does not have a valid architecture
:: package fakeroot-1.14.4-2-i686 does not have a valid architecture
:: package flex-2.5.35-3-i686 does not have a valid architecture
:: package gcc-4.5.0-6-i686 does not have a valid architecture
:: package libtool-2.2.10-1-i686 does not have a valid architecture
:: package m4-1.4.14-2-i686 does not have a valid architecture
:: package make-3.81-5-i686 does not have a valid architecture
:: package patch-2.6.1-1-i686 does not have a valid architecture
:: package pkg-config-0.25-1-i686 does not have a valid architecture
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: freeing group cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: freeing group cache for repository 'extra'
debug: unregistering database 'community'
debug: freeing package cache for repository 'community'
debug: freeing group cache for repository 'community'

I have never seen this before.  And interesting point I must include is when I run uname -m under the chroot, I get x86_64 instead of i686.

Last edited by synthead (2010-06-27 23:22:15)

Offline

#2 2010-06-27 23:51:35

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

Re: Problem with 32-bit chroot

use linux32 sudo pacman blah

the new architecture option is using uname -m to detect what architecture do you run and linux32 overrides it. same thing you do when you entering in chroot. linux32 sudo chroot /path

Last edited by wonder (2010-06-27 23:52:30)


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

Offline

#3 2010-06-28 00:11:18

synthead
Member
Registered: 2006-05-09
Posts: 1,342

Re: Problem with 32-bit chroot

Works great!  Why is this happening though?  I've never had to specify linux32 when entering a chroot before.

Last edited by synthead (2010-06-28 00:14:46)

Offline

#4 2010-06-28 03:43:21

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Problem with 32-bit chroot

New version of pacman, slightly different way of doing things. Mark solved please smile


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2010-06-28 09:18:41

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

Re: Problem with 32-bit chroot

It works also changing the Architecture parameter in /opt/arch32/pacman.conf :

Architecture = i686

instead of auto.

Offline

Board footer

Powered by FluxBB