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

Re: cross-apt



> Is there a reasonable way under Debian to do cross-apts?  A friend of
> mine has a laptop with a winmodem, (so no PPP available, network card
> is a pc-card), but he wants to play.  His main system is a Debian
> unstable, so I'm hoping there's a way to do apt-get --root=/hurd
> --system=hurd-i386 install foo

I've been trying to figure this out as well, as apt under hurd hangs for me about 50% of the time.

        man 5 apt.conf

describes how to have the APT_CONFIG variable be used to specify and alternate apt config file, and
how to use "Architecture" in the APT group to specify which system type is pulled down.

The part I don't see is how to have dpkg use a different root.

Perhaps you could just use apt to pull stuff down, and then loop over it using dpkg to install it
from within Hurd.

Or perhaps a combination of this and a chroot call before dpkg is called? I've never used chroot, so
I'm not positive on this.

A little scripting to wrap the various pieces would be certainly help.

-- Ian

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ian Duggan                    ian@ianduggan.net
                              http://www.ianduggan.net



Reply to: