Score:2

I don't understand why I can't update/grade from 20.10 to 21.04

cn flag

I am wanting to update from Ubuntu 20.10 to 21.04.

When I first tried I was getting an error:

W: GPG error: http://ddebs.ubuntu.com groovy Release: The following signatures were invalid: EXPKEYSIG C8CAB6595FDFF622 Ubuntu Debug Symbol Archive Automatic Signing Key (2016) <[email protected]>
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) <[email protected]>
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) <[email protected]>

Which seems that the key has expired. (Shrug)

I fixed it by doing this:

sudo apt install --reinstall ubuntu-dbgsym-keyring

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F2EDC64DC5AEE1F6B9C621F0C8CAB6595FDFF622

sudo apt-get update

But it only got rid of that part.

When I try to sudo dist-upgrade this happens:

 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.

So I don't understand why it isn't updating to 21.04

Please, someone. Thanks in advance.

Recently Updated Ubuntu user avatar
cn flag
Again I am not understanding the mechanics of posting questions and follow up posts on/in this forum. I **DID** click the Up arrow as you said. We had maybe better leave things as they are now or we will only be further making things confusing.
Score:3
ng flag

You're not using the correct command.

The command you should run is sudo do-release-upgrade .

apt dist-upgrade is something entirely different.

See: What is "dist-upgrade" and why does it upgrade more than "upgrade"?

Recently Updated Ubuntu user avatar
cn flag
Ok, very much thanks. But when I do that I am told to update the distro first. I do the `sudo apt update` and it says 1 can be upgradable. When I try to upgrade it: nothing happens, and so I can't get it working.
Recently Updated Ubuntu user avatar
cn flag
Ah! This is the link [link](https://linuxconfig.org/how-to-upgrade-ubuntu-to-21-04) and I got stuck at the `dist-upgrade` part and looked further down and the `do-dist-upgrade` command is there. I just didn't get to that part because of the error.
Nmath avatar
ng flag
Is `dh-python` still the package that is being held back? Can you try `sudo apt-get install --reinstall dh-python`? You also need to make sure that all PPAs and non-official sources are removed.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.