Zorin 18 Upgrade Fails, error-dep-resolution-failed

I am not able to successfully run the Zorin 18 upgrader from 17.3. I have followed the steps to show the upgrade option but get the following error upon trying to upgrade:
[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.aptkit.TransactionFailed: error-dep-resolution-failed: The following packages have unmet dependencies:

libvtk9-dev: Depends: libexpat-dev but it is a virtual package
Depends: libvtk9.1t64 (= 9.1.0+really9.1.0+dfsg2-7.1build3) but 9.1.0+really9.1.0+dfsg2-7.1build3 is to be installed
Depends: libvtk9-java (= 9.1.0+really9.1.0+dfsg2-7.1build3) but 9.1.0+really9.1.0+dfsg2-7.1build3 is to be installed
Depends: python3-vtk9 (= 9.1.0+really9.1.0+dfsg2-7.1build3) but 9.1.0+really9.1.0+dfsg2-7.1build3 is to be installed
Depends: vtk9 (= 9.1.0+really9.1.0+dfsg2-7.1build3) but 9.1.0+really9.1.0+dfsg2-7.1build3 is to be installed
}
[CHECKING:Simulating Apt Transaction] Failed
[CHECKING] Failed
[CHECKING:Restoring System] Started
[CHECKING:Restoring System] Completed

If you have added third-party repositories or ppas to your software sources, please disable or remove them.

1 Like

You can also check what software you installed that depends on that package to narrow it down:

apt-cache rdepends --installed libexpat-dev

1 Like

Responds with libexpat-dev

I have no additional repositories that I am aware of.

In that case, it is orphaned.

sudo apt remove libvtk9-dev vtk9 python3-vtk9 libvtk9-java

sudo apt clean && sudo apt autoremove

sudo apt update && sudo apt full-upgrade

Then test the Zorin Upgrader tool

2 Likes

Looks like everything is working, thanks.

2 Likes