I'm trying to upgrade from 18.04 to 20.10. My understanding is that I first need to update to 20.04 and then to 20.10. I'm following the instructions on this page.
When I run sudo apt upgrade
I get this message:
The following packages have been kept back:
frei0r-plugins libssh-4
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
I have no idea why these are being held back. I vaguely recall installing the first package but don't know what I installed that needed the second package.
When I run sudo apt dist-upgrade
I get the same exact message.
When I then proceed to sudo apt do-release-upgrade
I get this error:
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
Ok, I guess this has something to do with the kept back packages? I read one place that I could unmark them as held, but this doesn't work:
$ sudo apt-mark unhold frei0r-plugins libssh-4
frei0r-plugins was already not hold.
libssh-4 was already not hold.
In another place I read that sudo aptitude safe-upgrade
might fix the problem. It installs a few i386 packages but afterwards I still get the same messages/errors as before when I try to upgrade.
I also read that I should run apt list --upgradable
and that sudo apt-get install
each package listed individually. But when I try that I get this error:
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:
frei0r-plugins : Depends: libopencv-objdetect4.2 but it is not going to be installed
Depends: libopencv-video4.2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Additionally, when I try to install the second dependency, I says it's going to REMOVE four remmina packages, which I don't want as I use this program quite frequently!