paru icon indicating copy to clipboard operation
paru copied to clipboard

Paru trying to upgrade devel packages to old versions

Open unquote7083 opened this issue 3 years ago • 11 comments

Affected Version

paru v1.11.0.r0.g1ecdd48 - libalpm v13.0.1 I also tried downgrade to old release 1.8.2 and still saw same issue

Description

Paru thinks old versions of devel packages are upgrades. Non devel packages seem fine.

Output

$ paru
:: Starting full system upgrade...
 there is nothing to do
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (5)                                     Old Version               New Version               Make Only
aur/python-grpcio-tools                     1.46.1-1                  1.47.0-1                  No
aur/opensnitch-git                          1.6.0rc1.r8.4ce8b0e-1     1.5.0.r19.0aef656-1       No
aur/ungoogled-chromium                      102.0.5005.115-1          103.0.5060.53-1           No
aur/dolphin-emu-git                         5.0.r16677.g57750f3d8f-1  5.0.r16541.gbb2a3d35b0-1  No
aur/gnome-shell-extension-desktop-cube-git  r312.aa7dd19-1            r38.905a711-1             No

unquote7083 avatar Jun 25 '22 22:06 unquote7083

1.5.0.r19.0aef656-1 Is newer than 1.6.0rc1.r8.4ce8b0e-1. packager needs to set to set an epoch.

Morganamilo avatar Jun 25 '22 23:06 Morganamilo

Actually that's a lie. The format did change a but but it's one dot away from the number that's changed. So not sure at the moment.

Morganamilo avatar Jun 26 '22 00:06 Morganamilo

so currently the verbosepkglists support doesn't list aur-dev or latest-commit like it would in upgrade menu. So this is just a devel update not labelled as such.

Morganamilo avatar Jun 26 '22 00:06 Morganamilo

I don't think verbosepkglists has to do with anything except made it immediately obvious that the devel packages were getting changed to older versions (and thanks for adding the feature btw, it's really nice to have)

opensnitch-git 1.6.0rc1.r8 > 1.5.0.r19 = downgrade dolphin-emu-git > 5.0.r16677 > 5.0.r16541 = downgrade gnome-shell-extension-desktop-cube-git r312 > r38 = downgrade

unquote7083 avatar Jun 26 '22 03:06 unquote7083

That's just how -git packages work

Morganamilo avatar Jun 26 '22 10:06 Morganamilo

Can you be more specific? How do they work?

unquote7083 avatar Jun 26 '22 15:06 unquote7083

They fetch the latest git commit at build time.

Morganamilo avatar Jun 26 '22 15:06 Morganamilo

Prove it. Show the output of it building.

Morganamilo avatar Jun 29 '22 22:06 Morganamilo

Alright I figured out how it works. Paru just shows the version of the package last uploaded to the AUR, which is confusing for devel packages because it's not the "new version".

Maybe less confusing if you could state the new version as "devel upgrade" for devel packages where the PKGBUILD hasn't changed in the AUR since last install.

unquote7083 avatar Jun 29 '22 23:06 unquote7083

so currently the verbosepkglists support doesn't list aur-dev or latest-commit like it would in upgrade menu. So this is just a devel update not labelled as such.

Upgrade menu does this as noted here.

Morganamilo avatar Jun 29 '22 23:06 Morganamilo

Yeah I get that now. I'm stating a suggestion to make it less confusing in the meantime, there's no added value to show a version older than what's installed.

unquote7083 avatar Jun 29 '22 23:06 unquote7083

The normal upgrade printing also print's latest-commit for devel upgrades now

Morganamilo avatar Nov 21 '22 01:11 Morganamilo