[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-09-22 Thread Mauricio Faria de Oliveira
** Tags removed: sts-sponsor-mfo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-09-01 Thread Launchpad Bug Tracker
This bug was fixed in the package debootstrap - 1.0.118ubuntu1.2

---
debootstrap (1.0.118ubuntu1.2) focal; urgency=medium

  * scripts/gutsy, scripts/debian-common: Check codename for
apt-transport-https as it's in universe as of bionic and
is no longer needed as functionality is built into apt
(LP: #1772556)

 -- Matthew Ruffell   Wed, 22 Jul 2020
12:38:26 +1200

** Changed in: debootstrap (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-08-31 Thread Mauricio Faria de Oliveira
The autopkgtests failures for sbuild on focal-proposed
are all addressed/passed; the Pending SRU page is clear
for focal/deboostrap. [1]

Thanks @mruffell for the ping to re-trigger the sbuild
failed tests (that debootstrap groovy) now that groovy's
procenv has the fix for GCC 10.

cheers,
Mauricio

[1] https://people.canonical.com/~ubuntu-archive/pending-sru.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-08-04 Thread Launchpad Bug Tracker
This bug was fixed in the package debootstrap - 1.0.95ubuntu0.7

---
debootstrap (1.0.95ubuntu0.7) bionic; urgency=medium

  * scripts/gutsy, scripts/debian-common: Check codename for
apt-transport-https as it's in universe as of bionic and
is no longer needed as functionality is built into apt
(LP: #1772556)

 -- Matthew Ruffell   Wed, 22 Jul 2020
12:25:46 +1200

** Changed in: debootstrap (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-08-04 Thread Łukasz Zemczak
I will be conditionally releasing the bionic upload before focal as
focal is currently in 20.04.1 release freeze. We will push it there once
we're out with 20.04.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-08-01 Thread Mathew Hodson
Fixed in debootstrap 1.0.120 and later.

** Changed in: debootstrap (Ubuntu)
   Status: Confirmed => Fix Released

** Bug watch removed: github.com/jamesodhunt/procenv/issues #15
   https://github.com/jamesodhunt/procenv/issues/15

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-30 Thread Mathew Hodson
** Changed in: debootstrap (Ubuntu)
   Importance: Undecided => High

** Changed in: debootstrap (Ubuntu Eoan)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-28 Thread Matthew Ruffell
As a final sanity check, I built a new debian-installer monolithic
netinstall ISO image, along with the usual vmlinuz / initrd.gz files.
When I built them, I enabled -proposed, and debootstrap-udeb
1.0.95ubuntu0.7 was included in the generated MANIFEST.udeb file.

The ISO images and initrd.gz files are here:
https://people.canonical.com/~mruffell/sf289200-proposed/

I did a test install with the mini.iso image, selecting [Advanced
Install] then [Command Line Expert Install]. When it asked for package
mirrors, I selected https, and used a local mirror that supports https,
mirror.fsmg.org.nz.

The install worked as expected with no errors. I checked /etc/apt/sources.list 
in the installed system, and all the apt sources pointed to
deb https://mirror.fsmg.org.nz/ubuntu/ bionic main

The package in -proposed fixes the problem, and works with https
mirrors.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-28 Thread Mauricio Faria de Oliveira
In addition to comment #18 that explains why the autopkgtests failures are 
unrelated,
I triggered re-runs with debootstrap package in -updates, which hits the same 
errors.

Thus confirming this is not a regression with debootstrap in -proposed.

cheers,
Mauricio

pbuilder/bionic

https://autopkgtest.ubuntu.com/packages/p/pbuilder/bionic/amd64
0.229.1 debootstrap/1.0.95ubuntu0.6 2020-07-28 13:16:37 UTC 
0h 03m 04s  mfo fail
0.229.1 debootstrap/1.0.95ubuntu0.7 2020-07-27 18:11:40 UTC 
0h 16m 09s  -   fail

sbuild/bionic

https://autopkgtest.ubuntu.com/packages/s/sbuild/bionic/amd64
0.75.0-1ubuntu1 debootstrap/1.0.95ubuntu0.6 2020-07-28 
13:17:32 UTC 0h 03m 43s  mfo fail
0.75.0-1ubuntu1 debootstrap/1.0.95ubuntu0.7 2020-07-27 
18:11:21 UTC 0h 13m 29s  -   fail

sbuild/focal

https://autopkgtest.ubuntu.com/packages/s/sbuild/focal/amd64
0.79.0-1ubuntu1 debootstrap/1.0.118ubuntu1.12020-07-28 
13:17:29 UTC 0h 03m 04s  mfo fail
0.79.0-1ubuntu1 debootstrap/1.0.118ubuntu1.22020-07-27 
18:16:24 UTC 0h 05m 15s  -   fail

livecd-rootfs/focal

https://autopkgtest.ubuntu.com/packages/l/livecd-rootfs/focal/amd64
2.664.4 debootstrap/1.0.118ubuntu1.12020-07-28 13:39:58 UTC 
0h 25m 42s  mfo fail
2.664.4 debootstrap/1.0.118ubuntu1.22020-07-27 18:34:05 UTC 
0h 37m 23s  -   fail

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-28 Thread Matthew Ruffell
Performing verification of debootstrap using Mauricio's script from
comment #10.

Focal
==

Original


First, using debootstrap from -updates:

$ apt-cache policy debootstrap | grep Installed
Installed: 1.0.118ubuntu1.1

$ tail -n1 *-focal-*.log
==> debootstrap-updates-focal-buildd-http.log <==
I: Base system installed successfully.

==> debootstrap-updates-focal-buildd-https.log <==
E: Couldn't find these debs: apt-transport-https

==> debootstrap-updates-focal--http.log <==
I: Base system installed successfully.

==> debootstrap-updates-focal--https.log <==
E: Couldn't find these debs: apt-transport-https

==> debootstrap-updates-focal-minbase-http.log <==
I: Base system installed successfully.

==> debootstrap-updates-focal-minbase-https.log <==
E: Couldn't find these debs: apt-transport-https

Proposed


I then enabled -proposed and upgraded debootstrap:

$ apt-cache policy debootstrap | grep Installed
Installed: 1.0.118ubuntu1.2

I then re-ran the script.

$ tail -n1 *-proposed-*.log
==> debootstrap-proposed-focal-buildd-http.log <==
I: Base system installed successfully.

==> debootstrap-proposed-focal-buildd-https.log <==
I: Base system installed successfully.

==> debootstrap-proposed-focal--http.log <==
I: Base system installed successfully.

==> debootstrap-proposed-focal--https.log <==
I: Base system installed successfully.

==> debootstrap-proposed-focal-minbase-http.log <==
I: Base system installed successfully.

==> debootstrap-proposed-focal-minbase-https.log <==
I: Base system installed successfully.

Checking the MD5 sums Mauricio checked for HTTP protocol to check same packages
were downloaded:

$ md5sum *-http.log | sort
4421a481335f470fe3cba85f9d56ddfd  debootstrap-proposed-focal-buildd-http.log
4421a481335f470fe3cba85f9d56ddfd  debootstrap-updates-focal-buildd-http.log
828dc970b0c8b3ef523ac0dfd82b6dea  debootstrap-proposed-focal--http.log
828dc970b0c8b3ef523ac0dfd82b6dea  debootstrap-updates-focal--http.log
a3d4733c73de32fb8dd0828eedeedc5d  debootstrap-proposed-focal-minbase-http.log
a3d4733c73de32fb8dd0828eedeedc5d  debootstrap-updates-focal-minbase-http.log

Hashes match.

Checking package diffs between http and https:

DIFF: proposed/https vs. updates/http: variant 'minbase'
--- debootstrap-proposed-focal-minbase-https.log2020-07-28 
17:54:19.793873364 +1200
+++ debootstrap-updates-focal-minbase-http.log  2020-07-28 17:30:15.887212891 
+1200
@@ -8 +8 @@
-I: Checking component main on https://mirror.fsmg.org.nz/ubuntu...
+I: Checking component main on http://mirror.fsmg.org.nz/ubuntu...
@@ -21,2 +20,0 @@
-I: Retrieving ca-certificates 20190110ubuntu1
-I: Validating ca-certificates 20190110ubuntu1
@@ -143,2 +140,0 @@
-I: Retrieving libssl1.1 1.1.1f-1ubuntu2
-I: Validating libssl1.1 1.1.1f-1ubuntu2
@@ -175,2 +170,0 @@
-I: Retrieving openssl 1.1.1f-1ubuntu2
-I: Validating openssl 1.1.1f-1ubuntu2
@@ -430 +423,0 @@
-I: Unpacking ca-certificates...
@@ -441 +433,0 @@
-I: Unpacking libssl1.1:amd64...
@@ -445 +436,0 @@
-I: Unpacking openssl...
@@ -449 +439,0 @@
-I: Configuring libssl1.1:amd64...
@@ -460 +449,0 @@
-I: Configuring openssl...
@@ -463 +451,0 @@
-I: Configuring ca-certificates...
@@ -468 +455,0 @@
-I: Configuring ca-certificates...

DIFF: proposed/https vs. updates/http: variant 'buildd'
--- debootstrap-proposed-focal-buildd-https.log 2020-07-28 17:57:58.379585602 
+1200
+++ debootstrap-updates-focal-buildd-http.log   2020-07-28 17:33:21.277808831 
+1200
@@ -8 +8 @@
-I: Checking component main on https://mirror.fsmg.org.nz/ubuntu...
+I: Checking component main on http://mirror.fsmg.org.nz/ubuntu...
@@ -31,2 +30,0 @@
-I: Retrieving ca-certificates 20190110ubuntu1
-I: Validating ca-certificates 20190110ubuntu1
@@ -211,2 +208,0 @@
-I: Retrieving libssl1.1 1.1.1f-1ubuntu2
-I: Validating libssl1.1 1.1.1f-1ubuntu2
@@ -253,2 +248,0 @@
-I: Retrieving openssl 1.1.1f-1ubuntu2
-I: Validating openssl 1.1.1f-1ubuntu2
@@ -521 +514,0 @@
-I: Unpacking ca-certificates...
@@ -561 +553,0 @@
-I: Unpacking libssl1.1:amd64...
@@ -570 +561,0 @@
-I: Unpacking openssl...
@@ -579 +569,0 @@
-I: Configuring libssl1.1:amd64...
@@ -604 +593,0 @@
-I: Configuring openssl...
@@ -613 +601,0 @@
-I: Configuring ca-certificates...
@@ -640 +627,0 @@
-I: Configuring ca-certificates...

DIFF: proposed/https vs. updates/http: variant ''
--- debootstrap-proposed-focal--https.log   2020-07-28 18:03:50.462303644 
+1200
+++ debootstrap-updates-focal--http.log 2020-07-28 17:38:46.136321936 +1200
@@ -8 +8 @@
-I: Checking component main on https://mirror.fsmg.org.nz/ubuntu...
+I: Checking component main on http://mirror.fsmg.org.nz/ubuntu...

Again, only mirror URLs and ssl packages differ.

Based on the test results with debootstrap, the package in -proposed
fixes the problem and doesn't introduce any regressions. I am happy to
mark this as verified.

** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification 

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-27 Thread Matthew Ruffell
Performing verification of debootstrap in -proposed using Mauricio's
script from comment #10.

Bionic
==

Original


First, using debootstrap from -updates:

$ apt-cache policy debootstrap | grep Installed
Installed: 1.0.95ubuntu0.6

$ tail -n1 *-bionic-*.log
==> debootstrap-updates-bionic-buildd-http.log <==
I: Base system installed successfully.

==> debootstrap-updates-bionic-buildd-https.log <==
E: Couldn't find these debs: apt-transport-https

==> debootstrap-updates-bionic--http.log <==
I: Base system installed successfully.

==> debootstrap-updates-bionic--https.log <==
E: Couldn't find these debs: apt-transport-https

==> debootstrap-updates-bionic-minbase-http.log <==
I: Base system installed successfully.

==> debootstrap-updates-bionic-minbase-https.log <==
E: Couldn't find these debs: apt-transport-https

Proposed


I then enabled -proposed and upgraded debootstrap:

$ apt-cache policy debootstrap | grep Installed
  Installed: 1.0.95ubuntu0.7
  
I then re-ran the script.

$ tail -n1 *-proposed-*.log
==> debootstrap-proposed-bionic-buildd-http.log <==
I: Base system installed successfully.

==> debootstrap-proposed-bionic-buildd-https.log <==
I: Base system installed successfully.

==> debootstrap-proposed-bionic--http.log <==
I: Base system installed successfully.

==> debootstrap-proposed-bionic--https.log <==
I: Base system installed successfully.

==> debootstrap-proposed-bionic-minbase-http.log <==
I: Base system installed successfully.

==> debootstrap-proposed-bionic-minbase-https.log <==
I: Base system installed successfully.

Checking the MD5 sums Mauricio checked for HTTP protocol to check same packages
were downloaded:

$ md5sum *-http.log | sort
11053db4e85763e38002dcf56ea9caec  debootstrap-proposed-bionic-buildd-http.log
11053db4e85763e38002dcf56ea9caec  debootstrap-updates-bionic-buildd-http.log
2130bc2842b6d8ff142b11d428cc95b6  debootstrap-proposed-bionic--http.log
2130bc2842b6d8ff142b11d428cc95b6  debootstrap-updates-bionic--http.log
7078e5287b2f3f9b8566a48ed5bd53fb  debootstrap-proposed-bionic-minbase-http.log
7078e5287b2f3f9b8566a48ed5bd53fb  debootstrap-updates-bionic-minbase-http.log

Hashes match.

Checking package diffs between http and https:

DIFF: proposed/https vs. updates/http: variant 'minbase'
--- debootstrap-proposed-bionic-minbase-https.log   2020-07-28 
17:18:34.918486033 +1200
+++ debootstrap-updates-bionic-minbase-http.log 2020-07-28 16:41:46.426251359 
+1200
@@ -8,2 +8,2 @@
-I: Found additional base dependencies: adduser gpgv libapt-pkg5.0 libffi6 
libgmp10 libgnutls30 libhogweed4 libidn2-0 libnettle6 libp11-kit0 libseccomp2 
libssl1.1 libstdc++6 libtasn1-6 libunistring2 openssl ubuntu-keyring 
-I: Checking component main on https://mirror.fsmg.org.nz/ubuntu...
+I: Found additional base dependencies: adduser gpgv libapt-pkg5.0 libffi6 
libgmp10 libgnutls30 libhogweed4 libidn2-0 libnettle6 libp11-kit0 libseccomp2 
libstdc++6 libtasn1-6 libunistring2 ubuntu-keyring 
+I: Checking component main on http://mirror.fsmg.org.nz/ubuntu...
@@ -22,2 +21,0 @@
-I: Retrieving ca-certificates 20180409
-I: Validating ca-certificates 20180409
@@ -140,2 +137,0 @@
-I: Retrieving libssl1.1 1.1.0g-2ubuntu4
-I: Validating libssl1.1 1.1.0g-2ubuntu4
@@ -170,2 +165,0 @@
-I: Retrieving openssl 1.1.0g-2ubuntu4
-I: Validating openssl 1.1.0g-2ubuntu4
@@ -416 +409,0 @@
-I: Unpacking ca-certificates...
@@ -427 +419,0 @@
-I: Unpacking libssl1.1:amd64...
@@ -431 +422,0 @@
-I: Unpacking openssl...
@@ -441,2 +431,0 @@
-I: Configuring libssl1.1:amd64...
-I: Configuring openssl...
@@ -446 +434,0 @@
-I: Configuring ca-certificates...
@@ -454 +441,0 @@
-I: Configuring ca-certificates...

DIFF: proposed/https vs. updates/http: variant 'buildd'
--- debootstrap-proposed-bionic-buildd-https.log2020-07-28 
17:20:55.155717419 +1200
+++ debootstrap-updates-bionic-buildd-http.log  2020-07-28 16:44:02.435674585 
+1200
@@ -8,2 +8,2 @@
-I: Found additional base dependencies: adduser binutils binutils-common 
binutils-x86-64-linux-gnu bzip2 cpp cpp-7 dpkg-dev g++ g++-7 gcc gcc-7 
gcc-7-base gpgv libapt-pkg5.0 libasan4 libatomic1 libbinutils libc-dev-bin 
libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libffi6 libgcc-7-dev 
libgdbm-compat4 libgdbm5 libgmp10 libgnutls30 libgomp1 libhogweed4 libidn2-0 
libisl19 libitm1 liblsan0 libmpc3 libmpfr6 libmpx2 libnettle6 libp11-kit0 
libperl5.26 libquadmath0 libseccomp2 libssl1.1 libstdc++-7-dev libstdc++6 
libtasn1-6 libtsan0 libubsan0 libunistring2 linux-libc-dev make openssl patch 
perl perl-modules-5.26 ubuntu-keyring xz-utils 
-I: Checking component main on https://mirror.fsmg.org.nz/ubuntu...
+I: Found additional base dependencies: adduser binutils binutils-common 
binutils-x86-64-linux-gnu bzip2 cpp cpp-7 dpkg-dev g++ g++-7 gcc gcc-7 
gcc-7-base gpgv libapt-pkg5.0 libasan4 libatomic1 libbinutils libc-dev-bin 
libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libffi6 libgcc-7-dev 
libgdbm-compat4 libgdbm5 libgmp10 libgnutls30 libgomp1 

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-27 Thread Matthew Ruffell
I looked into the autopkgtest regressions.

The pbuilder and sbuilder failures are due to them attempting to build
procenv in a Groovy chroot which was made with debootstrap. procenv
currently FTBFS on  Groovy, due to changes in GCC10 to -Werror=format-
overflow.

```
gcc -DHAVE_CONFIG_H -I. -I..  -I . -I ./platform  -I ./platform/linux -D 
PROCENV_PLATFORM_LINUX  -pedantic -std=gnu99 -Wall -Wunused 
-fstack-protector -Wformat  -fdata-sections -ffunction-sections -Werror -g -O2 
-MT platform/linux/procenv-platform.o -MD -MP -MF 
platform/linux/.deps/procenv-platform.Tpo -c -o 
platform/linux/procenv-platform.o `test -f 'platform/linux/platform.c' || echo 
'./'`platform/linux/platform.c
platform/linux/platform.c: In function ‘handle_proc_branch_linux’:
platform/linux/platform.c:1266:21: error: ‘%s’ directive writing up to 1017 
bytes into a region of size 16 [-Werror=format-overflow=]
 1265 | p += 1+strlen ("Name:"); /* jump over tab char */
  | ~~~
 1266 | sprintf (name, "%s", p);
  | ^~
In file included from /usr/include/stdio.h:867,
 from ./platform.h:22,
 from platform/linux/platform-linux.h:25,
 from platform/linux/platform.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: 
‘__builtin___sprintf_chk’ output between 1 and 1018 bytes into a destination of 
size 16
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  |  ^~
   37 |   __bos (__s), __fmt, __va_arg_pack ());
  |   ~
platform/linux/platform.c:1271:21: error: ‘%s’ directive writing up to 1017 
bytes into a region of size 16 [-Werror=format-overflow=]
 1270 | p += 1+strlen ("PPid:"); /* jump over tab char */
  | ~~~
 1271 | sprintf (ppid, "%s", p);
  | ^~
In file included from /usr/include/stdio.h:867,
 from ./platform.h:22,
 from platform/linux/platform-linux.h:25,
 from platform/linux/platform.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: 
‘__builtin___sprintf_chk’ output between 1 and 1018 bytes into a destination of 
size 16
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  |  ^~
   37 |   __bos (__s), __fmt, __va_arg_pack ());
  |   ~

```

This has nothing to do with the changes made to debootstrap.

Looking at the changelog for procenv, this has happened before...

procenv (0.50-1ubuntu2) eoan; urgency=medium

  * Hack it so it ignores broken gcc overflow warnings on ppc64el
  * Stop mv README in debian/rules, that breaks building twice (it's a symlink 
already)

 -- Julian Andres Klode   Mon, 05 Aug 2019 13:43:53
+0200

procenv (0.50-1ubuntu1) eoan; urgency=medium

  * debian/patches/gcc-9-strncpy.patch: Handle strncpy in a way
compatible with gcc-9 linting.

 -- Steve Langasek   Sat, 20 Jul 2019 17:30:12 +
 
Regardless, I have reported the procenv FTBFS upstream on this issue:

https://github.com/jamesodhunt/procenv/issues/15

I have also opened a LP bug 1889138 for Groovy:

https://bugs.launchpad.net/ubuntu/+source/procenv/+bug/1889138

As for the livecd-rootfs autopkgtest regression, I am still
investigating.

The errors are:

snap: found lxd=4.0/stable/ubuntu-20.04
Unexpected seeded snap for ubuntu-cpc:minimized build: 
lxd=4.0/stable/ubuntu-20.04
autopkgtest [18:33:53]: test minimized:  - - - - - - - - - - results - - - - - 
- - - - -
default-bootstraps   PASS
minimizedFAIL non-zero exit status 1

** Bug watch added: github.com/jamesodhunt/procenv/issues #15
   https://github.com/jamesodhunt/procenv/issues/15

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-27 Thread Łukasz Zemczak
Hello Ryan, or anyone else affected,

Accepted debootstrap into bionic-proposed. The package will build now
and be available at
https://launchpad.net/ubuntu/+source/debootstrap/1.0.95ubuntu0.7 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
bionic to verification-done-bionic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-bionic. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: debootstrap (Ubuntu Bionic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-27 Thread Łukasz Zemczak
Hello Ryan, or anyone else affected,

Accepted debootstrap into focal-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/debootstrap/1.0.118ubuntu1.2 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: debootstrap (Ubuntu Focal)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-27 Thread Mauricio Faria de Oliveira
Uploaded debootstrap to Bionic/Focal. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-27 Thread Mauricio Faria de Oliveira
** Description changed:

  [Impact]
  
  When installing over the network using a netinstall image with pxe boot
  and with an https apt mirror, the installer fails with the error:
  
    Debootstrap error
  
    couldn't find these debs: apt-transport-https
  
    Check /var/log/syslog or see virtual console 4 for the details
  
  This happens due to apt-transport-https moving to universe from bionic
  onward, but still being required by debootstrap when it sees a https apt
  mirror, even though support for https mirrors is built into apt.
  
  [Testcase]
+ 
+ With debootstrap alone:
+ 
+   $ sudo debootstrap bionic output-dir https://
+   ...
+ 
+   - Before: "E: Couldn't find these debs: apt-transport-https"
+   - After: "I: Base system installed successfully."
+ 
+ In the debian-installer:
  
  Use the 18.04.4 LTS netinstall ISO to PXE boot with a preseed that uses
  a custom https apt mirror. Something like:
  
  ```
  d-i mirror/country string manual
  d-i mirror/protocol string https
  d-i mirror/https/hostname string mirrors.ptisp.pt
  d-i mirror/https/directory string /ubuntu/
  d-i mirror/https/proxy string
  ```
  
  The installer will fail with the error in the impact section.
  
  There are test packages for debootstrap available in the following PPA,
  for both bionic and focal:
  
  https://launchpad.net/~mruffell/+archive/ubuntu/sf289200-test
  
  I have also built a test netinstall ISO with the test debootstrap
  packages, and is available here:
  
  https://people.canonical.com/~mruffell/sf289200/
  
  You probably want to use mini.iso for PXE boot, but vmlinuz and
  initrd.gz are provided as well.
  
  [Regression Potential]
  
  The fix adds checks for specific distribution releases, so if someone is
  trying to debootstrap a previous release where apt-transport-https is
  still required, it will still function.
  
  For users of newer releases, it simply omits the package. apt-transport-
  https will still be available in universe if anyone still needs it.
  
  If a regression did occur, users may not be able to access https apt
  mirrors when using debootstrap. In this case, users can use a plain http
  mirror until things are fixed.
  
  Due to apt-transport-https not being needed in bionic onward, due to
  being built into apt directly, I believe this change won't introduce any
  regressions.
  
  [Other info]
  
  The fix landed in upstream debootstrap in the following commit:
  
  commit 66cbaae642953beba8aec393f3eca076abd89a7d
  From: Hideki Yamane 
  Date: Fri, 28 Feb 2020 00:10:25 +0900
  Subject: select codename for apt-transport-https (Closes: #920255, #879755)
  Link: 
https://salsa.debian.org/installer-team/debootstrap/-/commit/66cbaae642953beba8aec393f3eca076abd89a7d
  
  It adds a check for distro release name, and if they fall within Zesty
  and prior, then it requires apt-transport-https, and if Artful and
  later, then it is omitted.

** Description changed:

  [Impact]
  
  When installing over the network using a netinstall image with pxe boot
  and with an https apt mirror, the installer fails with the error:
  
    Debootstrap error
  
    couldn't find these debs: apt-transport-https
  
    Check /var/log/syslog or see virtual console 4 for the details
  
  This happens due to apt-transport-https moving to universe from bionic
  onward, but still being required by debootstrap when it sees a https apt
  mirror, even though support for https mirrors is built into apt.
  
  [Testcase]
  
  With debootstrap alone:
  
-   $ sudo debootstrap bionic output-dir https://
-   ...
+   $ sudo debootstrap bionic output-dir https://
+   ...
  
-   - Before: "E: Couldn't find these debs: apt-transport-https"
-   - After: "I: Base system installed successfully."
+   - Before: "E: Couldn't find these debs: apt-transport-https"
+   - After: "I: Base system installed successfully."
  
- In the debian-installer:
+ Or with the debian-installer:
  
  Use the 18.04.4 LTS netinstall ISO to PXE boot with a preseed that uses
  a custom https apt mirror. Something like:
  
  ```
  d-i mirror/country string manual
  d-i mirror/protocol string https
  d-i mirror/https/hostname string mirrors.ptisp.pt
  d-i mirror/https/directory string /ubuntu/
  d-i mirror/https/proxy string
  ```
  
  The installer will fail with the error in the impact section.
  
  There are test packages for debootstrap available in the following PPA,
  for both bionic and focal:
  
  https://launchpad.net/~mruffell/+archive/ubuntu/sf289200-test
  
  I have also built a test netinstall ISO with the test debootstrap
  packages, and is available here:
  
  https://people.canonical.com/~mruffell/sf289200/
  
  You probably want to use mini.iso for PXE boot, but vmlinuz and
  initrd.gz are provided as well.
  
  [Regression Potential]
  
  The fix adds checks for specific distribution releases, so if someone is
  trying to debootstrap a previous release where apt-transport-https is
  still required, it will still function.
 

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-27 Thread Mauricio Faria de Oliveira
Hi Matthew and SRU team,

Performed additional testing for the deboostrap package upload,
checking for regressions in variants (minbase, buildd, default.)

This compares the logs of debootstrap variants in a mirror that
supports both HTTP and HTTPS.

For HTTP: no differences in the logs / no regressions.

For HTTPS: original package fails, patched package works.

Comparing HTTPS/patched vs. HTTP/original: the only differences
are the packages for SSL (ca-certificates, libssl, openssl) and
the mirror URL, of course.

All good!


Mirror
==

Mirror list:
- https://ubuntu.com/download/alternative-downloads (See all Ubuntu mirrors)
- https://launchpad.net/ubuntu/+cdmirrors (find one with 'https' and 'http')

Selected: mirror.math.princeton.edu/pub/ubuntu/


Test Steps
==

mirror=mirror.math.princeton.edu/pub/ubuntu/

release=bionic   # or focal
version=updates  # or patched

for protocol in http https; do
  for variant in minbase buildd ''; do
test=debootstrap-$version-$release-$variant-$protocol
echo "TEST: $test"

sudo debootstrap ${variant:+--variant=$variant} $release $test.dir
$protocol://$mirror 2>&1 | tee $test.log

  done
done

Then check last line of logs:

$ tail -n1 *-$version-*.log

And compare MD5SUMs / check DIFFs later.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-27 Thread Mauricio Faria de Oliveira
Bionic
==

Original


$ dpkg -s debootstrap | grep Version:
Version: 1.0.95ubuntu0.6


$ tail -n1 *-$version-*.log
==> debootstrap-updates-bionic--http.log <==
I: Base system installed successfully.

==> debootstrap-updates-bionic--https.log <==
E: Couldn't find these debs: apt-transport-https

==> debootstrap-updates-bionic-buildd-http.log <==
I: Base system installed successfully.

==> debootstrap-updates-bionic-buildd-https.log <==
E: Couldn't find these debs: apt-transport-https

==> debootstrap-updates-bionic-minbase-http.log <==
I: Base system installed successfully.

==> debootstrap-updates-bionic-minbase-https.log <==
E: Couldn't find these debs: apt-transport-https


Patched:
---

$ sudo add-apt-repository ppa:mfo/lp1772556
$ sudo apt update
$ sudo apt install debootstrap

$ dpkg -s debootstrap | grep Version:
Version: 1.0.95ubuntu0.7


$ tail -n1 *-$version-*.log
==> debootstrap-patched-bionic--http.log <==
I: Base system installed successfully.

==> debootstrap-patched-bionic--https.log <==
I: Base system installed successfully.

==> debootstrap-patched-bionic-buildd-http.log <==
I: Base system installed successfully.

==> debootstrap-patched-bionic-buildd-https.log <==
I: Base system installed successfully.

==> debootstrap-patched-bionic-minbase-http.log <==
I: Base system installed successfully.

==> debootstrap-patched-bionic-minbase-https.log <==
I: Base system installed successfully.


Comparison of HTTP protocol for no regressions:
Identical contents (same MD5 Sums), no changes.
---

$ md5sum *-http.log | sort
2b80e8818a86fbc3e245c874f998f427  debootstrap-patched-bionic--http.log
2b80e8818a86fbc3e245c874f998f427  debootstrap-updates-bionic--http.log
5cd140b4e2f6b432cc96c626f20fe180  debootstrap-patched-bionic-buildd-http.log
5cd140b4e2f6b432cc96c626f20fe180  debootstrap-updates-bionic-buildd-http.log
b8aac6c25452d7fd4f6244e4b26a1a58  debootstrap-patched-bionic-minbase-http.log
b8aac6c25452d7fd4f6244e4b26a1a58  debootstrap-updates-bionic-minbase-http.log


Comparison of HTTP/HTTPS for no regressions:
Just add SSL packages and diff mirror URL:
---

release=bionic

for variant in minbase buildd ''; do
  echo "DIFF: patched/https vs. updates/http: variant '$variant'"
  diff -U0 debootstrap-patched-$release-$variant-https.log 
debootstrap-updates-$release-$variant-http.log
  echo
done

DIFF: patched/https vs. updates/http: variant 'minbase'
--- debootstrap-patched-bionic-minbase-https.log2020-07-27 
14:01:55.065581367 +
+++ debootstrap-updates-bionic-minbase-http.log 2020-07-27 13:45:50.028386026 
+
@@ -8,2 +8,2 @@
-I: Found additional base dependencies: adduser gpgv libapt-pkg5.0 libffi6 
libgmp10 libgnutls30 libhogweed4 libidn2-0 libnettle6 libp11-kit$
 libseccomp2 libssl1.1 libstdc++6 libtasn1-6 libunistring2 openssl 
ubuntu-keyring
-I: Checking component main on https://mirror.math.princeton.edu/pub/ubuntu...
+I: Found additional base dependencies: adduser gpgv libapt-pkg5.0 libffi6 
libgmp10 libgnutls30 libhogweed4 libidn2-0 libnettle6 libp11-kit$
 libseccomp2 libstdc++6 libtasn1-6 libunistring2 ubuntu-keyring
+I: Checking component main on http://mirror.math.princeton.edu/pub/ubuntu...
@@ -22,2 +21,0 @@
-I: Retrieving ca-certificates 20180409
-I: Validating ca-certificates 20180409
@@ -140,2 +137,0 @@
-I: Retrieving libssl1.1 1.1.0g-2ubuntu4
-I: Validating libssl1.1 1.1.0g-2ubuntu4
@@ -170,2 +165,0 @@
-I: Retrieving openssl 1.1.0g-2ubuntu4
-I: Validating openssl 1.1.0g-2ubuntu4
@@ -416 +409,0 @@
-I: Unpacking ca-certificates...
@@ -427 +419,0 @@
-I: Unpacking libssl1.1:amd64...
@@ -431 +422,0 @@
-I: Unpacking openssl...
@@ -441,2 +431,0 @@
-I: Configuring libssl1.1:amd64...
-I: Configuring openssl...
@@ -446 +434,0 @@
-I: Configuring ca-certificates...
@@ -454 +441,0 @@
-I: Configuring ca-certificates...

DIFF: patched/https vs. updates/http: variant 'buildd'
--- debootstrap-patched-bionic-buildd-https.log 2020-07-27 14:09:06.184178172 
+
+++ debootstrap-updates-bionic-buildd-http.log  2020-07-27 13:49:07.608630766 
+
@@ -8,2 +8,2 @@
-I: Found additional base dependencies: adduser binutils binutils-common 
binutils-x86-64-linux-gnu bzip2 cpp cpp-7 dpkg-dev g++ g++-7 gcc gc
c-7 gcc-7-base gpgv libapt-pkg5.0 libasan4 libatomic1 libbinutils libc-dev-bin 
libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libffi6 libgcc-7-
dev libgdbm-compat4 libgdbm5 libgmp10 libgnutls30 libgomp1 libhogweed4 
libidn2-0 libisl19 libitm1 liblsan0 libmpc3 libmpfr6 libmpx2 libnettl
e6 libp11-kit0 libperl5.26 libquadmath0 libseccomp2 libssl1.1 libstdc++-7-dev 
libstdc++6 libtasn1-6 libtsan0 libubsan0 libunistring2 linux-l
ibc-dev make openssl patch perl perl-modules-5.26 ubuntu-keyring xz-utils
-I: Checking component main on https://mirror.math.princeton.edu/pub/ubuntu...
+I: Found additional base dependencies: adduser binutils binutils-common 
binutils-x86-64-linux-gnu bzip2 cpp cpp-7 dpkg-dev g++ g++-7 gcc gc
c-7 gcc-7-base gpgv libapt-pkg5.0 libasan4 libatomic1 libbinutils 

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-27 Thread Mauricio Faria de Oliveira
Focal
=

Original


$ dpkg -s debootstrap | grep Version:
Version: 1.0.118ubuntu1.1


$ tail -n1 *-$version-*.log
==> debootstrap-updates-focal--http.log <==
I: Base system installed successfully.

==> debootstrap-updates-focal--https.log <==
E: Couldn't find these debs: apt-transport-https

==> debootstrap-updates-focal-buildd-http.log <==
I: Base system installed successfully.

==> debootstrap-updates-focal-buildd-https.log <==
E: Couldn't find these debs: apt-transport-https

==> debootstrap-updates-focal-minbase-http.log <==
I: Base system installed successfully.

==> debootstrap-updates-focal-minbase-https.log <==
E: Couldn't find these debs: apt-transport-https


Patched
---

sudo add-apt-repository ppa:mfo/lp1772556
sudo apt update
sudo apt install debootstrap

$ dpkg -s debootstrap | grep Version:
Version: 1.0.118ubuntu1.2


$ tail -n1 *-$version-*.log
==> debootstrap-patched-focal--http.log <==
I: Base system installed successfully.

==> debootstrap-patched-focal--https.log <==
I: Base system installed successfully.

==> debootstrap-patched-focal-buildd-http.log <==
I: Base system installed successfully.

==> debootstrap-patched-focal-buildd-https.log <==
I: Base system installed successfully.

==> debootstrap-patched-focal-minbase-http.log <==
I: Base system installed successfully.

==> debootstrap-patched-focal-minbase-https.log <==
I: Base system installed successfully.


Comparison of HTTP protocol for no regressions:
Identical contents (same MD5 Sums), no changes.
---

$ md5sum *-http.log | sort
55adb44ba484d60cb12e9e30e417b73d  debootstrap-patched-focal-buildd-http.log
55adb44ba484d60cb12e9e30e417b73d  debootstrap-updates-focal-buildd-http.log
78db31fc39808298649cfb3c384298f4  debootstrap-patched-focal-minbase-http.log
78db31fc39808298649cfb3c384298f4  debootstrap-updates-focal-minbase-http.log
f20f0050ab281c2a77b61e5aa91c5b10  debootstrap-patched-focal--http.log
f20f0050ab281c2a77b61e5aa91c5b10  debootstrap-updates-focal--http.log



Comparison of HTTP/HTTPS for no regressions:
Just add SSL packages and diff mirror URL:
---

release=focal

for variant in minbase buildd ''; do
  echo "DIFF: patched/https vs. updates/http: variant '$variant'"
  diff -U0 debootstrap-patched-$release-$variant-https.log 
debootstrap-updates-$release-$variant-http.log
  echo
done


DIFF: patched/https vs. updates/http: variant 'minbase'
--- debootstrap-patched-focal-minbase-https.log 2020-07-27 14:38:17.935977579 
+
+++ debootstrap-updates-focal-minbase-http.log  2020-07-27 14:22:26.222344378 
+
@@ -8 +8 @@
-I: Checking component main on https://mirror.math.princeton.edu/pub/ubuntu...
+I: Checking component main on http://mirror.math.princeton.edu/pub/ubuntu...
@@ -21,2 +20,0 @@
-I: Retrieving ca-certificates 20190110ubuntu1
-I: Validating ca-certificates 20190110ubuntu1
@@ -143,2 +140,0 @@
-I: Retrieving libssl1.1 1.1.1f-1ubuntu2
-I: Validating libssl1.1 1.1.1f-1ubuntu2
@@ -175,2 +170,0 @@
-I: Retrieving openssl 1.1.1f-1ubuntu2
-I: Validating openssl 1.1.1f-1ubuntu2
@@ -430 +423,0 @@
-I: Unpacking ca-certificates...
@@ -441 +433,0 @@
-I: Unpacking libssl1.1:amd64...
@@ -445 +436,0 @@
-I: Unpacking openssl...
@@ -449 +439,0 @@
-I: Configuring libssl1.1:amd64...
@@ -460 +449,0 @@
-I: Configuring openssl...
@@ -463 +451,0 @@
-I: Configuring ca-certificates...
@@ -468 +455,0 @@
-I: Configuring ca-certificates...

DIFF: patched/https vs. updates/http: variant 'buildd'
--- debootstrap-patched-focal-buildd-https.log  2020-07-27 14:45:31.290432935 
+
+++ debootstrap-updates-focal-buildd-http.log   2020-07-27 14:25:36.572480586 
+
@@ -8 +8 @@
-I: Checking component main on https://mirror.math.princeton.edu/pub/ubuntu...
+I: Checking component main on http://mirror.math.princeton.edu/pub/ubuntu...
@@ -31,2 +30,0 @@
-I: Retrieving ca-certificates 20190110ubuntu1
-I: Validating ca-certificates 20190110ubuntu1
@@ -211,2 +208,0 @@
-I: Retrieving libssl1.1 1.1.1f-1ubuntu2
-I: Validating libssl1.1 1.1.1f-1ubuntu2
@@ -253,2 +248,0 @@
-I: Retrieving openssl 1.1.1f-1ubuntu2
-I: Validating openssl 1.1.1f-1ubuntu2
@@ -521 +514,0 @@
-I: Unpacking ca-certificates...
@@ -561 +553,0 @@
-I: Unpacking libssl1.1:amd64...
@@ -570 +561,0 @@
-I: Unpacking openssl...
@@ -579 +569,0 @@
-I: Configuring libssl1.1:amd64...
@@ -604 +593,0 @@
-I: Configuring openssl...
@@ -613 +601,0 @@
-I: Configuring ca-certificates...
@@ -640 +627,0 @@
-I: Configuring ca-certificates...

DIFF: patched/https vs. updates/http: variant ''
--- debootstrap-patched-focal--https.log2020-07-27 14:55:17.842794094 
+
+++ debootstrap-updates-focal--http.log 2020-07-27 14:29:45.418431021 +
@@ -8 +8 @@
-I: Checking component main on https://mirror.math.princeton.edu/pub/ubuntu...
+I: Checking component main on http://mirror.math.princeton.edu/pub/ubuntu...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i 

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-24 Thread Mauricio Faria de Oliveira
** Tags added: sts-sponsor-mfo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-22 Thread Matthew Ruffell
The VM on the left is using the current 18.04.4 LTS mini.iso provided
from http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main
/installer-amd64/current/images/netboot/ with a date of 2020-01-30.

The VM on the right is using the mini.iso I created that contains the
test debootstrap package, from
https://people.canonical.com/~mruffell/sf289200/

On both, I selected [Advanced Options] and then [Command Line Expert
Install]. From there I answered the usual questions. When I was asked to
configure the mirror, I selected "https" and then entered in a local
mirror in my country, mirror.fsmg.org.nz.

The VM on the left fails with the error message that apt-transport-https can't 
be found, and stops.
The VM on the right installs the base system fine, and successfully installs 
the system.

The test packages work. I will ask for my patches to be sponsored and
hopefully we can get debootstrap fixed before the 18.04.5 LTS deadline.

** Attachment added: "Comparison of old mini.iso and test mini.iso"
   
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+attachment/5395065/+files/Screenshot%20from%202020-07-23%2015-35-17.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-22 Thread Ubuntu Foundations Team Bug Bot
The attachment "Debdiff for Bionic" seems to be a debdiff.  The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff.  If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-22 Thread Arif Ali
Verified the netinstall images i.e. initrd.gz and vmlinuz from
https://people.canonical.com/~mruffell/sf289200/ work for me, and I am
now able to deploy instance

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-22 Thread Matthew Ruffell
Attached is a generic patch with proper DEP-3 tagging for use with
quilt. Since debootstrap uses "3.0 (native)" instead of "3.0 (quilt)",
the previous debdiffs are to be used instead. I am just attaching in the
off-chance it is useful.

** Patch added: "dep-3 tagged patch for use with quilt."
   
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+attachment/5394789/+files/lp1772556-select-codename-for-apt-transport-https.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-21 Thread Matthew Ruffell
Attached is a debdiff for Focal

** Patch added: "debootstrap debdiff for Focal"
   
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+attachment/5394788/+files/lp1772556_debootstrap_focal.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-21 Thread Matthew Ruffell
Attached is a debdiff for Bionic

** Patch added: "Debdiff for Bionic"
   
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+attachment/5394787/+files/lp1772556_debootstrap_bionic.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772556] Re: d-i netinstall fails due to missing apt-transport-https package

2020-07-21 Thread Matthew Ruffell
** Description changed:

  [Impact]
  
  When installing over the network using a netinstall image with pxe boot
  and with an https apt mirror, the installer fails with the error:
  
-   Debootstrap error
+   Debootstrap error
  
-   couldn't find these debs: apt-transport-https
+   couldn't find these debs: apt-transport-https
  
-   Check /var/log/syslog or see virtual console 4 for the details
-   
- This happens due to apt-transport-https moving to universe from bionic 
onward, but still being required by debootstrap when it sees a https apt 
mirror, even though support for https mirrors is built into apt.
+   Check /var/log/syslog or see virtual console 4 for the details
+ 
+ This happens due to apt-transport-https moving to universe from bionic
+ onward, but still being required by debootstrap when it sees a https apt
+ mirror, even though support for https mirrors is built into apt.
  
  [Testcase]
  
  Use the 18.04.4 LTS netinstall ISO to PXE boot with a preseed that uses
  a custom https apt mirror. Something like:
  
  ```
  d-i mirror/country string manual
  d-i mirror/protocol string https
  d-i mirror/https/hostname string mirrors.ptisp.pt
  d-i mirror/https/directory string /ubuntu/
  d-i mirror/https/proxy string
  ```
  
  The installer will fail with the error in the impact section.
+ 
+ There are test packages for debootstrap available in the following PPA,
+ for both bionic and focal:
+ 
+ https://launchpad.net/~mruffell/+archive/ubuntu/sf289200-test
+ 
+ I have also built a test netinstall ISO with the test debootstrap
+ packages, and is available here:
+ 
+ https://people.canonical.com/~mruffell/sf289200/
+ 
+ You probably want to use mini.iso for PXE boot, but vmlinuz and
+ initrd.gz are provided as well.
  
  [Regression Potential]
  
  The fix adds checks for specific distribution releases, so if someone is
  trying to debootstrap a previous release where apt-transport-https is
  still required, it will still function.
  
  For users of newer releases, it simply omits the package. apt-transport-
  https will still be available in universe if anyone still needs it.
  
  If a regression did occur, users may not be able to access https apt
  mirrors when using debootstrap. In this case, users can use a plain http
  mirror until things are fixed.
  
  Due to apt-transport-https not being needed in bionic onward, due to
  being built into apt directly, I believe this change won't introduce any
  regressions.
  
  [Other info]
  
  The fix landed in upstream debootstrap in the following commit:
  
  commit 66cbaae642953beba8aec393f3eca076abd89a7d
  From: Hideki Yamane 
  Date: Fri, 28 Feb 2020 00:10:25 +0900
  Subject: select codename for apt-transport-https (Closes: #920255, #879755)
  Link: 
https://salsa.debian.org/installer-team/debootstrap/-/commit/66cbaae642953beba8aec393f3eca076abd89a7d
  
  It adds a check for distro release name, and if they fall within Zesty
  and prior, then it requires apt-transport-https, and if Artful and
  later, then it is omitted.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772556

Title:
  d-i netinstall fails due to missing apt-transport-https package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1772556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs