[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Showing Package Versions on Upgrade



Hello.

When preforming a typical upgrade process by APT, the following output is shown:

mhsabbagh@pc:~$ sudo apt upgrade
....
The following packages will be upgraded:
  gnome-disk-utility, gnome-keyring
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
...

IMHO, this output is not very useful because you can't know the current version of that package, nor the newly available version. Such information may be important before taking the decision on whether to upgrade or not. I know that the "list --upgradable" option could be used to view such information, but viewing it directly for the user on the upgrade process makes it easier and more convenient.

Thus, I suggest implementing something similar to:

mhsabbagh@pc:~$ sudo apt upgrade
....
The following packages will be upgraded:
  gnome-disk-utility (2.5.1) ---> (2.6)
  gnome keyring (3.3) ---> (3.3.1)
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
...

I haven't contributed to Debian before, but if the maintainers responsible for APT agree on this suggestion, I would be happy to work on submitting a patch regarding this.

Sincerely.

Reply to: