Bug#941691: live-build: apt-get fails for added repositories if local packages present
Package: live-build
Version: 1:20190311
Severity: important
Tags: patch
Dear Maintainer,
The reported bug occurs in the following setting: when building a Debian Buster
release with additional packages from added (non-debian) repositories _and_
packages residing locally. When those two conditions hold, chroot_archives will
add repo lists, and then configure local packages, calling 'Apt chroot update',
before adding the public keys for those repos. This error is obscured by the
sequence of cache/restore until the binary stage, when chroot is restored from
cache/bootstrap.
This same issue occurred with Jessie and Stretch releases, however, it only
resulted in a warning; the warning was changed to failing in apt 1.5.
Patch provided by following merge request:
https://salsa.debian.org/live-team/live-build/merge_requests/30
-- Package-specific info:
-- System Information:
Debian Release: 10.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-6-cloud-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages live-build depends on:
ii debootstrap 1.0.114
Versions of packages live-build recommends:
ii apt-utils 1.8.2
ii bzip2 1.0.6-9.2~deb10u1
ii cpio 2.12+dfsg-9
ii file 1:5.35-4
ii live-boot-doc 1:20190614
ii live-config-doc 5.20190519
ii live-manual-html [live-manual] 2:20151217.1
ii wget 1.20.1-1.1
ii xz-utils 5.2.4-1
Versions of packages live-build suggests:
ii e2fsprogs 1.44.5-1+deb10u2
pn mtd-utils <none>
ii parted 3.2-25
-- no debconf information
Reply to: