1 Attachment(s)
apt-get upgrade succesful but software updater keeps insisting I upgrade
Hello.
New to Ubuntu 20.04
After running apt-get update and then upgrade the only odd message I receive is:
Code:
The following packages have been kept back: linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04 linux-image-generic-hwe-20.04
Then, GUI software updater keeps popping up asking me to install all the files in the attached screenshot.
1) Is this safe?
2) Why does software updater conflict with the success messages of apt-get update/upgrade? Or is it trying to tell me I still need to do something about linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04 in it's own cute way?
Thank you.
Re: apt-get upgrade succesful but software updater keeps insisting I upgrade
Post what the apt update/upgrade commands show.
Re: apt-get upgrade succesful but software updater keeps insisting I upgrade
And a screenshot posted as an attachment of the Software Updater popup.
Re: apt-get upgrade succesful but software updater keeps insisting I upgrade
It is certainly safe to run again to see if everything has been installed. I often do it after an upgrade just to check if everything that should be installed was.
The screenshot indicates a lot of packages still need to be installed but sometimes the GUI shows the old updates if you use a command line to update. I prefer the command line.
You then might try
Code:
sudo apt full-upgrade
and see if everything then updates. If you get a new kernel you generally want to run after the upgrade.
If you are then showing packages held back you can try
Code:
sudo apt install -f
apt is a newer command than apt-get and combines the functions of a couple of older commands. I now prefer it.
Re: apt-get upgrade succesful but software updater keeps insisting I upgrade
After a new kernel installation the command you might want to run is probably
sudo apt autoremove
to uninstall all but the two most recent kernels.
sudo apt autoclean
only removes the downloaded packages from cache; it does not remove unneeded kernels.
Re: apt-get upgrade succesful but software updater keeps insisting I upgrade
Oh, I missed this tidbit
Quote:
After running apt-get update and then upgrade
That's it.
apt-get upgrade does not install new packages, such as the updated kernels.
You need to run apt-get with the dist-upgrade command in order to do that.
The newer apt commands can install newer packages like kernels without needing to add dist- or other options.
Post #4 shows a few apt commands, which run much the same as apt-get does.
For a full list look at apt's man page
Re: apt-get upgrade succesful but software updater keeps insisting I upgrade
Ithink it's a conflict between your GUI "update reminder" and the kernel versions (I've turned the thing off, to be honest).
I suspect your installation is using a 5.4.0-xx kernel, which is fine. I use it myself.
But the GUI update reminder wants you to install 5.8.0-xx instead.
Three options:
upgrade the kernel
ignore the message
disable the upgrade reminder
type uname -a in a terminal to see your current kernel version.
BTW, I always use apt update and apt upgrade followed by apt autoremove
No problems doing that.