Upgrade a single package using apt

To upgrade only grafana, and only if it is installed use:

apt install --only-upgrade grafana
If you want to upgrade more packages, you don’t have to update them one by one. Just provide the package names with the command mentioned earlier