Two Broken Packages Prevent Updates - Bug?

I just used the upgrade tool to upgrade Ubuntu Studio 22.04 to 24.04, standard KDE desktop. The system boots and runs, but is blocking hundreds of updates because two packages are labeled as having unmet dependencies. Unfortunately, the package versions that are installed are the only ones available:

The following packages have unmet dependencies:
libfontconfig1 : Depends: fontconfig-config (>= 2.15.0-1.1ubuntu2)
libfontconfig1:i386 : Depends: fontconfig-config:i386 (>= 2.15.0-1.1ubuntu2)
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).

Running apt --fix-broken install with no packages does nothing. Synaptic shows fontconfig-config 2.15.0-1.1ubuntu2 and fontconfig-config:i386 2.15.0-1.1ubuntu2 as both the installed and latest versions. I have received no response from Ubuntu Forums, but Ubuntu Unity 7.7/24.04 runs fine with these packages. Can someone suggest where I can go from here? Thanks in advance.

first thing i would do is run

sudo apt --fix-broken install

and see if that does anything different.

then i would say you have documented the packages here so you could try removing those two packages and see if that doesn’t free up the other ones.

you try to add them back in after if you think you need them.

ultimately a fresh install of studio 24.04 would be the nuclear option.

Thanks, Skyfish. In the end, I redid the download, calculated and confirmed the checksum, and did a fresh install. That worked.

1 Like

yeah, i’ve been warned off the upgrade process because because of glitches like this… and it’s often faster than trying to trouble shoot.