Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
sources.list
sources.list
My sources list seems not right, could someone comment please? also my sources.list.d is empty, is it normal?
deb http://deb.debian.org/debian/ bullseye main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye main contrib non-free
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
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-f>
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib n>
deb http://security.debian.org/ bullseye-security contrib non-free main
deb http://deb.debian.org/debian/ bullseye main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye main contrib non-free
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
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-f>
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib n>
deb http://security.debian.org/ bullseye-security contrib non-free main
- sunrat
- Administrator
- Posts: 6383
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 115 times
- Been thanked: 456 times
Re: sources.list
sources.list.d is empty unless you add extra repos to it. This is the default sources except deb-src lines are commented out, not needed unless you compile stuff.
Code: Select all
deb http://deb.debian.org/debian/ bullseye main contrib non-free
# deb-src http://deb.debian.org/debian/ bullseye main
deb http://security.debian.org/debian-security bullseye-security main
# deb-src http://security.debian.org/debian-security bullseye-security main
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
- craigevil
- Posts: 5391
- Joined: 2006-09-17 03:17
- Location: heaven
- Has thanked: 28 times
- Been thanked: 39 times
Re: sources.list
# Bullseye https://www.debian.org/releases/bullsey ... ng.en.html
deb https://deb.debian.org/debian/ bullseye main contrib non-free
# deb-src https://deb.debian.org/debian/ bullseye main contrib non-free
# Bullseye Security https://www.debian.org/releases/bullsey ... ty-archive
deb https://deb.debian.org/debian-security bullseye-security main contrib non-free
# deb-src https://deb.debian.org/debian-security bullseye-security main contrib non-free
# Bullseye Updates https://wiki.debian.org/DebianBullseye#FAQ
# https://wiki.debian.org/StableUpdates All packages from stable-updates will be included in point releases.
deb https://deb.debian.org/debian bullseye-updates main contrib non-free
# deb-src https://deb.debian.org/debian bullseye-updates main contrib non-free
# Bullseye Backports https://backports.debian.org/
# Backports are _not_ enabled by default.
# Enable them by uncommenting the following line:
# deb https://deb.debian.org/debian/ bullseye-backports main contrib non-free
# deb-src https://deb.debian.org/debian/ bullseye-backports main contrib non-free
# Bullseye Proposed Updates https://wiki.debian.org/StableProposedUpdates
# Stable-proposed-updates is an apt repository that contains the files that are being prepared for the next Debian/Stable point release.
# deb https://deb.debian.org/debian/ bullseye-proposed-updates main contrib non-free
# deb-src https://deb.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb https://deb.debian.org/debian/ bullseye main contrib non-free
# deb-src https://deb.debian.org/debian/ bullseye main contrib non-free
# Bullseye Security https://www.debian.org/releases/bullsey ... ty-archive
deb https://deb.debian.org/debian-security bullseye-security main contrib non-free
# deb-src https://deb.debian.org/debian-security bullseye-security main contrib non-free
# Bullseye Updates https://wiki.debian.org/DebianBullseye#FAQ
# https://wiki.debian.org/StableUpdates All packages from stable-updates will be included in point releases.
deb https://deb.debian.org/debian bullseye-updates main contrib non-free
# deb-src https://deb.debian.org/debian bullseye-updates main contrib non-free
# Bullseye Backports https://backports.debian.org/
# Backports are _not_ enabled by default.
# Enable them by uncommenting the following line:
# deb https://deb.debian.org/debian/ bullseye-backports main contrib non-free
# deb-src https://deb.debian.org/debian/ bullseye-backports main contrib non-free
# Bullseye Proposed Updates https://wiki.debian.org/StableProposedUpdates
# Stable-proposed-updates is an apt repository that contains the files that are being prepared for the next Debian/Stable point release.
# deb https://deb.debian.org/debian/ bullseye-proposed-updates main contrib non-free
# deb-src https://deb.debian.org/debian/ bullseye-proposed-updates main contrib non-free
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list
- FreewheelinFrank
- Global Moderator
- Posts: 2065
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 221 times
Re: sources.list
sunrat wrote: ↑2021-09-14 15:36 deb http://security.debian.org/debian-security bullseye-security main
craigevil wrote: ↑2021-09-14 15:47 deb https://deb.debian.org/debian-security bullseye-security main contrib non-free
I presume OP doesn't need to say potato and potahto?Ella Fitzgerald & Louis Armstrong wrote: You say either and I say either,
You say neither and I say neither
Either, either neither, neither
Let's call the whole thing off.
You like potato and I like potahto
You like tomato and I like tomahto
Potato, potahto, tomato, tomahto.
Let's call the whole thing off
Even Debian.org pages are not consistent about which one to use:fch wrote: ↑2021-09-14 15:07 deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-f>
deb http://security.debian.org/ bullseye-security contrib non-free main
https://www.debian.org/releases/stable/errata
https://wiki.debian.org/SourcesList
Re: sources.list
Thank you person! That's what I wanted - the default souces, I was confused reading the debian wiki.sunrat wrote: ↑2021-09-14 15:36 sources.list.d is empty unless you add extra repos to it. This is the default sources except deb-src lines are commented out, not needed unless you compile stuff.Code: Select all
deb http://deb.debian.org/debian/ bullseye main contrib non-free # deb-src http://deb.debian.org/debian/ bullseye main deb http://security.debian.org/debian-security bullseye-security main # deb-src http://security.debian.org/debian-security bullseye-security main deb http://deb.debian.org/debian bullseye-updates main contrib non-free
- FreewheelinFrank
- Global Moderator
- Posts: 2065
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 221 times
Re: sources.list
What, the one with the example sources list?fch wrote: ↑2021-09-14 18:35Thank you person! That's what I wanted - the default souces, I was confused reading the debian wiki.sunrat wrote: ↑2021-09-14 15:36 sources.list.d is empty unless you add extra repos to it. This is the default sources except deb-src lines are commented out, not needed unless you compile stuff.Code: Select all
deb http://deb.debian.org/debian/ bullseye main contrib non-free # deb-src http://deb.debian.org/debian/ bullseye main deb http://security.debian.org/debian-security bullseye-security main # deb-src http://security.debian.org/debian-security bullseye-security main deb http://deb.debian.org/debian bullseye-updates main contrib non-free
https://wiki.debian.org/SourcesList
Re: sources.list
I am confuse, the one from the example, desactivated the security updates (bullsaye-security) under updates in Software & UpdatesFreewheelinFrank wrote: ↑2021-09-14 21:32What, the one with the example sources list?fch wrote: ↑2021-09-14 18:35Thank you person! That's what I wanted - the default souces, I was confused reading the debian wiki.sunrat wrote: ↑2021-09-14 15:36 sources.list.d is empty unless you add extra repos to it. This is the default sources except deb-src lines are commented out, not needed unless you compile stuff.Code: Select all
deb http://deb.debian.org/debian/ bullseye main contrib non-free # deb-src http://deb.debian.org/debian/ bullseye main deb http://security.debian.org/debian-security bullseye-security main # deb-src http://security.debian.org/debian-security bullseye-security main deb http://deb.debian.org/debian bullseye-updates main contrib non-free
https://wiki.debian.org/SourcesList
- FreewheelinFrank
- Global Moderator
- Posts: 2065
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 221 times
Re: sources.list
You have two sources of security updates - I don't know if this is going to cause problems.
One is also truncated (unless this was a cut and paste error):
I would suggest going with this one, as it is the source recommended at https://www.debian.org/security/
I have no idea why Debian.org and very knowledgable forum members are recommending two different sources for security updates, but I suspect having both in sources.list might cause problems.
One is also truncated (unless this was a cut and paste error):
Code: Select all
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-f>
Code: Select all
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
- sunrat
- Administrator
- Posts: 6383
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 115 times
- Been thanked: 456 times
Re: sources.list
I don't understand what you mean. Please explain better.fch wrote: ↑2021-09-15 05:59I am confuse, the one from the example, desactivated the security updates (bullsaye-security) under updates in Software & UpdatesFreewheelinFrank wrote: ↑2021-09-14 21:32What, the one with the example sources list?
https://wiki.debian.org/SourcesList
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: sources.list
Sunrat,
From your example my system is like it was on a fresh install(my n00b brain tells me it's better), but from the Debian wiki it disables the the security updates (bullseye-security) under updates in "Software & Updates".
From your example my system is like it was on a fresh install(my n00b brain tells me it's better), but from the Debian wiki it disables the the security updates (bullseye-security) under updates in "Software & Updates".
- FreewheelinFrank
- Global Moderator
- Posts: 2065
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 221 times
Re: sources.list
What does
say?
If APT is successfully checking one security source it should say:
If you enable two security sources it will check both:
Code: Select all
# apt-get update
If APT is successfully checking one security source it should say:
Code: Select all
root@Toshiba-laptop:~# apt-get update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Reading package lists... Done
Code: Select all
root@Toshiba-laptop:~# apt-get update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [36.8 kB]
Get:3 http://deb.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [31.1 kB]
Get:5 http://deb.debian.org/debian-security bullseye-security/main Translation-en [16.8 kB]
Hit:6 http://security.debian.org/debian-security bullseye-security InRelease
Fetched 129 kB in 31s (4,168 B/s)
Reading package lists... Done
- sunrat
- Administrator
- Posts: 6383
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 115 times
- Been thanked: 456 times
Re: sources.list
Sorry, I don't know what "Software & Updates" is. Maybe a Gnome thing? I don't use Gnome. In Synaptic one can look in "Settings > Repositories".
Do you have inxi installed? Very handy hardware info utility. Install it and show us
Code: Select all
inxi -r
Code: Select all
apt policy
Code: Select all
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
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
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: sources.list
apt update says:FreewheelinFrank wrote: ↑2021-09-15 09:15 What does
say?Code: Select all
# apt-get update
If APT is successfully checking one security source it should say:
If you enable two security sources it will check both:Code: Select all
root@Toshiba-laptop:~# apt-get update Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian bullseye-updates InRelease Hit:3 http://security.debian.org/debian-security bullseye-security InRelease Reading package lists... Done
Code: Select all
root@Toshiba-laptop:~# apt-get update Hit:1 http://deb.debian.org/debian bullseye InRelease Get:2 http://deb.debian.org/debian bullseye-updates InRelease [36.8 kB] Get:3 http://deb.debian.org/debian-security bullseye-security InRelease [44.1 kB] Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [31.1 kB] Get:5 http://deb.debian.org/debian-security bullseye-security/main Translation-en [16.8 kB] Hit:6 http://security.debian.org/debian-security bullseye-security InRelease Fetched 129 kB in 31s (4,168 B/s) Reading package lists... Done
trovato=found
Trovato:1 http://security.debian.org bullseye-security InRelease
Trovato:2 http://deb.debian.org/debian bullseye InRelease
Trovato:3 http://deb.debian.org/debian-security bullseye-security InRelease
Trovato:4 http://deb.debian.org/debian bullseye-updates InRelease
Re: sources.list
Sorry, yes it's a gnome thing, is the same as going to Synaptic then "settings>repositories", with apt policy I get:sunrat wrote: ↑2021-09-15 09:24Sorry, I don't know what "Software & Updates" is. Maybe a Gnome thing? I don't use Gnome. In Synaptic one can look in "Settings > Repositories".
Do you have inxi installed? Very handy hardware info utility. Install it and show usOtherwise the default apt can show repos:-Code: Select all
inxi -r
The sources example in the wiki has security enabled:Code: Select all
apt policy
In the one I posted, the deb-src lines are commented out as I don't compile software from the repo, and non-free is removed from security as the security team don't generally do non-free. What Frank just posted above while I was writing will also show repo info.Code: Select all
deb http://deb.debian.org/debian bullseye main contrib non-free deb-src http://deb.debian.org/debian bullseye main contrib non-free deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free 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
100 /var/lib/dpkg/status
release a=now
500 http://security.debian.org bullseye-security/main amd64 Packages
release v=11,o=Debian,a=stable-security,n=bullseye-security,l=Debian-Security,c=main,b=amd64
origin security.debian.org
500 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages
release v=11,o=Debian,a=stable-security,n=bullseye-security,l=Debian-Security,c=main,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bullseye/non-free amd64 Packages
release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bullseye/contrib amd64 Packages
release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=contrib,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bullseye/main amd64 Packages
release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=main,b=amd64
origin deb.debian.org
inxi -r gives me:
Repos:
Active apt repos in: /etc/apt/sources.list
1: deb http://deb.debian.org/debian bullseye main contrib non-free
2: deb-src http://deb.debian.org/debian bullseye main contrib non-free
3: deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
4: deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
5: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
6: deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
7: deb http://security.debian.org/ bullseye-security non-free contrib main
Re: sources.list
Help me understand something about a repo like this bellow:
deb http://deb.debian.org/debian bullseye main contrib non-free
The fact that it is "non-free" does it mean it is exclusively "non-free", or the fact that its written "main" and "contrib" those other two are included too?
deb http://deb.debian.org/debian bullseye main contrib non-free
The fact that it is "non-free" does it mean it is exclusively "non-free", or the fact that its written "main" and "contrib" those other two are included too?
- FreewheelinFrank
- Global Moderator
- Posts: 2065
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 221 times
Re: sources.list
1 and 3 are the same thing, but a different source, so choose one and disable the other, or you will be wasting time and resources, both yours and the Debian server's.fch wrote: ↑2021-09-15 10:31
apt update says:
trovato=found
Trovato:1 http://security.debian.org bullseye-security InRelease
Trovato:2 http://deb.debian.org/debian bullseye InRelease
Trovato:3 http://deb.debian.org/debian-security bullseye-security InRelease
Trovato:4 http://deb.debian.org/debian bullseye-updates InRelease
The security repository source should have no effect on automatic updates. That is an unattended-upgrades thing.
Post contents of
Code: Select all
/etc/apt/apt.conf.d/20auto-upgrades
- FreewheelinFrank
- Global Moderator
- Posts: 2065
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 221 times
Re: sources.list
Contrib is an addition to the main repository and non-free is an addition to main and contrib. Only the ones you specify are included.fch wrote: ↑2021-09-15 10:38 Help me understand something about a repo like this bellow:
deb http://deb.debian.org/debian bullseye main contrib non-free
The fact that it is "non-free" does it mean it is exclusively "non-free", or the fact that its written "main" and "contrib" those other two are included too?
https://wiki.debian.org/it/SourcesList#Componenti
- sunrat
- Administrator
- Posts: 6383
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 115 times
- Been thanked: 456 times
Re: sources.list
Quick search found this nice explanation - https://unix.stackexchange.com/question ... positories
I see your deb-src repos are still active. If you comment them out as in my suggestion above, your apt updates will go faster.
The correct security repo for Bullseye is http://security.debian.org - https://wiki.debian.org/NewInBullseye . Remove the other one. How did you manage to have both active? Seems you added everything posted above. Considering that "NewInBullseye" wiki link, that example sources in the wiki is incorrect (I'd guess it works and may even do so until Bookworm) but you definitely don't need both.
I see your deb-src repos are still active. If you comment them out as in my suggestion above, your apt updates will go faster.
The correct security repo for Bullseye is http://security.debian.org - https://wiki.debian.org/NewInBullseye . Remove the other one. How did you manage to have both active? Seems you added everything posted above. Considering that "NewInBullseye" wiki link, that example sources in the wiki is incorrect (I'd guess it works and may even do so until Bookworm) but you definitely don't need both.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: sources.list
GNU nano 5.4 /etc/apt/apt.conf.d/20auto-upgradesFreewheelinFrank wrote: ↑2021-09-15 12:391 and 3 are the same thing, but a different source, so choose one and disable the other, or you will be wasting time and resources, both yours and the Debian server's.fch wrote: ↑2021-09-15 10:31
apt update says:
trovato=found
Trovato:1 http://security.debian.org bullseye-security InRelease
Trovato:2 http://deb.debian.org/debian bullseye InRelease
Trovato:3 http://deb.debian.org/debian-security bullseye-security InRelease
Trovato:4 http://deb.debian.org/debian bullseye-updates InRelease
The security repository source should have no effect on automatic updates. That is an unattended-upgrades thing.
Post contents of
Code: Select all
/etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
Re: sources.list
To have both active I activated the security updates (bullseye-security) under updates in "Software & Updates", in the gnome GUI software, because after adding it manually with sudo nano, it gets unchecked in the gnome repository GUI.sunrat wrote: ↑2021-09-15 12:54 Quick search found this nice explanation - https://unix.stackexchange.com/question ... positories
I see your deb-src repos are still active. If you comment them out as in my suggestion above, your apt updates will go faster.
The correct security repo for Bullseye is http://security.debian.org - https://wiki.debian.org/NewInBullseye . Remove the other one. How did you manage to have both active? Seems you added everything posted above. Considering that "NewInBullseye" wiki link, that example sources in the wiki is incorrect (I'd guess it works and may even do so until Bookworm) but you definitely don't need both.