Я хочу выполнить обновление с Ubuntu 20.10 до 21.04.
При первой попытке я получал сообщение об ошибке:
W: GPG error: http://ddebs.ubuntu.com groovy Release: The following signatures were invalid: EXPKEYSIG C8CAB6595FDFF622 Ubuntu Debug Symbol Archive Automatic Signing Key (2016) <ubuntu-archive@lists.ubuntu.com>
E: The repository 'http://ddebs.ubuntu.com groovy Release' is not signed.
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: http://ddebs.ubuntu.com groovy-updates Release: The following signatures were invalid: EXPKEYSIG C8CAB6595FDFF622 Ubuntu Debug Symbol Archive Automatic Signing Key (2016) <ubuntu-archive@lists.ubuntu.com>
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ddebs.ubuntu.com groovy-proposed Release: The following signatures were invalid: EXPKEYSIG C8CAB6595FDFF622 Ubuntu Debug Symbol Archive Automatic Signing Key (2016) <ubuntu-archive@lists.ubuntu.com>
Похоже, что срок действия ключа истек. (Пожатие плечами)
Я исправил это, выполнив следующие действия:
sudo apt install --reinstall ubuntu-dbgsym-keyring
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F2EDC64DC5AEE1F6B9C621F0C8CAB6595FDFF622
sudo apt-get update
Но он избавился только от этой части.
Когда я пытаюсь выполнить sudo dist-upgrade
, это происходит:
sudo apt dist-upgrade
[sudo] password for me:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
dh-python
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.
Я не понимаю, почему он не обновляется до 21.04
Пожалуйста, кто-нибудь. Спасибо заранее, авансом.
Вы используете неправильную команду.
Вы должны выполнить команду sudo do-release-upgrade
.
apt dist-upgrade
- это совсем другое.
См .: Что такое «dist-upgrade» и почему он обновляет больше, чем «upgrade»?