[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#709751: Bug#785276: debootstrap fails with message: Couldn't find these debs: 91369800



Howdy,


On Fri, 15 May 2015 01:22:40 +0200 Cyril Brulebois <kibi@debian.org>
wrote:
> Control: tag 785276 patch pending
> 
> Cyril Brulebois <kibi@debian.org> (2015-05-15):
> > Hi Andy,
> > 
> > Andy Sharp <andy@tigerand.com> (2015-05-13):
> > > 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
> > 
> > To fix your immediate issue, drop libpam0g. It's ending up being
> > duplicated and that's apparently not supported. I'll try and figure out
> > how to deal with it.
> 
> Things should be better with the patch I've just pushed:
>   https://anonscm.debian.org/cgit/d-i/debootstrap.git/commit/?id=eec4c44

Very cool.  I will try to test this out.

I axed libpam0g, and now I'm trying to chase down all the dependencies
again, and so far haven't hit the bug, but I'm still going.

In all the fuss [for shame], I had forgotten all about the fact that I
had to hack the sid script to get things going past the initial
unpacking stage.  I changed line 46 (first line of first_stage_install
function)

-	extract $required
+	extract $required libbz2-1.0 libdebconfclient0 insserv

Without that, it wouldn't get past the first unpacking of base-passwd.


> 
> Feel free to test and report back.

I will test as soon as possible and let you know.  Thanks.

-a

> Adding other bug reports and respective reporters to the dance to see if
> that helps.
> 
> > You'll then hit a missing libbz2-1.0, which is needed for dpkg-deb in
> > the base-passwd case. It's specified in your --include list though, but
> > I guess you're losing anyway because order matters…
> > 
> > Specifying an unknown package (like “kaboom”) in --include leads to the
> > expected result (its being listed as not found).
> 
> 
> Mraw,
> KiBi.


Reply to: