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!
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!
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
Opened by Pascal Bryner (Veldora) - Monday, 08 May 2023, 06:40 GMT
Last edited by Toolybird (Toolybird) - Monday, 08 May 2023, 20:44 GMT
|
DetailsDescription:
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
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
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.
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).
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.