DebianThis forum is for the discussion of Debian Linux.
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.
[sudo] password for muhammad:
Ign:1 cdrom://[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 NETINST 20220910-10:38] bullseye InRelease
Err:2 cdrom://[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 NETINST 20220910-10:38] bullseye Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err:3 http://security.debian.org bullseye-security InRelease
Connection failed [IP: 197.199.253.140 80]
Hit:8 https://dl.google.com/linux/chrome/deb stable InRelease
Err:4 http://deb.debian.org/debian bullseye InRelease
Connection failed [IP: 197.199.253.140 80]
Err:5 http://packages.microsoft.com/repos/code stable InRelease
Connection failed [IP: 197.199.253.140 80]
Err:6 http://http.us.debian.org/debian stable InRelease
Connection failed [IP: 197.199.253.140 80]
Err:7 http://deb.debian.org/debian bullseye-security InRelease
Connection failed [IP: 197.199.253.140 80]
Err:9 http://deb.debian.org/debian bullseye-updates InRelease
Connection failed [IP: 197.199.253.140 80]
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 NETINST 20220910-10:38] bullseye 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.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
And i can't install any software too, can anyone explain the proplem please!
there are problems with your /etc/apt/sources.list file. Either delete or comment out the cdrom and duplicate entry on line 3, or post it here so we can fix it for you.
It also looks like you may have a network problem, but one thing at a time.
First thanks for contacting me.
I'am sorry but I'am new to linux a bit, and it's my first time using communities, I would be greateful if you explained how to "delete or comment out the cdrom and duplicate entry on line 3", and what to post here so you can fix it.
And yes I have a problem with the internet, my labtop connects with my wifi but quite zero speed and can connect with my phone hotspot very well, what i do to live that I connect my phone to the wifi and then my laptop with my phone via usp tethering, I tried upuntu, fedora, manjaro and finally debian but the same problem occur, I tried to solve it but I couldn't, I was on windows before and the network with fine.
As root, open the file /etc/apt/sources.list in a text editor. Find the line that references the installation CDROM and either delete it or put an # at the beginning of it (that turns the line into a "comment," that is, it "comments out" the line).
Since you will be at the command line, vim or nano would be the easiest choices. (I'm not at my Debian machine right now, so I can't check whether nano is installed out of the box, but, if it is, that would likely be your best choice. Me, I prefer vim, but vim has a little bit more of a learning curve. You can open the file for editing with a command like nano /etc/apt/sources.list)
As for your internet issue, if you can test with a wired connection, it would be a good idea to do so to determine whether the issue is just with the wireless or is something larger.
And welcome to LQ.
Last edited by frankbell; 02-03-2023 at 10:02 PM.
Reason: grammar error
#deb cdrom:[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 NETINST 2022091>
#deb cdrom:[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 NETINST 2022091>
deb http://deb.debian.org/debian/ bullseye non-free main contrib
deb-src http://deb.debian.org/debian/ bullseye main contrib non-free
deb http://deb.debian.org/debian/ bullseye-security main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye-security main contrib non-free
# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates>
deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye-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.
I just commented the first two lines.
The problem didn't solved but the error changed:
#deb cdrom:[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 NETINST 2022091>
#deb cdrom:[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 NETINST 2022091>
deb http://deb.debian.org/debian/ bullseye non-free main contrib
deb-src http://deb.debian.org/debian/ bullseye main contrib non-free
#deb http://deb.debian.org/debian/ bullseye-security main contrib non-free
#deb-src http://deb.debian.org/debian/ bullseye-security main contrib non-free
deb http://security.debian.org bullseye-security main contrib non-free
deb-src http://security.debian.org bullseye-security main contrib non-free
# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates>
deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
is it done like that?
Code:
sudo apt update
Get:1 http://security.debian.org bullseye-security InRelease [48.4 kB]
Hit:2 http://packages.microsoft.com/repos/code stable InRelease
Hit:3 http://deb.debian.org/debian bullseye InRelease
Hit:4 http://http.us.debian.org/debian stable InRelease
Get:5 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Hit:6 https://dl.google.com/linux/chrome/deb stable InRelease
Get:7 http://security.debian.org bullseye-security/main Sources [184 kB]
Get:8 http://security.debian.org bullseye-security/non-free Sources [632 B]
Fetched 277 kB in 1s (198 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
41 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Translations (contrib/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11 (contrib/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11 (contrib/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11-icons-small (contrib/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11-icons (contrib/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Translations (contrib/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11 (contrib/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11 (contrib/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11-icons-small (contrib/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11-icons (contrib/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:27
Last edited by Muhammad Alaa; 02-12-2023 at 10:41 AM.
I have a problem with the internet, my labtop connects with my wifi but quite zero speed and can connect with my phone hotspot very well, what i do to live that I connect my phone to the wifi and then my laptop with my phone via usp tethering, I tried upuntu, fedora, manjaro and finally debian but the same problem occur
I had this problem with Debian using the iso without non free - it follows that I cured this by installing the iso with non-free hardware support included. It now connects to WiFi hub automatically
I also find messing around with sys files stressful as I do not have confidence
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.