[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#653921: [debootstrap] installed chroot has wrong arch (amd64 instead of i386)



On Sonntag, 1. Januar 2012 Julien Cristau wrote:

> On Sun, Jan 1, 2012 at 14:35:57 +0000, Diggory Hardy wrote:

>

> > Package: debootstrap

> > Version: 1.0.38

> > Severity: normal

> >

> > --- Please enter the report below this line. ---

> >

> > Hello and a merry new year,

> >

> > I've been trying to install an i386 chroot on an amd64 system using the following command, but every time I get the wrong architecture (uname -r shows 3.1.0-1-amd64). Tried 3 times with debootstrap and once with cdebootstrap; same result.

> >

> > sudo debootstrap --arch=i386 squeeze /var/chroot/squeeze-ia32 http://ftp.debian.org/debian/

> >

> > As far as I am aware, this is the correct command to install an i386 chroot using debootstrap. Install logs (both debootstrap and cdebootstrap) attached; no errors that I can see.

> >

> Why do you think uname -r has anything to do with the userspace's arch?

> Try dpkg --print-architecture.

>

> Cheers,

> Julien

>

Why indeed? I was trying to run ./configure on an old valgrind package only supporting i386 and that also complained... never mind though.

 

Cheers for the help,

Diggory


Reply to: