Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 4056

Installation • Re: “Warning: Target” “configured multiple times” in sources lists

$
0
0
Tain't me whot's doing it, all this doubling, I wouldn't know how. I merely follow instructions.
Do you know of a page or video that has clear, complete instructions of HOW to do these things?
Countless times, while hoping there was an easier, automatic, way, I've looked over this page :
https://itsfoss.com/fixing-target-packa ... ple-times/
from 2022 by Abhishek Prakash. It's the only one I found that is relevant, and that I feel I could possibly Get what to do from, though only after more concentrated study and searching up everything I don't understand. So far, what I think it says is, you open the sources list in a text editor, and either delete or 'comment out' one line.
(He uses the Gedit text editor, and mentions Nano. Wikipedia says Gedit was the previous Gnome default. I have the current default Gnome "Text Editor". I don't imagine there's enough difference between them to be very confusing.)
But how do you open the sources list in the text editor? I wasted a lot of time searching "debian how open apt sources list in gnome text editor", wondering why, if Gedit is out and Text Editor is in, the instructions, even ones that seem recent, or were updated recently, start the command with gedit. Finally decided to just try, and this is what I got :

$ gedit /etc/apt/sources.list
bash: gedit: command not found
$ texteditor /etc/apt/sources.list
bash: texteditor: command not found
$ texteditor /etc/apt/sources.list.d/debian.sources
bash: texteditor: command not found
$ text editor /etc/apt/sources.list.d/debian.sources
bash: text: command not found
$ sudo gedit /etc/apt/sources.list
sudo: gedit: command not found
$ sudo gedit /etc/apt/sources.list.d/debian.sources
sudo: gedit: command not found
$ sudo texteditor /etc/apt/sources.list.d/debian.sources
sudo: texteditor: command not found
$ sudo text editor /etc/apt/sources.list.d/debian.sources
sudo: text: command not found
$ sudo text-editor /etc/apt/sources.list.d/debian.sources
sudo: text-editor: command not found

I just wanted to see what it would look like. I don't want to touch anything until I'm sure what I do won't be ruining something.
I couldn't get any understanding from Mr. Prakash's screenshots. I'm hoping that if I have to find and 'comment out' the approximately 120 lines, that they'll at least all be on one page. (He says that to comment out is safer than to delete.)

Statistics: Posted by TechTerrorized — 2025-12-28 10:27



Viewing all articles
Browse latest Browse all 4056

Trending Articles