Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
MrBW
Posts: 11
Joined: 2016-01-17 11:07

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

#1 Post by MrBW »

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)

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

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

#2 Post by arochester »

Just access your sources.list, as Root, and put a # at the beginning of the CD-Rom line and save it.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

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

#3 Post by Head_on_a_Stick »

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.
deadbang

MrBW
Posts: 11
Joined: 2016-01-17 11:07

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

#4 Post by MrBW »

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?

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

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

#5 Post by Deb-fan »

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. *

User avatar
Ardouos
Posts: 1077
Joined: 2013-11-03 00:30
Location: Elicoor II
Has thanked: 1 time
Been thanked: 4 times

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

#6 Post by Ardouos »

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.
There is only one Debian | Do not break Debian | Stability and Debian | Backports

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

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

#7 Post by Deb-fan »

^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. *

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

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

#8 Post by Head_on_a_Stick »

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.
deadbang

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

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

#9 Post by Deb-fan »

^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. *

Post Reply