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
If you need the .bak file, just remove the .bak extension from the filename using either rm or a GUI file manager.
Again, I just don't understand, and searching DuckDuckGo for "debian how to use a .bak file" doesn't help, (though the "Search Assist" results for "debian where is .bak file" seem to make a LITTLE sense), and it says the rm command is to remove, to delete, a file or directory, (and there, I'm not even clear on what a directory is), and I wasn't able to find the .bak file in any of the folders in the "Files" app, What would removing the .bak from the filename help? And why would I delete the file if I want to use it?
Don't answer; it's no use; I'm just too ignorant. too non-technical, and too afraid to do anything I'm not absolutely sure won't break something.
I still don't see where the exact-same-things are, that I'm supposed to edit, or where the "line 1" and "line 3", or 1 and 5, or 2 and 4, etc., are, that the ItsFoss article talked about "commenting out".

To avoid duplicate entries in your /etc/apt/sources.list.d/debian.sources (#19)
the following line:

Code:

Suites: trixie trixie-updates
should be replaced with this one:

Code:

Suites: trixie-updates
One would think that wouldn't one? Yet, searching for "what should /etc/apt/sources.list.d/debian.sources look like?",
and going to this page :
https://wiki.debian.org/SourcesList#APT_sources_format

under "debian.sources format" their example has
"Suites: trixie trixie-updates".


Text Editor is launched with the command gnome-text-editor. ...

If you rely on sudo for root privileges, this command should* launch Text Editor to edit the right file

Code:

$ gnome-text-editor admin:///etc/apt/sources.list.d/debian.sources
and ask for your sudo password.
Try:

Code:

sudo nano /etc/apt/sources.list 
And all the rest, sudo nano [flle to edit]
arzgi had suggested I try sudo nano..., and it turned out I have the nano text editor as well as Gnome "Text Editor", (though nano doesn't appear in the "Software" app's "Installed" list, or when nano is typed into the app's Search field). Nano seems to be more sophisticated, made for doing important things, while Gnome Text Editor seems to be a very simple word processor, yet

$ gnome-text-editor admin:///etc/apt/sources.list.d/debian.sources

as above, without a 'sudo', and with admin://, did bring the Gnome Text Editor window, with the list. (Interesting; It brought an external authentication dialogue box for the password, rather than asking for it within the terminal.) So I guess the Gnome Text Editor can do important things too, and with keyboard commands one is familiar with from working with LibreOffice for instance.
I'll copy the list here, so people won't have to go back to the first page to look at it :

Types: deb deb-src
URIs: http://deb.debian.org/debian/
Suites: trixie trixie-updates
Components: main contrib non-free non-free-firmware
Enabled: yes
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb deb-src
URIs: https://security.debian.org/debian-security
Suites: trixie-security
Components: main contrib non-free non-free-firmware
Enabled: yes
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: http://deb.debian.org/debian/
Suites: trixie
Components: main non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: http://security.debian.org/debian-security/
Suites: trixie-security
Components: main non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: http://deb.debian.org/debian/
Suites: trixie-updates
Components: main non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

[I added this info to the two posts on the first page where I told about the nano readout :
I was mistaken. The same 5 paragraphs brought by
$ cat /etc/apt/sources.list.d/debian.sources
and
$ gnome-text-editor admin:///etc/apt/sources.list.d/debian.sources
were present in the list brought by
$ sudo nano /etc/apt/sources.list.d/debian.sources
but the scroll bar filled the side of nano's window and didn't move the text. Luckily, after installing Debian 13 I had enabled two-finger scrolling. When I opened the list in nano Dec 31 I inadvertently brushed my two fingers on the laptop's touchpad and discovered the rest of the list.]


Gosh - Ukraine - What do you say when you find yourself in dialogue with a person from a country that is at war? Except to express your sympathy, and your horror at the fact that war is still something that human beings engage in, and say, I hope that you and all you care about are somehow safe, and touched as little as possible by the conflict.

Statistics: Posted by TechTerrorized — 2026-01-01 01:52



Viewing all articles
Browse latest Browse all 4056

Trending Articles