CD-ROM repository.....come on, this is 2019!

Here you can discuss every aspect of Debian. Note: not for support requests!

CD-ROM repository.....come on, this is 2019!

Postby MrBW » 2019-03-17 20:51

Everytime I install Debian I always have to bother with removing the CD-ROM in "/etc/apt/sources.list":
deb cdrom:[Debian GNU/Linux testing _Buster_ - Official Snapshot amd64 DVD Binary-1 20181217-04:26]/ buster contrib main

I find this very strange that this is the default. I assume 99 out of 100 users want and have e.g. "deb http://deb.debian.org/debian/ buster main" as the repository.

Can anyone tell me why this is a good idea?

it not, how do we request a feature requests for Debian (which package is responsible for this, debian-installer?)
It can hardly be called a bug (but it's just as annoying as one)
MrBW
 
Posts: 10
Joined: 2016-01-17 11:07

Re: CD-ROM repository.....come on, this is 2019!

Postby arochester » 2019-03-17 20:55

Just access your sources.list, as Root, and put a # at the beginning of the CD-Rom line and save it.
arochester
 
Posts: 1779
Joined: 2010-12-07 19:55

Re: CD-ROM repository.....come on, this is 2019!

Postby Head_on_a_Stick » 2019-03-17 21:06

MrBW wrote:Can anyone tell me why this is a good idea?

Because some people want to have an offline installation.

Not everybody has an internet connection and Debian is kind enough to accommodate such people by providing their packages on CDs & DVDs, this is extremely useful actually and not something offered by many other distributions.

To avoid having to edit your sources after installation simply ensure that the installer has an internet connection and is provided with a mirror when it requests one.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12785
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: CD-ROM repository.....come on, this is 2019!

Postby MrBW » 2019-03-18 07:57

Head_on_a_Stick wrote:
MrBW wrote:Can anyone tell me why this is a good idea?

Because some people want to have an offline installation.

Not everybody has an internet connection and Debian is kind enough to accommodate such people by providing their packages on CDs & DVDs, this is extremely useful actually and not something offered by many other distributions.

To avoid having to edit your sources after installation simply ensure that the installer has an internet connection and is provided with a mirror when it requests one.


1: I'm not saying it should not be possible to have the CD-ROM as the repository! I criticize that is default, when assuming 99 out of 100 are using the online repository.
2: I do have an internet connection under installation and also selecting a mirror. This happens both for Debian 9 & 10

So, it's the debian-installer which take care of this?
MrBW
 
Posts: 10
Joined: 2016-01-17 11:07

Re: CD-ROM repository.....come on, this is 2019!

Postby Deb-fan » 2019-03-18 11:31

Everybody's a critic sheesh. Still an overall trivial thing, after all the amazing work the folks behind Debian put into things. Curious does it give any errors?
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 968
Joined: 2012-08-14 12:27

Re: CD-ROM repository.....come on, this is 2019!

Postby Ardouos » 2019-03-18 11:32

Deb-fan wrote:Curious does it give any errors?

If the installation media is not inserted, it will sit and time out. It is better just to comment it out.
User avatar
Ardouos
 
Posts: 1062
Joined: 2013-11-03 00:30
Location: Elicoor II

Re: CD-ROM repository.....come on, this is 2019!

Postby Deb-fan » 2019-03-18 11:38

^Thanks, always do net installs, generally without any connection and inevitably end up having to manually populate sources.list. Still tiny effort and time compared to the people who dev/maintain Debian.
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 968
Joined: 2012-08-14 12:27

Re: CD-ROM repository.....come on, this is 2019!

Postby Head_on_a_Stick » 2019-03-18 19:54

MrBW wrote:I'm not saying it should not be possible to have the CD-ROM as the repository! I criticize that is default, when assuming 99 out of 100 are using the online repository.

It's not a default, the CDROM entry is only left active if no mirror is supplied.

MrBW wrote:I do have an internet connection under installation and also selecting a mirror. This happens both for Debian 9 & 10

Bullshit.

There is no "Debian 10" and there won't be for several months.

If you have experienced this with the Debian buster installer (which I doubt) then please indicate exactly which image you tried.

I will allow you some benefit of the doubt in respect of Debian 9 because there are problems reported sometimes if the "live" ISO image is used to install a system, the general advice is to use the netinstall image instead as that seems to be more reliable.

I have personally installed Debian jessie & stretch *many* times (using the non-free netinstall image) and I have never had to comment out the CDROM source, the internet sources have always been activated correctly.

And I've just tested the alpha5 buster netinstall image and that also commented out the CDROM lines and added the mirror that I supplied, here is the proof:
Code: Select all
empty@shinken:~ $ cat /mnt/etc/apt/sources.list                         
#

# deb cdrom:[Debian GNU/Linux buster-DI-alpha5 _Buster_ - Official Snapshot amd64 NETINST 20190126-00:14]/ buster contrib main non-free

#deb cdrom:[Debian GNU/Linux buster-DI-alpha5 _Buster_ - Official Snapshot amd64 NETINST 20190126-00:14]/ buster contrib main non-free

deb http://deb.debian.org/debian/ buster main non-free contrib
deb-src http://deb.debian.org/debian/ buster main non-free contrib

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
empty@shinken:~ $

^ I think the last 5 lines are the clincher here, no?

Now please go troll some other forum, your attempts are pathetic.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12785
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: CD-ROM repository.....come on, this is 2019!

Postby Deb-fan » 2019-03-19 08:35

^Thanks for confirming the situation. What I'd been thinking is the case but not in a position to do what you did to verify. Cool to know what's what. :)
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 968
Joined: 2012-08-14 12:27


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable