[Software] [SOLVED] [Debian]

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
f1izzzy
Posts: 5
Joined: 2025-01-30 15:21
Location: Uzbekistan, Tashkent
Has thanked: 2 times

[Software] [SOLVED] [Debian]

#1 Post by f1izzzy »

Good day for everyone, I hope for ur help, so I'm a new user of Debian I have never used Linux before and problem is when I want to update like :

Code: Select all

apt update
it gives an error like

Code: Select all

Ign:1 cdrom:// [Debian GNU/Linux 12.9.0 _Bookworm_ - Official amd64 NETINST with firmware 20250111-10:54] bookworm InRelease
Err:2 cdrom:// [Debian GNU/Linux 12.9.0 _Bookworm_ - Official amd64 NETINST with firmware 20250111-10:54] bookworm Release
 Use apt-cdrom, so that APT can recognize the CD-ROM. apt-get update is not used to add new CD-ROMs
Reading package lists... Done
Е: The repository «cdrom:// [Debian GNU/Linux 12.9.0 _Bookworm_ - Official amd64 NETINST with firmware 20250111-10:54] bookworm Release» does not contain Release file.
N: Updating from this repository cannot be done in a secure way, so it is disabled by default.
N: For information about creating a repository and user settings, see the apt-secure(8) help page.
I don't know what to do and also when I run

Code: Select all

deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
it gives me a

Code: Select all

bash: deb: command not found
even when I run it with "wget" instead "deb"
Last edited by f1izzzy on 2025-01-31 03:42, edited 1 time in total.

User avatar
wizard10000
Global Moderator
Global Moderator
Posts: 1346
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 136 times
Been thanked: 244 times

Re: [Software] [I NEED A HELP][Debian]

#2 Post by wizard10000 »

All you need to do is edit /etc/apt/sources.list and comment out the cdrom entry by adding a pound sign (#) at the beginning of the line.
we see things not as they are, but as we are.
-- anais nin

f1izzzy
Posts: 5
Joined: 2025-01-30 15:21
Location: Uzbekistan, Tashkent
Has thanked: 2 times

Re: [Software] [I NEED A HELP][Debian]

#3 Post by f1izzzy »

Thank you so much, i have been searching for solution for 4-5 hours it's crazy, and also I wanted to ask how can I install net-tools when I run

Code: Select all

apt-get install net-tools
it says "there is no file net-tools"

User avatar
wizard10000
Global Moderator
Global Moderator
Posts: 1346
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 136 times
Been thanked: 244 times

Re: [Software] [I NEED A HELP][Debian]

#4 Post by wizard10000 »

You need to run apt update to refresh repository info but pretty sure net-tools should already be installed.
we see things not as they are, but as we are.
-- anais nin

f1izzzy
Posts: 5
Joined: 2025-01-30 15:21
Location: Uzbekistan, Tashkent
Has thanked: 2 times

Re: [Software] [I NEED A HELP][Debian]

#5 Post by f1izzzy »

I GOT IT THANK YOU A LOT!

Post Reply