[+] Debian 11 , problem z repozytoriami

Pomoc dotycząca instalacji systemu
ww71
Beginner
Posty: 435
Rejestracja: 04 grudnia 2008, 11:44
Lokalizacja: lubelskie

[+] Debian 11 , problem z repozytoriami

Post autor: ww71 »

Witam.
Przy próbie aktualizacji do Debian 11 z 10.10 po wpisaniu repo:

Kod: Zaznacz cały

deb http://ftp.pl.debian.org/debian/ bullseye-backports main contrib non-free

# Bullseye 
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/updates main contrib non-fr$
#deb-src http://deb.debian.org/debian-security/ bullseye/updates main contrib n$

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/code]
[code]
 [code]

Wyskakuje błąd:

Kod: Zaznacz cały

# apt-get update && apt-get dist-upgrade
Stary:1 http://ftp.pl.debian.org/debian bullseye-backports InRelease
Stary:2 http://dl.google.com/linux/chrome/deb stable InRelease                 
Stary:3 https://deb.opera.com/opera-stable stable InRelease                    
Stary:4 http://deb.debian.org/debian bullseye InRelease                        
Ign:5 http://deb.debian.org/debian-security bullseye/updates InRelease       
Stary:6 http://deb.debian.org/debian bullseye-updates InRelease
Pobieranie:7 https://repo.skype.com/deb stable InRelease [4 502 B]
Błąd:8 http://deb.debian.org/debian-security bullseye/updates Release
  404  Not Found [IP: 199.232.138.132 80]
Błąd:7 https://repo.skype.com/deb stable InRelease
  Następujące podpisy były błędne: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <se-um@microsoft.com>
Czytanie list pakietów... Gotowe
E: The repository 'http://deb.debian.org/debian-security bullseye/updates 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: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.skype.com/deb stable InRelease: Następujące podpisy były błędne: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <se-um@microsoft.com>
Repozytoria wziąłem z :
viewtopic.php?f=5&t=34652&p=193151&hili ... ye#p193151
Proszę o wskazówki co zrobić.
Ostatnio zmieniony 17 sierpnia 2021, 11:34 przez ww71, łącznie zmieniany 1 raz.
Awatar użytkownika
LordRuthwen
Moderator
Posty: 2302
Rejestracja: 18 września 2009, 21:45
Lokalizacja: klikash?

Re: Debian 11 , problem z repozytoriami

Post autor: LordRuthwen »

A zrobiłeś wcześniej aktualizację pakietów obecnej dystrybucji?
ww71
Beginner
Posty: 435
Rejestracja: 04 grudnia 2008, 11:44
Lokalizacja: lubelskie

Re: Debian 11 , problem z repozytoriami

Post autor: ww71 »

Chodzi o Debian 10.10? Jeśli tak, to tak. Później wpisałem nowe repo.
hephalump
Posty: 7
Rejestracja: 22 listopada 2020, 16:11

Re: Debian 11 , problem z repozytoriami

Post autor: hephalump »

Zmień wpis odnośnie debian-security
Ta linijka ma wyglądać tak:

Kod: Zaznacz cały

deb http://security.debian.org/debian-security bullseye-security main contrib non-free

deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
Tu wpis buster/updates został zastąpiony wpisem bullseye-security.
hephalump
Posty: 7
Rejestracja: 22 listopada 2020, 16:11

Re: Debian 11 , problem z repozytoriami

Post autor: hephalump »

A tak przy okazji to zaktualizuj też sobie klucz do repo Skype bo jak widać ten też masz nieaktualny.
ww71
Beginner
Posty: 435
Rejestracja: 04 grudnia 2008, 11:44
Lokalizacja: lubelskie

Re: Debian 11 , problem z repozytoriami

Post autor: ww71 »

Dzięki. Pobiera ale później bądź jutro zaktualizuję do Debian 11. Mam nadzieję, że będzie dobrze. Pozdrawiam :)
fnmirk
Senior Member
Posty: 8273
Rejestracja: 03 grudnia 2007, 06:37

Re: Debian 11 , problem z repozytoriami

Post autor: fnmirk »

hephalump pisze:Zmień wpis odnośnie debian-security
A możesz uzasadnić w jakim celu ma dodawać stary wpis do poprawek bezpieczeńtwa? W dodatku bez https? Skoro ma już dostęp do poprawek bezpieczeństwa.

Jak nie wiesz, to Cię pocieszę sam tego nie wiedziałem do niedawna.
hephalump
Posty: 7
Rejestracja: 22 listopada 2020, 16:11

Re: Debian 11 , problem z repozytoriami

Post autor: hephalump »

Ja też tego sam nie wymyśliłem.
https://www.debian.org/security/
fnmirk
Senior Member
Posty: 8273
Rejestracja: 03 grudnia 2007, 06:37

Re: Debian 11 , problem z repozytoriami

Post autor: fnmirk »

Też użyłbym na Twoim miejscu tego argumentu. Ale jakiś czas temu zostały zmienione adresy i obecnie oficjalne repozytoria Debiana rozpoczynają się od:

Kod: Zaznacz cały

deb https://deb.debian.org...
(jest o tym gdzieś napisane na forum).
Porównaj dokąd prowadzą adresy:
https://security.debian.org/debian-security
https://deb.debian.org/debian-security
Czyli wpis jaki podałeś dubluje ten dostępny w systemie.

Poradniki napisane w pewnym okresie, nowi użytkownicy przeglądają bezkrytycznie, a starzy użytkownicy do oczywistych (dla nich) informacji rzadko zaglądają. Łatwiej założyć na forum temat niż poprawić poradnik na wiki Debiana.

W sumie, Debian w wersji stabilnej wymaga tylko takich adresów:

Kod: Zaznacz cały

deb https://deb.debian.org/debian/ bullseye main
deb https://deb.debian.org/debian-security bullseye/updates main 
albo

Kod: Zaznacz cały

deb https://deb.debian.org/debian/ stable main 
deb https://deb.debian.org/debian-security stable/updates main
hephalump
Posty: 7
Rejestracja: 22 listopada 2020, 16:11

Re: Debian 11 , problem z repozytoriami

Post autor: hephalump »

Właściwie powinienem się z powołać na to:
https://www.debian.org/releases/bullsey ... ty-archive
5.1.3. Changed security archive layout
For bullseye, the security suite is now named bullseye-security instead of codename/updates and users should adapt their APT source-list files accordingly when upgrading.

The security line in your APT configuration may look like:

deb https://deb.debian.org/debian-security bullseye-security main contrib
If your APT configuration also involves pinning or APT::Default-Release, it is likely to require adjustments as the codename of the security archive no longer matches that of the regular archive. An example of a working APT::Default-Release line for bullseye looks like:

APT::Default-Release "/^bullseye(|-security|-updates)$/";
which takes advantage of the undocumented feature of APT that it supports regular expressions (inside /).
Tak widzę widzę, że i ja trochę się to pospieszyłem.
Zablokowany