Есть свой пул пакетов, с которого нужно собрать installer. Команда
debootstrap --arch i386 lenny /mnt/debinst/ file:///home/kajmul_a/debian-x86/
W: Failure trying to run: chroot /mnt/debinst dpkg --force-depends --install var/cache/apt/archives/libc6_2.7-18lenny7_i386.deb
Лог debootstrapa : ( последние строчки )
libc6 depends on libgcc1; however:
Package libgcc1 is not installed.
Setting up libc6 (2.7-18lenny7) ...
/usr/share/debconf/confmodule: /usr/share/debconf/frontend: /usr/bin/perl: bad interpreter: No such file or directory
/usr/share/debconf/confmodule: line 17: /usr/share/debconf/frontend: Success
dpkg: error processing libc6 (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
libc6