Bug#920255: tries to install apt-transport-https even if doesn't exist

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#920255: tries to install apt-transport-https even if doesn't exist

Peter Palfrader
Package: debootstrap
Version: 1.0.89
Severity: important

Also applies to 1.0.110~bpo9+1.

debootstrap tries to install apt-transport-https with https mirror URLs
even if that's not required anymore and even if the packages doesn't
exist (as in the newer ubuntus, where it's in universe only):

} + debootstrap --keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg --include=apt,gnupg,ca-certificates --variant=buildd --arch=i386 disco /srv/chroot/schroot-unpack/create-disco-yq4jAG https://mirror.netcologne.de/ubuntu /usr/share/debootstrap/scripts/gutsy
} I: Retrieving InRelease
} I: Checking Release signature
} I: Valid Release signature (key id 790BC7277767219C42C86F933B4FE6ACC0B21F32)
} I: Retrieving Packages
} I: Validating Packages
} I: Resolving dependencies of required packages...
} I: Resolving dependencies of base packages...
} I: Found additional base dependencies: dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libasn1-8-heimdal libassuan0 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal
} libhx509-5-heimdal libkrb5-26-heimdal libksba8 libldap-2.4-2 libldap-common libnpth0 libreadline7 libroken18-heimdal libsasl2-2 libsasl2-modules-db libsqlite3-0
} libssl1.1 libwind0-heimdal openssl pinentry-curses readline-common
} I: Checking component main on https://mirror.netcologne.de/ubuntu...
} E: Couldn't find these debs: apt-transport-https

It shouldn't do that.

Cheers,
--
                            |  .''`.       ** Debian **
      Peter Palfrader       | : :' :      The  universal
 https://www.palfrader.org/ | `. `'      Operating System
                            |   `-    https://www.debian.org/

Reply | Threaded
Open this post in threaded view
|

Bug#920255: Acknowledgement (tries to install apt-transport-https even if doesn't exist)

Peter Palfrader
As a workaround, I pass a different setup-script to debootstrap now.

cuts from by setup-dchroot script:

script=/usr/share/debootstrap/scripts/gutsy

# work around for Debian#920255
debootstrapscript=$(tempfile)
cleanup+=("rm $debootstrapscript")
sed -e 's/apt-transport-https//' < "$script" > "$debootstrapscript"
script="$debootstrapscript"

debootstrap \
    --keyring "$keyring" \
    --include="$extrapkgs" \
    --variant=buildd \
    --arch="$arch" \
    "$suite" "$rootdir" "$mirror" "$script"


Thanks to cjwatson for the idea.
--
                            |  .''`.       ** Debian **
      Peter Palfrader       | : :' :      The  universal
 https://www.palfrader.org/ | `. `'      Operating System
                            |   `-    https://www.debian.org/