Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78441 - [salt] python-looseversion package required since 3006.1

Attached to Project: Community Packages
Opened by Pascal Bryner (Veldora) - Monday, 08 May 2023, 06:40 GMT
Last edited by Toolybird (Toolybird) - Monday, 08 May 2023, 20:44 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Johannes Löthberg (demize)
Morten Linderud (Foxboron)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 7
Private No

Details

Description:
Since salt 3006.1, it requires `python-looseversion` as a dependency, which is only available in the AUR:
https://aur.archlinux.org/packages?O=0&K=python-looseversion

Please somehow either package `python-looseversion` and put it in the official repos or make a note for others, that `python-looseversion` from the AUR is required.

Additional info:
* package version(s): 3006.1
* config and/or log files etc.: https://paste.gg/p/anonymous/25a4b71798b042deb667649a00f866a2

Steps to reproduce:
* Install salt from the repos
* Execute `salt.highstate`
This task depends upon

Comment by Doc Bone (dr-bone) - Monday, 08 May 2023, 14:35 GMT
Can confirm.
Install salt on a plain arch lxc container and try to start salt-minion.service.
=> dies with ModuleNotFoundError: No module named 'looseversion'

Worakround: instal python-looseversion from aur

Sidenote: I rolled back to salt 3005 as 3006 also had issues running "check_cmd: /usr/sbin/visudo -c -f" always failing for a file.uncomment in /etc/sudoers
Comment by Jared Johnstone (ipaq) - Tuesday, 09 May 2023, 23:13 GMT
Same issue - latest salt package breaks salt with `ModuleNotFoundError: No module named 'looseversion'`
Comment by Jared Johnstone (ipaq) - Sunday, 21 May 2023, 08:48 GMT
Salt still entirely unusable on a fleet of machines without rolling back and holding back the Salt package.

Building python-looseversion into our repos has worked around this problem for now however isn't listed as a dependency and must be self managed.
Comment by Jared Johnstone (ipaq) - Sunday, 21 May 2023, 14:15 GMT
The package appears to have vanished from archlinux.org/packages/community/any/salt and only extra/any/salt can be found - despite this not matching up with current mirrors. This is making it difficult to track these problems.
Comment by Morten Linderud (Foxboron) - Sunday, 21 May 2023, 14:55 GMT
Please read the news post on our website.
Comment by Jared Johnstone (ipaq) - Sunday, 21 May 2023, 15:55 GMT
Ah ok, that change has only just happened today. Congrats on the move

I've made a new task #78564 regarding issues for the new extra/salt package
Comment by Toolybird (Toolybird) - Sunday, 21 May 2023, 20:47 GMT
> I've made a new task #78564 regarding issues for the new extra/salt package

Thanks, but that wasn't necessary. It's still the same pkg. While the repo's have had a reorg, the bug tracker is still on the legacy layout (for the time being).
Comment by Jared Johnstone (ipaq) - Monday, 22 May 2023, 00:09 GMT
Yeah I gotcha - Please understand that from my point of view it looked like this entire package and its associated bugs had been wiped off the face of the earth. There were no indexed links to the package and thus this discussion which didn't 404 anymore.

To bring the keynotes from that issue here for visibility for others who bump into this reading the most unrelated and misleading errors of their life: I cannot use Salt 3006.1 minions in any capacity until `python-looseversion`, `community/python-psutil` & `python-jmespath` are installed. After that it can run modules such as test.ping and call salt states once more.

Loading...