1

I ran Software Updater it showed "The software on this computer is up to date" then on terminal I ran sudo apt list --upgradable which shows eight up-gradable packages.

So I ran sudo apt upgrade and eight packages were updated

On Terminal:

$ sudo apt list --upgradable
Listing... Done
gir1.2-packagekitglib-1.0/bionic-updates 1.1.9-1ubuntu2.18.04.4 amd64 [upgradable from: 1.1.9-1ubuntu2.18.04.3]
gstreamer1.0-packagekit/bionic-updates 1.1.9-1ubuntu2.18.04.4 amd64 [upgradable from: 1.1.9-1ubuntu2.18.04.3]
libpackagekit-glib2-18/bionic-updates 1.1.9-1ubuntu2.18.04.4 amd64 [upgradable from: 1.1.9-1ubuntu2.18.04.3]
packagekit/bionic-updates 1.1.9-1ubuntu2.18.04.4 amd64 [upgradable from: 1.1.9-1ubuntu2.18.04.3]
packagekit-tools/bionic-updates 1.1.9-1ubuntu2.18.04.4 amd64 [upgradable from: 1.1.9-1ubuntu2.18.04.3]
python3-update-manager/bionic-updates,bionic-updates 1:18.04.11.7 all [upgradable from: 1:18.04.11.6]
update-manager/bionic-updates,bionic-updates 1:18.04.11.7 all [upgradable from: 1:18.04.11.6]
update-manager-core/bionic-updates,bionic-updates 1:18.04.11.7 all [upgradable from: 1:18.04.11.6]
$

Both Apt and update-manager

Why this difference in Software Updater (update-manager) and Apt outputs?

Vijay
  • 8,056

1 Answers1

0

The command sudo apt install expects at least one package name to install after the install keyword. See man apt . Here's an excerpt.

install, remove, purge (apt-get(8)) Performs the requested action on one or more packages specified via regex(7), glob(7) or exact match. The requested action can be overridden for specific packages by append a plus (+) to the package name to install this package or a minus (-) to remove it.

Nothing is upgraded because you didn't ask for that and nothing is removed because you didn't ask for that either. Nothing is installed since you told it to install in effect nothing, which it did.

You might also find these related posts interesting:

What is the difference between apt and apt-get?

What is the difference between Software Updater and Ubuntu Software Updates?

Sources:

man apt

http://manpages.ubuntu.com/manpages/xenial/man8/apt.8.html

Further reading:

https://itsfoss.com/apt-vs-apt-get-difference/

https://salsa.debian.org/apt-team/apt/blob/master/README.md

Elder Geek
  • 36,023
  • 25
  • 98
  • 183