when selecting "only free software", I get restricted from the original CD and for -security

Bug #220805 reported by Martin Pitt on 2008-04-22
16
Affects Status Importance Assigned to Milestone
apt-setup (Ubuntu)
Medium
Colin Watson
Hardy
Medium
Colin Watson
base-installer (Ubuntu)
Medium
Colin Watson
Hardy
Medium
Colin Watson

Bug Description

Binary package hint: debian-installer

Hardy amd64 alternate final candidate (20080422.2), expert installation with "only free software" option. /target/etc/apt/sources.list has "main restricted" for the cdrom apt source, which might potentially install restricted stuff.

Indeed the kernel choice includes and defaults to "linux-generic" which pulls in l-r-m. I have to manually select "linux-image-generic" to avoid non-free software.

Also, the final /etc/apt/sources.list has "restricted" for the -security sources. I attach the complete file.

Martin Pitt (pitti) wrote :
Colin Watson (cjwatson) wrote :

Fixing the cdrom entry will be sufficient - the security generator decides whether to include restricted by seeing whether it's already been used elsewhere.

Changed in debian-installer:
importance: Undecided → Medium
status: New → Confirmed
Colin Watson (cjwatson) wrote :

Seems like a reasonably small fix for 8.04.1.

Changed in apt-setup:
assignee: nobody → kamion
milestone: none → ubuntu-8.04.1
status: Confirmed → Fix Committed
Colin Watson (cjwatson) wrote :
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package base-installer - 1.86ubuntu3

---------------
base-installer (1.86ubuntu3) intrepid; urgency=low

  * Use powerpc64-smp kernel on PS3/Cell (LP: #221647).
  * Don't include restricted in the base sources.list if
    apt-setup/restricted is preseeded to false (LP: #220805).

 -- Colin Watson <email address hidden> Tue, 20 May 2008 22:37:07 +0200

Changed in base-installer:
status: New → Fix Released
Colin Watson (cjwatson) wrote :

The linux-generic bit needs a fix in base-installer too. Patch attached in a moment.

Changed in base-installer:
assignee: nobody → kamion
importance: Undecided → Medium
milestone: none → ubuntu-8.04.1
status: Fix Released → Fix Committed
Colin Watson (cjwatson) wrote :
Changed in base-installer:
milestone: ubuntu-8.04.1 → none
status: Fix Committed → Fix Released
assignee: nobody → kamion
importance: Undecided → Medium
milestone: none → ubuntu-8.04.1
status: New → Fix Committed
Changed in apt-setup:
assignee: nobody → kamion
importance: Undecided → Medium
milestone: none → ubuntu-8.04.1
status: New → Fix Committed
milestone: ubuntu-8.04.1 → none
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

hardy test CD images are now available which include the updated installer
components that address this bug:

  http://cdimage.ubuntu.com/hardy/daily/20080612.4/

Please test these images and report your results so we can verify whether
this bug is fixed.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
<email address hidden> <email address hidden>

Martin Pitt (pitti) wrote :

I tested alternate and desktop 8.04.1 test CDs with "[x] only free software" option.

 - The desktop was perfect, I don't get l-r-m (only linux-image-generic), and apt sources.list did not have any restricted/multiverse.

 - The alternate install had a clean apt sources.list as well, but installed l-r-m and linux-generic.

Steve Langasek (vorlon) wrote :

are apt-setup and base-installer the only two components at issue here in the alternate installer, or could it be that the fixes to these two packages are both necessary, but not sufficient?

Colin Watson (cjwatson) wrote :

Should be just base-installer, as far as selecting the kernel to install goes. I'll give it a spin here.

Colin Watson (cjwatson) wrote :

http://bazaar.launchpad.net/~ubuntu-core-dev/base-installer/hardy-updates/revision/328 fixes this for the alternate CD too (tested by manually modifying /usr/lib/base-installer/library.sh in a running installer); I'd missed out a few special cases for CD installs in base-installer. This didn't affect the desktop CD because ubiquity necessarily has its own special handling of apt-setup/restricted.

1.86ubuntu2.2 uploaded to hardy-proposed.

Martin Pitt (pitti) wrote :

Reopening for intrepid then. Thanks Colin!

Changed in base-installer:
status: Fix Released → Fix Committed
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

Steve Beattie (sbeattie) wrote :

I have verified that selecting the "only free software" in the daily alternative iso snapshot (20080617, i386) uses only main from the cd source in /target/etc/apt/sources.list during the install, linux-image-generic is the kernel that gets installed and not linux-generic, and that the hardy-security line in the installed sources.list does not include restricted.

I have not reverified the daily-live cd image. I didn't notice any regressions in the installation process, but didn't exercise it very heavily.

Martin Pitt (pitti) wrote :

I tested today's hardy live CD and confirmed that I only get linux-image-generic installed, and the apt sources do not have multiverse/restricted (just commented ones for backports).

Martin Pitt (pitti) wrote :

Copied both to hardy-updates.

Changed in apt-setup:
status: Fix Committed → Fix Released
Changed in base-installer:
status: Fix Committed → Fix Released
Colin Watson (cjwatson) wrote :

apt-setup was fixed in Intrepid some time ago.

Changed in apt-setup:
status: Fix Committed → Fix Released
Colin Watson (cjwatson) wrote :

base-installer was also fixed in Intrepid some time ago.

Changed in base-installer:
status: Fix Committed → Fix Released
Colin Watson (cjwatson) wrote :

Oops, I forgot to merge the changes in base-installer 1.86ubuntu2.2 to intrepid. Doing that now.

Changed in base-installer:
status: Fix Released → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package base-installer - 1.86ubuntu4

---------------
base-installer (1.86ubuntu4) intrepid; urgency=low

  * Merge from hardy-proposed:
    - Fix exclusion of restricted in CD installations (LP: #220805).

 -- Colin Watson <email address hidden> Wed, 20 Aug 2008 00:46:31 +0100

Changed in base-installer:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments