this post was submitted on 09 Jul 2023
47 points (98.0% liked)

Linux

48721 readers
2343 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm on Debian 12, KDE Plasma, I often get this error

E: The repository 'cdrom://[Debian GNU/Linux 12.0.0 Bookworm - Official amd64 DVD Binary-1 with firmware 20230610-10:23] bookworm Release' does not have a Release file. W: Updating from such a repository can't be done securely, and is therefore disabled by default. W: See apt-secure(8) manpage for repository creation and user configuration details. E: cdrom://[Debian GNU/Linux 12.0.0 Bookworm - Official amd64 DVD Binary-1 with firmware 20230610-10:23] bookworm Release is not (yet) available (Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs) W: http://dl.google.com/linux/earth/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

I didn't install from a CD Rom or DVD, what is the problem here?

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 26 points 1 year ago* (last edited 1 year ago) (2 children)

Okay, so I haven't installed Debian in quite some time, but I think I know what's happening here.

It's looking for the CD / DVD "repos" because it may be enabled in your apt sources. You just have to comment out the lines involved with CD and DVD in your /etc/apt/sources.list file I think.

Uh, yeah. Cheers

[–] daf 28 points 1 year ago (2 children)

Since OP is new to linux I'll just add this in case it's helpful.

To edit a file owned by root (super account) you can use sudoedit /etc/apt/sources.list or alternatively sudo nano /etc/apt/sources.list in a terminal.

In the editor save by using the key combo Ctrl+S and exit with Ctrl+X.

Commenting is adding a # in front of the line.

so the file should look like something like this

# deb cdrom:[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 NETINST 20220910-10:38]/ bullseye main
[–] [email protected] 5 points 1 year ago

Right, thank you. I haven't had my coffee yet. I should have been more clear.

[–] [email protected] 1 points 1 year ago (2 children)

Question: can this be done via a graphical interface (eg like software-properties-kde in (K)ubuntu)?

[–] lordnikon 3 points 1 year ago (1 children)

yes it can be changed just to un check the box that says Cdrom in sources list. you may need to install that package as im not sure it is installed on debian by default. I start with a minimum install and build my system from there so it's been a long time since I have seen a default install.

[–] [email protected] 1 points 1 year ago

Cheers! Good to know for when I also switch to Debian :)

[–] OldFartPhil 3 points 1 year ago* (last edited 1 year ago) (1 children)

To add to what @lordnikon said, the program is called Software & Updates and I'm pretty sure it's installed by default in GNOME (don't know about other DEs).

Software & Updates Screenshot

[–] [email protected] 3 points 1 year ago

Cheers! Yes it's the same as in KDE. The command-line call is software-properties-gtk or software-properties-kde.

[–] [email protected] 3 points 1 year ago

Oh my lord thank you! I heard alot about the sources.list, I just had no clue what it was or where it was.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago)

The sources.list contains a list of the sources that can be used for the installation and update of software packages. If you installed your Debian Linux distribution from a CD/DVD at some point, or maybe just by default if there is a CD/DVD player in your PC, an entry will have been added to the sources.list file corresponding to the mount point of the installation CD/DVD. Usually you can deactivate this entry after the initial installation, as I suppose that you further installs and updates will be from network sources. The full path to the location of the file is /etc/apt/sources.list. You can edit the file in a text editor, but as a newbie it is probably easier and safer to do that via your graphical update/package manager. Have fun discovering Linux.

For more information, have a look at: https://wiki.debian.org/SourcesList

[–] [email protected] 5 points 1 year ago

I believe you just want to comment out the cdrom entry in the sources.list file.

load more comments
view more: next ›