Re: Is the "Debian IA32 chroot system" installation currently broken ?
Hi,
Łukasz Pieczara a écrit :
Yannick - Debian/Linux wrote:
Following the how-to here :
https://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html
Doing
# debootstrap --arch i386 sid /var/chroot/sid-ia32
http://ftp.debian.org/debian/
i got this error :
I: Validating libpopt0
E: Couldn't download libsigc++-1.2-5c102
And it stop there...
Did i miss something ? Is this normal ?
try this:
#cdebootstrap --arch i386 sarge /var/chroot/sarge-ia32/
http://ftp.pl.debian.org/debian
# mount -o bind /dev /var/chroot/sarge-ia32/dev/
# mount -o bind /proc /var/chroot/sarge-ia32/proc
# cp -L /etc/resolv.conf /var/chroot/sarge-ia32/etc
copy shadows, pass, gropus etc too...
nexy you must edit /etc/apt/sources.list
deb http://ftp.pl.debian.org/debian stable main contrib non-free
and update and upgrade apt... (or upgarde to testing)
I got this error trying apt-get install openoffice.org :
The following extra packages will be installed:
libc6
Suggested packages:
locales glibc-doc
The following NEW packages will be installed:
libc6
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/4899kB of archives.
After unpacking 15.9MB of additional disk space will be used.
Do you want to continue? [Y/n]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr_FR:fr:en_GB:en",
LC_ALL = (unset),
LANG = "fr_FR@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
E: Cannot get debconf version. Is debconf installed?
(Reading database ... 249 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.3.2.ds1-22_i386.deb) ...
dpkg not recorded as installed, cannot check for epoch support !
dpkg: error processing
/var/cache/apt/archives/libc6_2.3.2.ds1-22_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.3.2.ds1-22_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
It seems the chroot system doesn't like my french locales. apt-get -f
install can't solve this.
Any idea to fix this ?
Thank you for paying attention,
Yannick
in etc/ld.so.conf on 64 bit
# chroot i386 system libs
/var/chroot/sarge-ia32/lib
/var/chroot/sarge-ia32/usr/lib
/var/chroot/sarge-ia32/usr/X11R6/lib
/var/chroot/sarge-ia32/usr/local/lib1
and after all you can install
apt-get install dchroot
in etc/dchroot.conf
stable /var/chroot/sarge-ia32/
last stage:
#dchroot -c stable -d firefox
After all i have problem with run firefox
(firefox-bin:21500): Gtk-WARNING **: cannot open display:
dchroot: Child exited non-zero.
dchroot: Operation failed.
i tryed :
export $DISPLAY=:0
and xhost + localhost
and others combination, but it didn't help.
Lukasz Pieczara
Reply to: