I'm on 20.04, procrastinating on updating to 22.04 (older system, need to research performance implications first).
I kept getting "partial upgrade" messages, and wanted them to go away, so I just did an apt update + dist-upgrade.
This morning, I noticed a lot of software was missing. Gimp, Kdenlive, even ffmpeg!
When I try to reinstall ffmpeg, I get:
sudo apt-get install ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ffmpeg : Depends: libavcodec58 (= 7:4.4.3-0ubuntu1~20.04.sav3)
Depends: libavdevice58 (= 7:4.4.3-0ubuntu1~20.04.sav3) but it is not going to be installed
Depends: libavfilter7 (= 7:4.4.3-0ubuntu1~20.04.sav3)
Depends: libavformat58 (= 7:4.4.3-0ubuntu1~20.04.sav3)
E: Unable to correct problems, you have held broken packages.
What gives? Why would an update delete things that I was clearly using? I guess dist-upgrade aggressively deletes dependencies that are still in use. Never again with that command haha.
How can I fix this? Do I basically just need to bite the bullet, let it upgrade to 22.04, and then manually reinstall all the software that got Thanos-snapped away from me?
ETA:
If I follow the trail of libraries, I eventually land on:
E: Package 'libilbc3' has no installation candidate