Здравствуйте! Требуется на x86 собрать корень для arm. Корень для i386 собирается и выглядит рабочим: chroot выполняется, dpkg/apt внутри работают и т.д. Корень для arm не собирается со следующей диагностикой:
W: Failure trying to run: chroot /home/enp/arm/debian/debinst-arm mount -t proc proc /proc Все логично, для chroot в этом случае требуются фокусы с binfmt_misc. Читаю http://wiki.debian.org/EmDebian/CrossDebootstrap, там предлагают сначала запустить debootstrap с --foreign и уже после ручного выполнения фокусов вызвать post install scripts. Проблема в том, что выполнять-то, видимо, особо нечего: # DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANGUAGE=C LANG=C dpkg --configure -a warning, in file '/var/lib/dpkg/status' near line 3 package 'dpkg': missing description warning, in file '/var/lib/dpkg/status' near line 3 package 'dpkg': missing maintainer # wc -l /var/lib/dpkg/status 4 /var/lib/dpkg/status А в нормально собравшемся чруте для i386: # wc -l /var/lib/dpkg/status 3427 /var/lib/dpkg/status С multistrap я продвигаюсь дальше, файл /var/lib/dpkg/status оказывается заполненным, но dpkg/apt работают, сопровождая каждую операцию кучей разных ругательств типа: # apt-get install cdebconf Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: libdebian-installer4 libnewt0.52 libtextwrap1 The following NEW packages will be installed: cdebconf libdebian-installer4 libnewt0.52 libtextwrap1 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. Need to get 0 B/150 kB of archives. After this operation, 602 kB of additional disk space will be used. Do you want to continue [Y/n]? y WARNING: The following packages cannot be authenticated! libnewt0.52 libdebian-installer4 libtextwrap1 cdebconf Install these packages without verification [y/N]? y ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype No diversion 'diversion of /bin/sh by dash', none removed. This should never be reached dpkg: error processing dash (--configure): subprocess installed post-installation script returned error exit status 1 configured to not write apport reports dpkg: dependency problems prevent configuration of bash: bash depends on dash (>= 0.5.5.1-2.2); however: Package dash is not configured yet. dpkg: error processing bash (--configure): dependency problems - leaving unconfigured Setting up libnewt0.52 (0.52.11-1em1) ... configured to not write apport reports Setting up libdebian-installer4 (0.77+squeeze3em1) ... Setting up libtextwrap1 (0.1-9em1) ... Setting up cdebconf (0.153+squeeze2em1) ... Errors were encountered while processing: dash bash E: Sub-process /usr/bin/dpkg returned an error code (1) Ну и по большому счету EmDebian мне пока не нужен, нужен обыкновенный Debian -- С уважением, Прокопьев Евгений -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/canm4rugzbw8ffnbsd99_e3dablea6+bqn7wzsuav2va78t6...@mail.gmail.com

