Bug#785276: debootstrap fails with message: Couldn't find these debs: 91369800
Package: debootstrap
Version: 1.0.67
Severity: important
Dear Maintainer,
Running debootstrap with --include= and --no-resolve-deps fails with
obvious problem in error message:
E: Couldn't find these debs: 91369800
That number is supposed to be a list of packages, not some crazy big
number.
The only workaround is to not use --no-resolve-debs, but that then makes
using --unpack-tarball option useless because any packages found by
looking for dependencies get downloaded from mirror rather than obtained
from the tarball.
Here is the exact command I used and the output from debootstrap:
$ sudo debootstrap --verbose --arch amd64 --no-resolve-deps --include=,at,exim4-base,exim4-config,exim4-daemon-light,cron,insserv,libaudit1,libaudit-common,libsemanage1,libpam0g,libslang2,libbz2-1.0,libdebconfclient0,libdb5.3,libgnutls-deb0-28,libgmp10,libhogweed2,libnettle4,libp11-kit0,libffi6,libedit2,libbsd0,gnupg,fakeroot,readline-common,udev,libkmod2,libudev1,vlan,iproute2,ucf,ntp,libcap2,libopts25,ntpdate,netbase,vim-common,vim-tiny,openssh-server,openssh-client,libssl1.0.0,libgssapi-krb5-2,libkrb5-3,libk5crypto3,libkeyutils1,libkrb5support0,libwrap0,init-system-helpers,adduser,procps,libprocps3,libncursesw5,openssh-sftp-server,libxml2,libapt-pkg4.12,libstdc++6,debian-archive-keyring,gpgv,libreadline6,socat,initramfs-tools,busybox,cpio,linux-headers-3.16.0-4-common,linux-headers-3.16.0-4-amd64,linux-compiler-gcc-4.8-x86,linux-image-3.16.0-4-amd64,linux-kbuild-3.16,kmod,module-init-tools,linux-base,libuuid-perl --exclude=,cyrus-sasl2-doc,laptop-detect,tasksel,tasksel-data jessie
/tmp/rootfs http://mirrors.kernel.org/debian
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/debian-archive-keyring.gpg
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Checking component main on http://mirrors.kernel.org/debian...
E: Couldn't find these debs: 91369800
There is nothing remarkable in the debootstrap.log file, just the download
progress for the Release and Packages files.
Bugs #709751 and #768445 report the same error message, but I fear they
aren't getting much attention. The recommended way to use this package
is to use the --no-resolve-deps option (according to the man page),
but these days a lot of packages are needed when all the dependencies
are added even for a pretty small install. With this bug, debootstrap
has to be connected to the internet for a large percentage of uses when
operating on recent releases like jessie.
I tried to debug this myself but got lost in the shell/perl/shell back
and forthness.
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages debootstrap depends on:
ii wget 1.16-1
Versions of packages debootstrap recommends:
ii debian-archive-keyring 2014.3
ii gnupg 1.4.18-7
debootstrap suggests no packages.
-- no debconf information
Reply to: