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

Re: Showing Package Versions on Upgrade



Hi,

On Feb 26, 2018 05:42, "M.Hanny Sabbagh" <mhsabbagh@outlook.com> wrote:
Any feedback regarding this idea..?

IMO the current default is better than the proposed one, i.e. better than showing the versions for multiple reasons.

On stable releases the updates are not expected to cause regressions and usually only the debian_version changes that adds very little info and most of the time thus would not make anyone change her mind about applying the update.

On the development releases on the other hand usually you get many updates in one shot and while regressions are more likely you should already have a reasonable guess regarding the impact of the update from the package names. Showing the versions here would still not add much extra info but would add a lot of extra output to parse.  Moreover testing should reflect how stable would behave.

If you really would like to see the versions you can use -V as Julian suggested or set APT::Get::Show-Versions in apt's configuration file.

Cheers,
Balint


________________________________________
From: M.Hanny Sabbagh
Sent: Friday, February 16, 2018 22:10
To: Julian Andres Klode
Cc: deity@lists.debian.org
Subject: Re: Showing Package Versions on Upgrade

What I am suggesting is implementing/using such an option by default when running "upgrade" instead of using any special options or arguments by the user.

________________________________________
From: Julian Andres Klode <julian.klode@gmail.com> on behalf of Julian Andres Klode <jak@debian.org>
Sent: Friday, February 16, 2018 22:04
To: M.Hanny Sabbagh
Cc: deity@lists.debian.org
Subject: Re: Showing Package Versions on Upgrade

On Fri, Feb 16, 2018 at 01:34:16PM +0000, M.Hanny Sabbagh wrote:
> 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.

That's the -V option.


--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en



Reply to: