Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
xann@debian:~$ sudo apt update && apt upgrade
[sudo] password for xann:
Ign:1 cdrom://[Debian GNU/Linux 12.5.0 _Bookworm_ - Official amd64 NETINST with firmware 20240210-11:27] bookworm InRelease
Err:2 cdrom://[Debian GNU/Linux 12.5.0 _Bookworm_ - Official amd64 NETINST with firmware 20240210-11:27] bookworm Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:4 https://brave-browser-apt-nightly.s3.brave.com stable InRelease
Hit:5 https://deb.debian.org/debian bookworm InRelease
Hit:6 https://downloads.1password.com/linux/debian/amd64 stable InRelease
Hit:7 https://repo.protonvpn.com/debian stable InRelease
Ign:8 https://deb.debian.org/debian bookworm-security InRelease
Hit:9 https://deb.debian.org/debian bookworm-updates InRelease
Err:10 https://deb.debian.org/debian bookworm-security Release
404 Not Found [IP: 2a04:4e42:8b::644 443]
Hit:11 https://packages.mozilla.org/apt mozilla InRelease
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux 12.5.0 _Bookworm_ - Official amd64 NETINST with firmware 20240210-11:27] bookworm Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-nightly.s3.brave.com stable InRelease' doesn't support architecture 'i386'
E: The repository 'https://deb.debian.org/debian bookworm-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
It's a long shot, but, as root, check your /etc/apt/sources.list file and make sure the CD is not listed or is remarked out.
Also, when posting terminal output, please enclose it in "code" tags, which become available when you click the "Go Advanced" button beneath the compose/edit post window. It makes terminal output much easier to read.
It's a long shot, but, as root, check your /etc/apt/sources.list file and make sure the CD is not listed or is remarked out.
Also, when posting terminal output, please enclose it in "code" tags, which become available when you click the "Go Advanced" button beneath the compose/edit post window. It makes terminal output much easier to read.
And welcome to LQ.
Hey thanks for the answer and for the welcome.
So, I kinda solved the issue by commenting few strings in that directory:
Code:
#deb cdrom:[Debian GNU/Linux 12.5.0 _Bookworm_ - Official amd64 NETINST with firmware 20240210-11:27]/ bookworm contrib main non-free-firmware
deb https://deb.debian.org/debian/ bookworm non-free-firmware main
deb-src https://deb.debian.org/debian/ bookworm non-free contrib non-free-firmware main #Added by software-properties
#deb https://deb.debian.org/debian/ bookworm-security non-free-firmware main
#deb-src https://deb.debian.org/debian/ bookworm-security non-free-firmware main #Added by software-properties
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb https://deb.debian.org/debian/ bookworm-updates non-free-firmware main
deb-src https://deb.debian.org/debian/ bookworm-updates non-free-firmware main #Added by software-properties
# 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.
# Debian 12 "Bookworm"
deb https://deb.debian.org/debian/ bookworm contrib non-free
UPD: so it basically works but the only package that is being updated is brave-nightly
UPD2: i tried gui, it failed: http://ibb.co/gJftbFG
Last edited by xann; 03-08-2024 at 01:32 AM.
Reason: tried the gui
#deb cdrom:[Debian GNU/Linux 12.5.0 _Bookworm_ - Official amd64 NETINST with firmware 20240210-11:27]/ bookworm contrib main non-free-firmware
deb https://deb.debian.org/debian/ bookworm non-free-firmware main
deb-src https://deb.debian.org/debian/ bookworm non-free contrib non-free-firmware main #Added by software-properties
deb https://deb.debian.org/debian-security/ bookworm-security non-free-firmware main
deb-src https://deb.debian.org/debian-security/ bookworm-security non-free-firmware main #Added by software-properties
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb https://deb.debian.org/debian/ bookworm-updates non-free-firmware main
deb-src https://deb.debian.org/debian/ bookworm-updates non-free-firmware main #Added by software-properties
# 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.
# Debian 12 "Bookworm"
deb https://deb.debian.org/debian/ bookworm contrib non-free
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.