For anyone arriving here because they've started receiving the following error:
Traceback (most recent call last):
File "/usr/bin/aurman", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3095, in <module>
@_call_aside
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 570, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 888, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 774, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'aurman==2.17' distribution was not found and is required by the application
This is because Python released a major new update, which you installed, and thus all python packages, including aurman, need to be rebuilt to be able to work again.
To fix this, download the snapshot from the link in the Package Actions above, cd to the unzipped directory and do old-school AUR installation dance of makepkg -Acs followed by sudo pacman -U aurman-2.17.1.1-any.pkg.tar.xz
After that, aurman should work again.
Pinned Comments