There are new updates for 22.04 and after entering the apt-get upgrade command. I got this:
The following packages have been kept back:
linux-generic linux-generic-hwe-22.04 linux-headers-generic
linux-headers-generic-hwe-22.04 linux-image-generic
linux-image-generic-hwe-22.04 linux-modules-nvidia-510-generic-hwe-22.04
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
I had the exact same packages that were kept back a while back when using 20.04. And solved it either manually doing
apt-get install
or apt-get dist-upgrade
of which i cannot recall which was used. Hence, could somebody let me know which is the "safer" solution or is there a new solution with 22.04?
Update
I went over to the Software Updater GUI and those 7 held back packages appeared and I was able to upgrade through the software updater without any problem. Weird thing was while in installation, snap popped up a couple of times.
apt-get install
is the command to install a package and needs you to specify a package. That won't solve your problem here.sudo apt-get dist-upgrade
will upgrade all your packages to the most recent version and will intelligently handle dependencies including deleting dependencies if needed. This could solve the problem. Remember to always runsudo apt update
before you start any other tasks inapt
– Nmath Apr 25 '22 at 20:11