You are not logged in.

#1 2022-11-28 13:15:17

Registered: 2018-10-04
Posts: 70

[SOLVED]pikaur upgrade error

The solution:
First uninstall pikaur, then delete the pkiaur folder in the user directory, and then reinstall pikaur.

pikaur upgrade error, ask for advice, the output is as follows:

[taizongh@leccesg pikaur]$ pikaur -Syu
:: Warning:
:: Warning: System Python had minor version update. You need to rebuild Pikaur:
Warning: pikaur -S --rebuild pikaur
:: Warning: or
Warning: pikaur -S --rebuild pikaur-git
:: Warning:
:: Synchronizing software package database...
core is the latest version
extra is the latest version
community is the latest version

:: carry out a comprehensive AUR update...
Read the package repository database...
Read the local package database...
Reading AUR packet information...
Traceback (most recent call last):
File "/usr/bin/pikaur", line 36, in <module></module>
File "/usr/lib/python3.9/site-packages/pikaur/", line 352, in main
File "/usr/lib/python3.9/site-packages/pikaur/", line 271, in cli_entry_point
File "/usr/lib/python3.9/site-packages/pikaur/", line 332, in run_with_sudo_loop
raise catched_exc  # pylint: disable=raising-bad-type
File "/usr/lib/python3.9/site-packages/pikaur/", line 326, in run_with_sudo_loop
result = main_thread.get()
The File "/ usr/lib/python3.10 multiprocessing/pool. Py", line 774, get in
raise self._value
The File "/ usr/lib/python3.10 multiprocessing/pool. Py", line 125, in the worker
result = (True, func(*args, **kwds))
File "/usr/lib/python3.9/site-packages/pikaur/", line 117, in cli_install_packages
File "/usr/lib/python3.9/site-packages/pikaur/", line 161, in __init__
File "/usr/lib/python3.9/site-packages/pikaur/", line 168, in main_sequence
File "/usr/lib/python3.9/site-packages/pikaur/", line 249, in get_all_packages_info
self.install_info = InstallInfoFetcher(
File "/usr/lib/python3.9/site-packages/pikaur/", line 68, in __init__
File "/usr/lib/python3.9/site-packages/pikaur/", line 167, in get_all_packages_info
File "/usr/lib/python3.9/site-packages/pikaur/", line 388, in get_aur_pkgs_info
aur_updates_list, not_found_aur_pkgs = find_aur_updates()
The File "/ usr/lib/python3.9 / site - packages/pikaur/updates. Py", line 117, in find_aur_updates
aur_pkgs_info, not_found_aur_pkgs = find_aur_packages(package_names)
File "/usr/lib/python3.9/site-packages/pikaur/", line 170, in find_aur_packages
results = [request.get() for request in requests]
File "/usr/lib/python3.9/site-packages/pikaur/", line 170, in <listcomp></listcomp>
results = [request.get() for request in requests]
The File "/ usr/lib/python3.10 multiprocessing/pool. Py", line 774, get in
raise self._value
The File "/ usr/lib/python3.10 multiprocessing/pool. Py", line 125, in the worker
result = (True, func(*args, **kwds))
File "/usr/lib/python3.9/site-packages/pikaur/", line 129, in aur_rpc_info_with_progress
result = aur_rpc_info(search_queries)
File "/usr/lib/python3.9/site-packages/pikaur/", line 119, in aur_rpc_info
return [
File "/usr/lib/python3.9/site-packages/pikaur/", line 120, in <listcomp></listcomp>
AURPackageInfo(**{key.lower(): value for key, value in aur_json.items()})
File "/usr/lib/python3.9/site-packages/pikaur/", line 52, in __init__
File "/usr/lib/python3.9/site-packages/pikaur/", line 64, in __init__
setattr(self, key, value)
File "/usr/lib/python3.9/site-packages/pikaur/", line 77, in __setattr__
raise TypeError(
TypeError: 'AURPackageInfo' does not have attribute 'comaintainers'

Last edited by taiongh (2022-11-29 13:27:39)


#2 2022-11-28 13:57:50

Inspector Parrot
Registered: 2011-11-29
Posts: 28,044

Re: [SOLVED]pikaur upgrade error

The output told you exactly what to do - or at least what pikaur thinks you should do.

My advice would be to not use a pacman wrapper and learn to manage your system properly.  Though if you do not read the output of commands, this would still not do you much good.

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman


#3 2022-11-28 14:37:41

From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,132

Re: [SOLVED]pikaur upgrade error

Moving to AUR issues

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
How to Ask Questions the Smart Way


#4 2022-11-28 14:38:23

Forum Moderator
Registered: 2012-10-16
Posts: 18,740

Re: [SOLVED]pikaur upgrade error

Moving to AUR issues.


#5 2022-11-29 17:44:32

Registered: 2012-08-07
Posts: 5

Re: [SOLVED]pikaur upgrade error

The maintainer says this:

actionless commented on 2022-11-27 13:05 (UTC)
AUR RPC reply changed today - unfortunately that would require rebuilding pikaur manually.

As another user posted in another thread, rebuilding pikaur seems to work. My approach:

cd /tmp
tar xvfz pikaur.tar.gz
cd pikaur
makepkg -s
sudo pacman -U pikaur-1.14.5-1-any.pkg.tar.zst


#6 2022-11-30 07:26:02

Registered: 2015-04-29
Posts: 136

Re: [SOLVED]pikaur upgrade error

Another way

git clone
cd pikaur
makepkg -fsri


Board footer

Powered by FluxBB