After installation from cdrom, apt-setup comments out the CD from installation

Bug #985791 reported by Michael Casadevall on 2012-04-19
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt-setup (Ubuntu)
Medium
Unassigned

Bug Description

After doing an offline install of i386 from a server CD, /etc/apt/sources.list has the CD commented out. It also has the Ubuntu archive in /etc/apt/sources.list present and uncommented (though I'm unsure if that is a bug or not). Manually adding the cdrom with apt-cdrom scan works, and allows packages to be installed, as well as tasks.

Steps to Reproduce:
1. Install i386 ubuntu normall
2. cat /etc/apt/sources.list, see the CDROM is commentedout

Expected behavior:
1. The CD will be automatically polled if internet sources can't be reached or updated.

Workaround:
1. Run apt-cdrom add after installation. This should be documented in the release notes if a fix is unavailable.

Changed in apt-setup (Ubuntu):
milestone: none → ubuntu-12.04
importance: Undecided → Medium
description: updated
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/985791

tags: added: iso-testing
Colin Watson (cjwatson) wrote :

This was deliberate so that people wouldn't be bothered by apt prompting them to insert the CD. The common case, I would argue, is that people don't have physical media conveniently around for very long after the installation, and particularly on a server I'd expect the network to be much more convenient.

I'm definitely not going to change this for precise, as there is far too much risk of regression. If you want this changed for Q, a first step would be to verify that apt falls back to the network if the CD isn't inserted but the network is available without any kind of prompt.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-setup (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers