Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #190870

Debian iso installation incorrectly sets sources.list

From John Hosack <hosack410@gmail.com>
Newsgroups linux.debian.user
Subject Debian iso installation incorrectly sets sources.list
Date 2018-01-10 05:20 +0100
Message-ID <v6g1P-564-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

This is a bug report. I tried to use the reporting system, but it did not
seem to be appropriate. So, I will give a narrative:

This is what happened.
I decided to install Debian on my small machine (Asus eeePC 900A, 1GB
ram, 4GB storage).  So I selected debian-9.3.0-i386-xfce-CD-1.iso and
put it onto a flash memory stick.  Installation went ok, but
later on when I did "apt install gcc", the installation program
requested the insertion of the installation disk in the drive
/media/cdrom. Why?

Examination.
The /etc/apt/sources.list file had "deb: cdrom:[<installation>..." as
the first entry, and was not commented out. My installation medium
was wrong!

Solution.
Comment out "deb: cdrom:[<installation>..." in sources.list.

Discussion.
There are 2 problems:
(1) Installation should not put the installation medium in the
sources.list, at least not without asking the user,
since the medium may be reused.
(2) Installation should keep track of the installation medium;
if necessary by asking the user.
	(2) reflects a wider problem: Debian has a legacy of
assuming CD or DVD installation. But much is now done by
flash memory sticks. Debian should change to reflect this.
For example, the iso file names might be "large" (or "full")
or "small" (or "base"), not "DVD" or "CD". References
to "CD" or "DVD" should be replaced by  reference to the
"installation medium", unless "CD" is actually necessary. Etc.

Regards,
John Hosack

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Debian iso installation incorrectly sets sources.list John Hosack <hosack410@gmail.com> - 2018-01-10 05:20 +0100
  Re: Debian iso installation incorrectly sets sources.list David Christensen <dpchrist@holgerdanske.com> - 2018-01-10 05:40 +0100
  Re: Debian iso installation incorrectly sets sources.list The Wanderer <wanderer@fastmail.fm> - 2018-01-10 05:40 +0100
    Re: Debian iso installation incorrectly sets sources.list Jonathan Dowland <jmtd@debian.org> - 2018-01-10 11:50 +0100
      Re: Debian iso installation incorrectly sets sources.list Richard Owlett <rowlett@cloud85.net> - 2018-01-10 13:30 +0100
      Re: Debian iso installation incorrectly sets sources.list The Wanderer <wanderer@fastmail.fm> - 2018-01-10 13:40 +0100
      Re: Debian iso installation incorrectly sets sources.list David Wright <deblis@lionunicorn.co.uk> - 2018-01-10 15:40 +0100
    Re: Debian iso installation incorrectly sets sources.list Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-01-14 10:00 +0100
      Re: Debian iso installation incorrectly sets sources.list Steve McIntyre <steve@einval.com> - 2018-01-14 12:10 +0100
        Re: Debian iso installation incorrectly sets sources.list Charlie Gibbs <cgibbs@surfnaked.ca> - 2018-01-15 02:00 +0100
  Re: Debian iso installation incorrectly sets sources.list Steve McIntyre <steve@einval.com> - 2018-01-10 13:10 +0100
    Re: Debian iso installation incorrectly sets sources.list David Wright <deblis@lionunicorn.co.uk> - 2018-01-10 16:00 +0100
      Re: Debian iso installation incorrectly sets sources.list Steve McIntyre <steve@einval.com> - 2018-01-12 19:00 +0100
        Re: Debian iso installation incorrectly sets sources.list Steve McIntyre <steve@einval.com> - 2018-01-13 14:30 +0100
          Re: Debian iso installation incorrectly sets sources.list Brian <ad44@cityscape.co.uk> - 2018-01-13 16:20 +0100
  Re: Debian iso installation incorrectly sets sources.list Jimmy Johnson <field.engineer@gmail.com> - 2018-01-10 14:50 +0100

csiph-web