Wow, thanks!
I'll give it a try.

one question though, will it be possible to run a command in the chrooted
environment without having root in the original machine?
the thing is, i need to execute the i386 software using a piece of software
i wrote for the amd64 machine and would prefer no running my code under
root.

i saw some references to fakeroot and fakechroot, could it help?


On Mon, Mar 4, 2013 at 12:00 AM, Sven Joachim <svenj...@gmx.de> wrote:

> On 2013-03-03 22:36 +0100, nir izraeli wrote:
>
> > I've been trying to install python2.7:i386 on an amd64 machine (i require
> > it for another piece closed-source software that only has 32 bit
> support),
> > and i'm having trouble doing that.
>
> You cannot really do that, I'm afraid.
>
> > Since im using Wheezy RC1 i'm aware of the possibility that there's no
> > solution available but i'd like to avoid installing native 32 bit OS
> > because i need the extra RAM and performance.
> > Also, debian 6 AFAIK only has python2.6 packages (with which i have
> > other dependency issues)
> >
> > I'd like any suggestion i can get...
>
> Set up an i386 chroot and install python2.7 and your application there.
> The schroot package makes using such a setup relatively painless.
>
> > user@vmdeb:~$ su -c "apt-get install python2.7:i386"
> > Password:
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Some packages could not be installed. This may mean that you have
> > requested an impossible situation or if you are using the unstable
> > distribution that some required packages have not yet been created
> > or been moved out of Incoming.
> > The following information may help to resolve the situation:
> >
> > The following packages have unmet dependencies:
> >  python2.7:i386 : Depends: mime-support:i386 but it is not installable
> > E: Unable to correct problems, you have held broken packages.
> > user@vmdeb:~$ su -c "apt-get install mime-support:i386"
> > Password:
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Package mime-support:i386 is not available, but is referred to by another
> > package.
> > This may mean that the package is missing, has been obsoleted, or
> > is only available from another source
> >
> > E: Package 'mime-support:i386' has no installation candidate
>
> The problem is that mime-support is an Architecture:all package, but not
> marked as "Multi-Arch: foreign", so it does not fulfill dependencies of
> packages from foreign architectures.  For details, see
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695357.
>
> With the mime-support package in experimental, you should be
> theoretically able to install python2.7:i386, but since that package is
> not "Multiarch: foreign" either, many packages which depend on python2.7
> (or just python) become uninstallabe, so this is not really an option.
>
> Cheers,
>        Sven
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/87txosdtyv....@turtle.gmx.de
>
>

Reply via email to