yay
yay copied to clipboard
Add old version -> new version when there is an upgrade
Problem
I usually keep my packages up to date with yay -S the-package
, and I dont see the version upgrade gap.
Let's take the nvidia example:
[mrakotomandimby@universe ~]$ yay -S nvidia-beta nvidia-utils-beta
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:2] nvidia-utils-beta-510.60.02-1 nvidia-beta-510.60.02-1
The problem here is I dont see the currently installed version (when I have)
Note: I can have current version with pacman -Q
Suggestion: Display the version upgrade
This is an example of what I propose:
[mrakotomandimby@universe ~]$ yay -S nvidia-beta nvidia-utils-beta
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:2]
nvidia-utils-beta: 510.60.02-1 (from 510.54-1)
nvidia-beta: 510.60.02-1 (from 510.54-1)
Or
[mrakotomandimby@universe ~]$ yay -S nvidia-beta nvidia-utils-beta
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:2]
nvidia-utils-beta: (510.54-1 -> ) 510.60.02-1
nvidia-beta: (510.54-1 -> ) 510.60.02-1
I'd like to take this and make a PR, if it's okey with you @Jguer
@enkeyz if you're willing to give it a go we can get it merged :+1:
@Jguer But yay already kinda doing this, no? I just noticed, it shows something like this when upgrading an AUR package with -Syu
flag.
Also, with yay -Qs "package name"
, you can check the version number of the given package.
So, what's your thought?
Yes when doing a system upgrade you already get the difference displayed (although even then only with VerbosePkgLists
set in /etc/pacman.conf
, IIRC). But not when explicitly upgrading a package, which is what this issue is about.
Closing for inactivity