При обновлении на Debian 11 через команду apt update && apt install --only-upgrade fastpanel2 fastpanel2-nginx fastpanel2-diff fastpanel2-backup -y выдает ошибки вот такого типа
E: The repository ’ bullseye-backports Release’ no longer has 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: bullseye InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: bullseye InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 2FD21310B49F6B46
Делаем следующие шаги:
- идем в /etc/apt/sources.list и там на ходим
bullseye-backports main 2 записи
меняем
в урл deb на archive
-
Добавляем новые ключи gpg
Для MySQL:
gpg --no-default-keyring --keyring /etc/apt/trusted.gpg.d/mysql.gpg --keyserver 185.125.188.26 --recv-keys B7B3B788A8D3785C
Для Nginx
gpg --no-default-keyring --keyring /etc/apt/trusted.gpg.d/nginx.gpg --keyserver 185.125.188.26 --recv-keys 2FD21310B49F6B46 -
Запускаем оновление apt update && apt install --only-upgrade fastpanel2 fastpanel2-nginx fastpanel2-diff fastpanel2-backup -y