90apt-sources breaks sources.list in focal builds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sbuild-launchpad-chroot (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
the file '/etc/schroot/
sources.list in 'livecd.
releases before have focal an /etc/apt/
$ tar xvzf bionic-
chroot-
deb http://
But focal's has a "full" /etc/apt/
$ tar xvzf focal-livecd.
chroot-
https:/
The parsing/updating of APT_POCKETS breaks with the more complicated sources.list
Here is the failure recreate:
$ sbuild --dist=focal --arch=amd64 --arch-all ../out/
sbuild (Debian sbuild) 0.79.0 (05 February 2020) on crabapple
+======
| cloud-init 20.1-10-
+======
Package: cloud-init
Version: 20.1-10-
Source Version: 20.1-10-
Distribution: focal
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: binary
I: 01launchpad-chroot: [focal-amd64] Processing config
I: 01launchpad-chroot: [focal-amd64] Already up to date.
I: 90apt-sources: setting apt pockets to 'release security updates proposed' in sources.list
I: 90apt-sources: setting apt components to 'main universe' in sources.list
I: NOTICE: Log filtering will replace 'var/run/
I: NOTICE: Log filtering will replace 'build/
+------
| Update chroot |
+------
E: Type 'main' is not known on line 5 in source list /etc/apt/
E: The list of sources could not be read.
E: apt-get update failed
+------
| Summary |
+------
Build Architecture: amd64
Build Type: binary
Build-Space: 0
Build-Time: 0
Distribution: focal
Fail-Stage: apt-get-update
Host Architecture: amd64
Install-Time: 0
Job: ../out/
Machine Architecture: amd64
Package: cloud-init
Package-Time: 0
Source-Version: 20.1-10-
Space: 0
Status: failed
Version: 20.1-10-
-------
Finished at 2020-04-
Build needed 00:00:00, 0k disk space
E: apt-get update failed
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: sbuild-
ProcVersionSign
Uname: Linux 5.3.0-46-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 17 13:17:49 2020
InstallationDate: Installed on 2020-01-15 (92 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: sbuild-
UpgradeStatus: Upgraded to focal on 2020-04-17 (0 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.