Problem upgrading from Zorin OS Core 16 to 17

When checking the upgrade to zorin os 17, I got an error message with this:
"[CHECKING:Simulating Apt Transaction] Fatal Error: { GDBus.Error:org.debian.apt.TransactionFailed: error-no-package: Package zorin-os-16-to-17-upgrade isn't available }"

This is the log:

[CHECKING] Started
[CHECKING:Validating Upgrade Attempt] Started
[CHECKING:Validating Upgrade Attempt] Completed
[CHECKING:Checking Filesystem] Started
[CHECKING:Checking Filesystem] Completed
[CHECKING:Restarting Apt] Started
[CHECKING:Restarting Apt] Completed
[CHECKING:Simulating Flatpak Transaction] Started
[CHECKING:Simulating Flatpak Transaction] Completed
[CHECKING:Processing Apt Repos] Started
[CHECKING:Processing Apt Repos] Completed
[CHECKING:Updating Apt Repos] Started
[CHECKING:Updating Apt Repos] Completed
[CHECKING:Calculating Upgradeable Packages] Started
[CHECKING:Calculating Upgradeable Packages] Completed
[CHECKING:Simulating Apt Transaction] Started
[CHECKING:Simulating Apt Transaction] Fatal Error: { GDBus.Error:org.debian.apt.TransactionFailed: error-no-package: Package zorin-os-16-to-17-upgrade isn't available }
[CHECKING:Simulating Apt Transaction] Failed
[CHECKING] Failed
[CHECKING:Restoring System] Started
[CHECKING:Restoring System] Completed

Could you try to run an update manually from the terminal:

sudo apt update && sudo apt upgrade

And try again?

Yes I have manually updated and upgraded via apt then checked the upgrade, but it still return the same error. I also tried install ā€œzorin-os-16-to-17-upgradeā€ via apt but thereā€™s no this package in the repository

Do you get this error before seeing this screen, or after you've clicked on one of these options to upgrade?

sc1

I have clicked on the Upgrade button and the error was shown after a few minutes of checking.

Do you have in the Update Settings choose Main Server or a Regional Server? If You have choose a Regional Server You could change it to Main Server and then make sudo apt update && sudo apt upgrade and then look if works.

2 Likes

Can you please open terminal and run:

sudo apt --fix-broken install

Check if any packages are held:

apt-mark showhold

Review if you have installed any repositories that require a GPG key.
For example, some browsers require you to use curl in their instructions to obtain a key. Wine does this, as well.

In Software & Updates, under "Download from" - switch to Main Server.
Once done, close Software & Updates and allow it to refresh. In terminal run

sudo apt update && sudo apt full-upgrade

Then test the Zorin Upgrader...

1 Like

Thanks, I tried this and no package is held. But the upgrader showed the same error.

I noticed apt said there is 1 package can't be upgraded, it's xdg-desktop-portal, so I tried to remove it, but it said some gnome extensions and the zorin sessions will be removed at the same time, so I can't do it. There's no other error returned by apt. Am I missed some repositories in the sources.list.d directory so I can't find the package zorin-os-16-to-17-upgrade?

Thanks again.

Run (Try this first)

sudo apt install xdg-desktop-portal

Or

sudo apt install --reinstall xdg-desktop-portal

Oh... It now works, it seems like I used a proxy for the ppa server cause I can't reach launchpad site in China. Now it works but the upgrader said it will remove some third-party ppa repositories but it's okay I can add them back after the upgrade.
Thanks very much.

Edit: After changing back the ppa URLs to ppa.launchpad.net, the simulated .list file changed from "focal" to "jammy" correctly. It seems that the upgrader used a replace command to change focal to jammy but it considered other content before the word "focal" so it didn't replace my proxied url proxy.ustclug.org (I used this replaced the default ppa url because I can't reach launchpad in China). Upgrader can use some other replace commands only change the word "focal" to "jammy" or just put the package build "zorin-os-16-to-17-upgrade" into the ppa repository of the focal version. Thanks.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.