5

I just noticed this while updating:

hiigaran@hiigaran:~$ sudo apt update
[sudo] password for hiigaran: 
Hit:1 http://archive.canonical.com/ubuntu disco InRelease
Hit:2 https://dl.winehq.org/wine-builds/ubuntu disco InRelease         
Hit:3 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu disco InRelease                                              
Get:4 http://security.ubuntu.com/ubuntu disco-security InRelease [97.5 kB]                                                                         
Hit:5 http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu disco InRelease                              
Hit:6 http://archive.ubuntu.com/ubuntu disco InRelease                                                                 
Get:7 http://archive.ubuntu.com/ubuntu disco-updates InRelease [97.5 kB]                                   
Hit:8 http://ppa.launchpad.net/teejee2008/ppa/ubuntu disco InRelease                
Get:9 http://archive.ubuntu.com/ubuntu disco-proposed InRelease [255 kB]             
Hit:10 http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu disco InRelease    
Get:11 http://archive.ubuntu.com/ubuntu disco-backports InRelease [88.8 kB]
Fetched 539 kB in 2s (262 kB/s)     
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
hiigaran@hiigaran:~$ apt list --upgradable
Listing... Done
linux-image-generic/disco-proposed 5.0.0.22.23 amd64 [upgradable from: 5.0.0.21.22]
N: There are 3 additional versions. Please use the '-a' switch to see them.
hiigaran@hiigaran:~$ sudo apt full-upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
hiigaran@hiigaran:~$ 

Running sudo apt update shows that there is a package available, which in this case is the 5.0.0.22.23 package. However, upon running sudo apt full-upgrade, it shows no packages will be upgraded.

I'm not particularly fussed about getting this package. Just curious as to why this happened, as I've never experienced it before.

hiigaran
  • 6,843

1 Answers1

1

sudo apt full-upgrade dont does the same thing as sudo apt dist-upgrade
sudo apt list --upgradable -a shows a proposed update because you have selected pre-released updates in the Software Properties App.
If you want to install the update, simply run this:

sudo apt update
sudo apt dist-upgrade

If you dont want to install the pre-released packages go with Sotware Properties App to uncheck a box:

enter image description here

Get more information about apt upgrade options:

Read apt-get man page

apt-get upgrade actually installs newer versions of the packages you have. After updating the lists, the package manager knows about available updates for the software you have installed. This is why you first want to update.
apt-get dist-upgrade, in addition to performing the function of apt-get upgrade, also intelligently handles changing dependencies with new versions of packages and will attempt to upgrade the most important packages at the expense of less important ones if necessary. Thus, the apt-get dist-upgrade command may actually remove some packages in rare but necessary instances.
apt full-upgrade full-upgrade performs the function of upgrade but may also remove installed packages if that is required in order to resolve a package conflict.

Also on this post: https://askubuntu.com/a/81594/77093

cmak.fr
  • 8,976