Zmiany pomiędzy wersją 4 and wersją 5 dla AdminGuide/UpgradeDebian11to12

Pokaż
Ignoruj:
Data i czas:
10/09/23 14:13:57 (9 months temu)
Autor:
jpo (IP: 83.144.106.170)
Komentarz:

--

Legend:

Bez zmian
Dodane
Usunięte
Zmienione
  • AdminGuide/UpgradeDebian11to12

    v4 v5  
    9191}}} 
    9292 
     93===Pojawiające się problemy=== 
     94Po aktualizacji może pojawić się komunikat: 
     95{{{ 
     96W: https://packages.sury.org/php/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. 
     97}}} 
     98 
     99Wyświetlamy listę kluczy: 
     100{{{ 
     101sudo apt-key list 
     102Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). 
     103/etc/apt/trusted.gpg 
     104-------------------- 
     105pub   rsa3072 2019-03-18 [SC] [wygasa: 2024-02-16] 
     106      1505 8500 A023 5D97 F5D1  0063 B188 E2B6 95BD 4743 
     107uid    [    nieznane   ] DEB.SURY.ORG Automatic Signing Key <deb@sury.org> 
     108sub   rsa3072 2019-03-18 [E] [wygasa: 2024-02-16] 
     109}}} 
     110 
     111Następnie usuwamy klucz 
     112{{{ 
     113sudo apt-key del 95BD4743 
     114}}} 
     115 
     116I ponownie dodajemy klucz z PHP 
     117{{{ 
     118apt -y install apt-transport-https lsb-release ca-certificates curl wget gnupg2 
     119 
     120wget -qO- https://packages.sury.org/php/apt.gpg | \ 
     121gpg --dearmor > /etc/apt/trusted.gpg.d/sury-php-x.x.gpg 
     122}}} 
    93123 
    94124{{{