actionless / pikaur

AUR helper with minimal dependencies. Review PKGBUILDs all in once, next build them all without user interaction.
GNU General Public License v3.0
872 stars 89 forks source link

rc version of systemd breaks pikaur #808

Closed dschopf closed 5 months ago

dschopf commented 5 months ago
pikaur -Vq
Pikaur v1.21
Pacman v6.1.0 - libalpm v14.0.0 - pyalpm v0.10.6
[Optional] Prerequisites:

Install

core-testing/systemd 256rc4-1 [installiert] 
    system and service manager
Description:

Running pikaur as root yields the following error:

pikaur -Syu
  File "/usr/lib/python3.12/site-packages/pikaur/main.py", line 416, in main
    check_runtime_deps()
  File "/usr/lib/python3.12/site-packages/pikaur/core.py", line 358, in check_runtime_deps
    if UsingDynamicUsers()() and not check_systemd_dynamic_users_version():
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pikaur/core.py", line 348, in check_systemd_dynamic_users_version
    version = int(first_line.split(maxsplit=2)[1])
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ValueError: invalid literal for int() with base 10: '256~rc4'

Running pikaur as regular user still works without issues.