#787129 "apt-setup-udeb: No contrib by default"

#787129#5
Date:
2015-05-28 21:36:39 UTC
From:
To:
Dear Maintainer,

I did install Debian with "Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD
Binary-1 20150425-12:54". After that I found in /etc/apt/sources.list lines
with "contrib" enabled (see attachment).

I would expect a sources.list without "contrib" enabled, because contrib
installs software what's not dfsg-free, like the flashplugin from Adobe. And so
far I know "contrib" is not an official part of Debian.

#787129#10
Date:
2015-05-28 22:29:13 UTC
From:
To:
Hi Paul,

Paul van der Vlis <paul@vandervlis.nl> (2015-05-28):

Without having looked at the code path yet, I'd appreciate seeing an
installer syslog (/var/log/installer).

Mraw,
KiBi.

#787129#17
Date:
2015-05-29 10:26:49 UTC
From:
To:
Cyril Brulebois <kibi@debian.org> (2015-05-29):

The mirror line is built depending on whether contrib/non-free are
requested, and we end up with main only.

Security and jessie-updates are built differently, the generators look
whether contrib and/or non-free are enabled in sources.list.new already
and enable them accordingly. Since there's already a contrib entry due
to the cdrom line, that's how it ends up in the jessie/updates and
jessie-updates entries.

This leaves us with the following question: why does the cdrom: line
contain contrib. To which I don't have an immediate answer.

Mraw,
KiBi.

#787129#24
Date:
2015-05-29 10:41:38 UTC
From:
To:
Op 29-05-15 om 00:29 schreef Cyril Brulebois:
another one. I will add the installer syslog to this message.

Another bug I see, is that the line with "deb cdrom:" was not removed
from sources.list.

I did use an USB stick for the installation, created with:
cp -v debian-8.0.0-amd64-DVD-1.iso /dev/sdc; sync

With regards,
Paul van der Vlis

#787129#35
Date:
2015-05-29 11:42:45 UTC
From:
To:
Cyril Brulebois <kibi@debian.org> (2015-05-29):
| commit 916440cf9a265370facae13776213aefaa8a28d6
| Author: Tollef Fog Heen <tfheen@debian.org>
| Date:   Sat Dec 7 10:22:40 2002 +0000
|
|     add support for excluding contrib.
| …
| +  * Make it possible to exclude contrib from the CDs.  Useful if you only
| +    have a mirror of main.
|
| - -- Raphael Hertzog <hertzog@debian.org>  Thu, 10 Oct 2002 14:52:15 +0200
| + -- Tollef Fog Heen <tfheen@debian.org>  Sat,  7 Dec 2002 10:58:53 +0100
| …
| +# Do I want to have CONTRIB merged in the CD set
| +export CONTRIB=1
| …

Cc-ing debian-cd@ to get some input. Is having contrib enabled in
official images a deliberate choice? And a reasonable one?

Mraw,
KiBi.

#787129#40
Date:
2015-05-29 12:10:42 UTC
From:
To:
Op 29-05-15 om 13:42 schreef Cyril Brulebois:

It's not only about the "cdrom:" line, but also about the lines with the
security and updates repositories:

deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
deb http://ftp.nl.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.nl.debian.org/debian/ jessie-updates main contrib

With regards,
Paul van der Vlis

#787129#45
Date:
2015-05-29 12:13:02 UTC
From:
To:
Paul van der Vlis <paul@vandervlis.nl> (2015-05-29):

I tried to explain that those are a direct consequence of contrib being
on the cdrom line in the first place.

Mraw,
KiBi.