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?

  • daf@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    1 year ago

    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
    
    • stravanasu@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

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

      • OldFartPhil@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        1 year ago

        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

        • stravanasu@lemmy.ca
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

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

      • lordnikon@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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.