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

Bug#871780: live-build: support for apt-transport-https



(sorry for double-posting, forgot to keep the bug in cc)

Hi

> This issue can be solved by supplying '--debootstrap-options
> "--include=apt-transport-https"' to lb config on the command line or
> in auto/config.

Thanks for the suggestion! It looks like the '--debootstrap-options'
switch was already implemented in jessie but was undocumented. Now it's
even in the lb_config manpage. Cool.

Unfortunately, it still doesn't work with the additional switch. The
build process ignores/errs on https archive with error messages similar
to this one:
-----------------------
P: Configuring file /etc/apt/sources.list
OK
Ign:1 https://download.jitsi.org stable/ InRelease
Ign:2 https://download.jitsi.org stable/
Release
Ign:3 https://download.jitsi.org stable/
Packages
Ign:4 https://download.jitsi.org stable/
Translation-en
Ign:3 https://download.jitsi.org stable/
Packages
Ign:4 https://download.jitsi.org stable/
Translation-en
Ign:3 https://download.jitsi.org stable/
Packages
Ign:4 https://download.jitsi.org stable/
Translation-en
Ign:3 https://download.jitsi.org stable/
Packages
Ign:4 https://download.jitsi.org stable/
Translation-en
Ign:3 https://download.jitsi.org stable/
Packages
Get:5 http://security.debian.org stretch/updates InRelease [62.9
kB]                                          Ign:4
https://download.jitsi.org stable/
Translation-en
Get:6 http://security.debian.org stretch/updates/main Sources [54.3
kB]            Err:3 https://download.jitsi.org stable/
Packages                                        Get:7
http://security.debian.org stretch/updates/main amd64 Packages
[139 kB]                       Ign:4 https://download.jitsi.org stable/
Translation-en                               Get:8
http://security.debian.org stretch/updates/main Translation-en
[60.0 kB]         Ign:9 http://ftp.debian.org/debian stretch
InRelease

Get:10 http://ftp.debian.org/debian stretch-updates InRelease [88.5 kB]
Hit:11 http://ftp.debian.org/debian stretch Release
Get:13 http://ftp.debian.org/debian stretch/main Sources [6749 kB]
Get:14 http://ftp.debian.org/debian stretch/main Translation-en [5393 kB]
Fetched 12.5 MB in 18s (661
kB/s)

Reading package lists... Done
W: The repository 'https://download.jitsi.org stable/ Release' does not
have a Release file.
N: Data from such a repository can't be authenticated and is therefore
potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user
configuration details.
E: Failed to fetch https://download.jitsi.org/stable/Packages E: Some
index files failed to download. They have been ignored, or old
ones used instead.
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists... Done
Building dependency tree... Done
-----------------------

Attached is a simple script to reproduce the error above. Just create an
empty directory, put the script inside it and run it as root.

Could you reproduce the issue? Is there another command line switch,
configuration or patch necessary to support https archives?

Best

Ronny

Attachment: apt-https-test.sh
Description: application/shellscript


Reply to: