Can't upgrade to 24.04 from 22.04

Ubuntu Version:
22.04 LTS

Desktop Environment (if applicable):
GNOME

Problem Description:
Trying to upgrade via software upgrade by accepting system’s prompt

Relevant System Information:
Everything worked well in 22.04 until about a month ago. Then update reported (in Swedish):

 Läser tillståndsinformation… Färdig
2 paket kan uppgraderas. Kör ”apt list --upgradable” för att se dem.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://apt.svtplay-dl.se svtplay-dl InRelease: Följande signaturer kunde inte verifieras för att den öppna nyckeln inte är tillgänglig: NO_PUBKEY D3D19C99F5FA3AA7
W: Misslyckades med att hämta https://apt.svtplay-dl.se/dists/svtplay-dl/InRelease  Följande signaturer kunde inte verifieras för att den öppna nyckeln inte är tillgänglig: NO_PUBKEY D3D19C99F5FA3AA7
W: Vissa indexfiler kunde inte hämtas. De har ignorerats eller så har de gamla använts istället.  -->

Screenshots or Error Messages:
When I try to upgrade til 24.04 I got this popup:
Clean popup with black background and the name “Version”

What I’ve Tried:

Updatet the svtplay_dl from a source build - successful; however I got the same warnings as before when I then try to update the system


Similar issues?
Found nothing here

1 Like

Your output says that the problem isn’t the svtplay-dl software (that’s why rebuilding didn’t help). The problem is with the upstream repository you added.

The repository problem is preventing your release-upgrade.

  • Most users who want to use svtplay-dl don’t need to do all the complex steps of adding a non-Ubuntu repository. It’s already available in the Ubuntu repositories and App Center.

If you wish to continue using the upstream repository, go back to their instructions at https://apt.svtplay-dl.se/

  • Review Step 1 on that page (# Add the release PGP keys) to ensure your system has the correct key. If not, reinstall the key.

If you wish to stop using the upstream repository and simply use the Ubuntu repository package, then:

  1. Uninstall the upstream package
  2. Remove the repository from your apt sources
  3. Install the Ubuntu package from Ubuntu Software/App Center.

Thanks for your quick response, ian-weisser!
I think I expressed myself unclearly in my problem presentation. The primary problem is that I cannot upgrade Ubuntu 22.04 LTS to 24.04 LTS. Well, it seems so.
Possibly the warnings during a regular Update may give some clue to the reason, and that’s why I reported this about svtplay-dl. It should be mentioned that I ran a virus scan with clamscan on the system without any viruses being found (which was expected).

Understood. But you did not show us any release-upgrade failure errors. You showed us an apt warning about the svtplay-dl repository.

Perhaps fixing the repository problem will fix your release-upgrade. Perhaps not. But you should fix the repository problem anyway.

That’s important. A release-upgrade cannot proceed until that number is zero.

Since those packages can be upgraded, do so using the normal sudo apt upgrade. Report any errors.

Thanks for your reply ! In fact I had tried to fix this release-upgrade failure; have tried to purge svtplay-dl but got the answer that it isn’t installed. But I go on trying to fix it during the weekend. I be back after a day or two.
Best Regards /larsot

There is a difference between:

  • A software package (NOT problem)
  • The repository that package comes from. (This is problem)

Delete the svtplay-dl repository.

The easy way is to use your Software & Updates application (Not Software Center. Not Software Updater. Those are different).

Find Software & Updates using your Desktop Search:

image

Thanks for your answer. Upgrade problem is solved. I simply renamed the svtplay-dl entry in directory /etc/apt/sources.list.d to an un-guilty name (and later deleted it) and then the normal sudo apt update worked well without errors or warnings. And that made it possible to upgrade the version to 24.02 LTS quite normally. Thank you for your kind guidelines !

I simply renamed the svtplay-dl entry in directory /etc/apt/sources.list.d to an un-guilty name (and later deleted it)

You could have also found that entry for svtplay-dl in the sources.list file and simply commented it out by putting a # at the beginning of the line in that file. Just another option.