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

Testing And Unstable • Re: Problem in get inside sources.list

$
0
0
Hello, I have installed Trixie on another machine a Thinkpad Intel already some years old ... everything works correctly I have updated the system although the repos do not appear, neither in Synaptic nor in /etc/apt/sources.list.d -- and I need to go inside to fix it, there are some repeated repos ...

Code:

keos@debian:~$ LANG=C sudo apt updateHit:1 http://deb.debian.org/debian trixie InReleaseHit:2 http://security.debian.org/debian-security trixie-security InReleaseHit:3 https://dl.winehq.org/wine-builds/debian trixie InRelease           Hit:4 http://deb.debian.org/debian trixie-updates InRelease               Get:5 https://repo.yandex.ru/yandex-browser/deb stable InRelease [4336 B]Fetched 4336 B in 1s (3176 B/s)    1 package can be upgraded. Run 'apt list --upgradable' to see it.Warning: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/yandex-browser.list:3 and /etc/apt/sources.list.d/yandex-browser.sources:1keos@debian:~$
Thank for any advice

As has been mentioned edit the offending file to remove the duplicates. This would be the /etc/apt/sources.list.d/yandex-browser.list file the winehq works properly. Synaptic will not show the repos until it gets updated to use the new format.

EDIT: I forgot this:


Code:

# Modernized from /etc/apt/sources.listComponents: main contrib non-freeSigned-By: /usr/share/keyrings/debian-archive-keyring.gpgSuites: trixieSuites: trixie-securitySuites: trixie-updatesTypes: deb deb-srcURIs: http://deb.debian.org/debian/URIs: http://security.debian.org/debian-security/

Try this for the /etc/apt/sources.list.d/debian.sources (however they named it) file it is definitely more read able. Plus it gives access to the entire archive by including all its Components and Suites.

Code:

root@9600k:~# cat /etc/apt/sources.list.d/debian.sources ## Debian 13 Trixie## The new style method of using repositories to install software.## This /etc/apt/sources.list.d/debian.sources is new style and location file## The /etc/apt/old.style.sources.list contains the same as this.## https://linuxconfig.org/ubuntus-repository-configuration-ubuntu-sources-have-moved-to-etc-apt-sources-list-d-ubuntu-sources## Added extra fields from below.## https://www.reddit.com/r/debian/comments/1i9qe7h/my_source_list_ok/## normal trixie sourcesX-Repolib-Name: Debian MainX-Repolib-ID: systemTypes: deb deb-srcURIs: http://deb.debian.org/debian/Suites: trixie trixie-updates trixie-backports trixie-proposed-updatesComponents: main contrib non-free non-free-firmwareEnabled: yesSigned-By: /usr/share/keyrings/debian-archive-keyring.gpgArchitectures: amd64## trixie security sourcesX-Repolib-Name: Debian SecurityX-Repolib-ID: systemTypes: deb deb-srcURIs: http://security.debian.org/debian-securitySuites: trixie-securityComponents: main contrib non-free non-free-firmwareEnabled: yesSigned-By: /usr/share/keyrings/debian-archive-keyring.gpgArchitectures: amd64
Edit: Now I notice it I relied on previous comment for the duplicate in file. You have two files in use the .list and .sources files go into the /etc/apt/sources.list.d/yandex-browser.list file and put a # at the front of the line like I do with the Google one I have here. Leaving the file in place like that prevents the package from reinstalling it and messing it up every time it upgrades, who knows if the yandex people have adopted that stupid method or not but better safe than always editing on upgrade.

Code:

root@9600k:~# cat /etc/apt/sources.list.d/google-chrome.list ### THIS FILE IS AUTOMATICALLY CONFIGURED #### You may comment out this entry, but any other modifications may be lost.#deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable mainroot@9600k:~# cat /etc/apt/sources.list.d/google-chrome.sources ## added for google-chrome## The new style method of using repositories to install software.## This /etc/apt/sources.list.d/google-chrome.sources is new style and location file## https://linuxconfig.org/ubuntus-repository-configuration-ubuntu-sources-have-moved-to-etc-apt-sources-list-d-ubuntu-sources## Normal stable sourcesTypes: debURIs: https://dl.google.com/linux/chrome/deb/Suites: stableComponents: mainEnabled: yesSigned-By: /usr/share/keyrings/google-chrome.gpgArchitectures: amd64

Statistics: Posted by RedGreen925 — 2025-02-22 00:08



Viewing all articles
Browse latest Browse all 2681

Trending Articles