Ubuntu 19.10 upgrade to 20.04 (Please install all available updates for your release before upgrading.)
Solution 1:
You are not fully upgraded. To fix that held-back package, you can try these methods: First, run the command
sudo apt-get --with-new-pkgs upgrade
And it should install the held-back packages. It is safe, and usually does the trick. If that doesn't work, see the list of held packages with:
sudo apt-mark showhold
And then you can unhold that package with:
sudo apt-mark unhold <package-name>
And then install:
sudo apt-get install -y <package>
Another way is to use aptitude
. The command to use would be:
sudo aptitude safe-upgrade
safe-upgrade
because it won't remove packages unless they're unused.
You can also run the dist-upgrade
, which will force-install packages and dependencies, but be careful with that. Sometimes it may remove packages to resolve dependency problems, which could make things even worse. So please, try the methods above before resorting to dist-upgrade
.
Best of luck!