#Cannot use update manager due to broken packages

14 messages · Page 1 of 1 (latest)

green oriole
#

Just installed Linux Mint 2 weeks ago, not very good at this so I apologize.

Started with trying to install Davinci resolve, failed because of issues with dependencies. Ran through a number of solutions including this script which still failed. https://github.com/sma-abyar/DaVinci-Resolve-Ubuntu-24-Dependency-InstallerNow
The dependencies are stopping update manager from installing the new updates.

Error notes that 11 packages are broken and need to be removed

First attempted some guides in the forum to clear it out but they seem to not be removed properly and still show up (2nd picture). all 11 seem to be listed but I can't remove them.

Tried to use $sudo aptitude as noted in the forum post, but still the packages cannot be removed (first picture)

tender dune
#

open synaptic, check the package menu or poke around, I'm pretty sure there's a 'fix broken packages' item u can click

green oriole
#

if I understand correctly, the script put fake names on the correct dependencies for the resolve installer to match them properly

but now the aptitude is confused and cant remove packages because the inside is different from the label

(my best guess on how I broke things)

green oriole
tender dune
#

i said look for the "fix broken packages" command in there somwhere

#

if it still doesnt work after, then idk

green oriole
#

yup, this is the part of the page for "fix broken packages" this error pops up when I commit the changes using "apply" on the upper left

#

synaptic error when refreshing

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

teal oriole
#

Try this command to force override libpango package

sudo dpkg -i --force-overwrite /var/cache/apt/archives/libpango-1.0-0_1.52.1+ds-1build1_amd64.deb

And try sudo apt --fix-broken install again

repeat the first command if other packages give the same error

green oriole
#

finally solved it by just manually deleting the packages involved and asked synaptic to repair from there

#

took a long time of going through and figuring out where all 11 are and multiple repair cycles but I think it is clean now