Orange Pi - The following packages have been kept back on Ubuntu

Have you ever face this issue? this is a precaution to prevent of the server being break.

How to deal with it? Fortunately, it is simple. We can use tool of aptitude to upgrade what's being kept back.

First we need to install it if you don't have it already:

sudo apt-get install aptitude -y

then we can upgrade them by this command:

sudo aptitude safe-upgrade

Voila, we have upgrade them.

or, alternatively if you don't want to install new package, you can reinstall the packages by running:

sudo apt install <kept-reverted-package>