Bug#642031: debootstrap: Debootstrap error when host and build have different kernels
Package: debootstrap
Version: 1.0.36
Severity: important
Tags: upstream
Debootstrap seems to fail when the running kernel is different from the chroot
environment
I think a similar issue has been picked up in Ubuntu -
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/802985
I concede I may not described the problem properly, but I seem to be facing the
same issue:
debian live-helper # chroot /data/ext/live-helper/chroot
root@debian:/# dpkg --force-depends --install
/var/cache/apt/archives/libc6_2.11.2-10_amd64.deb
(Reading database ... 349 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.11.2-10_amd64.deb) ...
[: 392: Illegal number: 3.0-3.dmz.2-liquorix-amd64
/var/lib/dpkg/tmp.ci/preinst: 392: arithmetic expression: expecting EOF:
"3.0-3.dmz.2-liquorix-amd64"
dpkg: error processing /var/cache/apt/archives/libc6_2.11.2-10_amd64.deb
(--install):
subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.11.2-10_amd64.deb
root@debian:/# exit
many apologies if it is not the same thing.
Kind regards
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (150, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0-3.dmz.2-liquorix-amd64 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages debootstrap depends on:
pn wget <none>
Versions of packages debootstrap recommends:
ii debian-archive-keyring 2010.08.28
ii gnupg 1.4.11-3
debootstrap suggests no packages.
-- no debconf information
Reply to: