Upgrade from Z17.3 to 18 fails

Hi all,

I know it's still in testing but I thought I'd give it a shot anyway.

I click the red button and wait. Wait some more. Then I get the "Sorry, an internal error happened" with a report as follows:

[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] Retrying
[CHECKING:Updating Apt Repos] Retrying
[CHECKING:Updating Apt Repos] Retrying
[CHECKING:Updating Apt Repos] Retrying
[CHECKING:Updating Apt Repos] Retrying
[CHECKING:Updating Apt Repos] Retrying
[CHECKING:Updating Apt Repos] Retrying
[CHECKING:Updating Apt Repos] Retrying
[CHECKING:Updating Apt Repos] Retrying
[CHECKING:Updating Apt Repos] Retrying
[CHECKING:Updating Apt Repos] Fatal Error: { error-repo-download-failed: }
[CHECKING:Updating Apt Repos] Failed
[CHECKING] Failed
[CHECKING:Restoring System] Started
[CHECKING:Restoring System] Error: { error-repo-download-failed: }
[CHECKING:Restoring System] Completed

I've tried this many times over a couple of weeks on my 2012 MacBook Air and an HP EliteDesk and get the same error.

Is it something I'm doing wrong?

Thanks.

Do You have any Third-Party Repos added? If yes, remove them and then try it again.

Not sure what a "repo" is so I don't think so :man_shrugging:

A repo is a repository - and it is entirely possible that following a guide or prompts, that you added some.

You can check with launching terminal and relaying the output of

ls /etc/apt/sources.list.d

cat /etc/apt.sources.list

1 Like

Sources.list.d:
brave-browser-release.list zorinos-ubuntu-drivers-jammy.list
mozilla.list zorinos-ubuntu-patches-jammy.list
zorin.list zorinos-ubuntu-stable-jammy.list
zorinos-ubuntu-apps-jammy.list

apt.sources.list:
cat: /etc/apt.sources.list: No such file or directory

I uninstalled Brave after installing Firefox and I'm assuming the others are stock.

1 Like

Sorry, I had a typo...

cat /etc/apt/sources.list

1 Like

deb Index of /ubuntu jammy main restricted
deb Index of /ubuntu jammy-updates main restricted
deb Index of /ubuntu jammy universe
deb Index of /ubuntu jammy-updates universe
deb Index of /ubuntu jammy multiverse
deb Index of /ubuntu jammy-updates multiverse
deb Index of /ubuntu jammy-backports main restricted universe multiverse
deb Index of /ubuntu jammy-security main restricted
deb Index of /ubuntu jammy-security universe
deb Index of /ubuntu jammy-security multiverse

Apparently nothing more than stock deb commands in there.

Thanks.

Agreed.

But there are two that may cause problems:
brave-browser-release.list zorinos-ubuntu-drivers-jammy.list
mozilla.list zorinos-ubuntu-patches-jammy.list

I would remove those two and try the upgrader then.
Brave can be finicky.

The way I would do this is just move the repository files to a spot where they cannot be seen by the system, in case you want to restore them (Say the upgrader still fails, and you want to continue using your OS and it get all update notifications).

Run Files as admin ("Files" is Nautilus File Manager):

nautilus admin:///

Navigate to /etc/apt/sources.list.d and create a new folder named source.d-back
Drag and drop the Brave and the Mozilla repo into that folder.
In terminal run

sudo apt update && sudo apt upgrade

Then test the Zorin Upgrader tool.
You can later drag and drop them out of that folder and back into parent folder sources.list.d to restore them if the upgrader does not upgrade you to Zorin OS 18.

Superb! I'm now on Z18 - many thanks for your help.

One small wrinkle, though. After the upgrade and re-running nautilus to restore the Mozilla Repo I got this message. Should I be worried?

No, that is software that Nautilus uses to pre-cache your frequently used files in order to speed up loading time.
I think the package name is tracker-miner-fs.

To restore the repo, if you are Now on Zorin OS 18
I recommend Adding the Noble repositories for your Browser. The old ones you moved are for Jammy, not Noble.

Excellent. Thanks again :+1:

1 Like

For the record, that fix worked on my HP EliteDesk machine too. Just the Brave and Mozilla repositories needed removed for the upgrade to proceed normally.

Thanks again.

1 Like