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

Bug#874527: live-build: Live installer creates duplicate sources: sources.list and sources.list.d/base.list



Did you use the official Debian Live iso image or did you make your own?
The reason I ask is if you used the official image it would have been built with Live-Wrapper not Live-Build.

On 7 September 2017 at 08:06, Alan Jenkins <alan.christopher.jenkins@gmail.com> wrote:
Package: live-build
Severity: normal

Dear Maintainer,

I just installed Debian from the Live image for 9.1.0.
I ended up with duplicate sources, which show up when apt-get downloads.
I'm not familiar with the live-build chain, hopefully this is a sensible place
to report it.

I believe base.list is created by vmdebootstrap.

I very much like having the deb.debian.org line on the running live image.
But maybe it needs to be moved to /etc/apt/sources.list, so debian-installer
will overwrite it and avoid annoying duplicates?  Maybe it's not so simple
though, I dunno.

Thanks
Alan


$ sudo apt-get update
Ign:1 http://ftp.uk.debian.org/debian stretch InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
...

$ cat /etc/orig.apt/sources.list.d/base.list
deb http://deb.debian.org/debian/ stretch main
#deb-src http://deb.debian.org/debian/ stretch main

$ cat /etc/orig.apt/sources.list
#

# deb cdrom:[Official Debian GNU/Linux Live 9.1.0 gnome 2017-07-23T01:42]/
stretch main

#deb cdrom:[Official Debian GNU/Linux Live 9.1.0 gnome 2017-07-23T01:42]/
stretch main

deb http://ftp.uk.debian.org/debian/ stretch main
deb-src http://ftp.uk.debian.org/debian/ stretch main

deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main

# stretch-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ stretch-updates main
deb-src http://ftp.uk.debian.org/debian/ stretch-updates main



-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages live-build depends on:
pn  debootstrap  <none>

Versions of packages live-build recommends:
ii  apt-utils                       1.4.7
ii  cpio                            2.11+dfsg-6
pn  live-boot-doc                   <none>
pn  live-config-doc                 <none>
pn  live-manual-html | live-manual  <none>
ii  wget                            1.18-5

live-build suggests no packages.



Reply to: