You are not logged in.
I ran a large upgrade using pikaur and after the very last hook it hung. Now everything works except that pikaur refuses to start:
Traceback (most recent call last):
File "/usr/bin/pikaur", line 5, in <module>
from pikaur.main import main
ModuleNotFoundError: No module named 'pikaur'
Downgrading pikaur or re-installing its newest version did not help. Pacman says "nothing to do".
I'm a bit puzzled since I never experienced this before. There is not a single matching Google result for the given error message.
What can I do to make pikaur become alive again? Thanks in advance. I might be slow with replies for the next few days.
Last edited by kalsan (2018-08-10 08:24:54)
Offline
You need to rebuild the package, not just reinstall it.
Offline
As the many recent threads about Python applications not being able to find their modules can attest to, you must *rebuild* all python applications after a major update to python.
This should always be your *first* step when it comes to trying to fix AUR packages: does it work if you rebuild it?
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Turns out you can be an Arch user for 5 years and still not know this. I feel ashamed. Thank you so much for your quick replies. Works like a charm now.
Offline