You are not logged in.
He may be referring to the package in my repo, which was rebuilt today after I upgraded to Python 3.6 locally.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Oh, my bad in that case
Offline
@x33a, I use the Xyne repository instead of the AUR, so I requested rebuilding the package.
Arch Linux: The power in your hands!
Offline
Xyne, I found that powerpill doesn't handle return code on `-T` properly which breaks recent makepkg dependency handling (I set PACMAN=powerpill in makepkg.conf). Can you fix that?
Offline
Xyne, I found that powerpill doesn't handle return code on `-T` properly which breaks recent makepkg dependency handling (I set PACMAN=powerpill in makepkg.conf). Can you fix that?
When powerpill invokes pacman (or whatever wrapper the user has configured), it returns the exit code:
$ pacman -T powerpill; echo $?
0
$ powerpill -T powerpill; echo $?
0
$ pacman -T powerpill foo; echo $?
foo
127
$ powerpill -T powerpill foo; echo $?
foo
127
Can you give an example of when it fails?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
powerpill can't run with LANG=C
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.6/site-packages/Powerpill.py", line 990, in <module>
sys.exit(run_main())
File "/usr/lib/python3.6/site-packages/Powerpill.py", line 975, in run_main
return main(args)
File "/usr/lib/python3.6/site-packages/Powerpill.py", line 943, in main
powerpill = Powerpill(pargs)
File "/usr/lib/python3.6/site-packages/Powerpill.py", line 483, in __init__
self.pacman_conf = get_pacman_conf(pargs, self.conf)
File "/usr/lib/python3.6/site-packages/Powerpill.py", line 336, in get_pacman_conf
pacman_conf = XCPF.PacmanConfig.PacmanConfig(pargs['pacman_config'])
File "/usr/lib/python3.6/site-packages/XCPF/PacmanConfig.py", line 49, in __init__
self.load_from_file(conf)
File "/usr/lib/python3.6/site-packages/XCPF/PacmanConfig.py", line 54, in load_from_file
for section, key, value in pacman_conf_enumerator(filename):
File "/usr/lib/python3.6/site-packages/pycman/config.py", line 92, in pacman_conf_enumerator
line = f.readline()
File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 80: ordinal not in range(128)
Offline
powerpill can't run with LANG=C
File "/usr/lib/python3.6/site-packages/pycman/config.py", line 92, in pacman_conf_enumerator line = f.readline() File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 80: ordinal not in range(128)
Seems to be an issue with pyalpm and your pacman.conf file. Report it to the pyalpm devs. Include your pacman.conf file when you do.
Moving to the powerpill thread (originally posted in my repo thread).
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Seems to be an issue with pyalpm and your pacman.conf file. Report it to the pyalpm devs. Include your pacman.conf file when you do.
At least it fails with an error. When pacman with LANG=C tries to display a package with an UTF-8 description or packager name, then part of the output will be silently missing. (e.g. binutils)
Thank you for locale-en-xx, I am using that as a replacement for LANG=C to avoid such problems for a few years now.
Last edited by progandy (2017-09-16 09:56:44)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Thank you for locale-en-xx, I am using that as a replacement for LANG=C to avoid such problems for a few years now.
I still need to find a way to promote that locale. It would be great if one day it became widely adopted as an ISO locale
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I just realized that it's almost been 9 years since I published powerpill. f#$@
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Hi!
Getting this:
PowerpillError: aria2c exited with 29
Can't figure out where to find what's wrong.
Offline
To be precise: using yaourt and also pacmatic.
Offline
From aria2c's man page:
29 If the remote server was unable to handle the request due to a temporary overloading or maintenance
So, seems like an issue with your mirror.
Offline
Hello,
I experiencing problems with powerpill, when i try to do system upgrade using powerpill i get this error:
sudo powerpill -Syu
[sudo] password for tugay:
Unknown --info item: "flist"
rsync error: syntax or usage error (code 1) at options.c(450) [client=3.1.2]
PowerpillError: rsync exited with 1
> server: rsync://mirror.dkm.cz/archlinux/$repo/os/$arch
my powerpill.json file:https://ptpb.pw/E5Fx.json
Offline
Unknown --info item: "flist"
Are you running powerpill on an ARM system ? The only reference to this error that I was able to find was this unanswered post about a Raspberry Pi on stack overflow.
Regardless, it seems to be an rsync error beyond my control. Notify the rsync devs and disable rsync support in powerpill for now.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
No my system is x86_64
Offline
I've been getting errors running powerpill since a full system upgrade after a long time without upgrading.
The issue seems to be in the refresh_databases() function's download_queue.dbs variable having more than two values which the for-loop expects. I peered into Powerpill.py to see if I could implement a workaround but don't want to break anything. Any thoughts on what might be causing the issue? (traceback info below).
P.S. in case it helps someone: I had a similar issue as on the previous page with pm2ml in the refresh_databases function. pacman kept installing a version dated 2016 even after removing the package and clearing the package cache, but i fixed with "pacaur -a" to only search in the aur.
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.6/site-packages/Powerpill.py", line 990, in <module>
sys.exit(run_main())
File "/usr/lib/python3.6/site-packages/Powerpill.py", line 975, in run_main
return main(args)
File "/usr/lib/python3.6/site-packages/Powerpill.py", line 955, in main
powerpill.refresh_databases()
File "/usr/lib/python3.6/site-packages/Powerpill.py", line 782, in refresh_databases
self.download(pm2ml_args, dbs=True, force=(self.pargs['refresh'] > 1))
File "/usr/lib/python3.6/site-packages/Powerpill.py", line 607, in download
for db, sigs in download_queue.dbs:
ValueError: too many values to unpack (expected 2)
Last edited by sigils (2018-04-08 19:47:10)
Offline
Any advance on this issue? I'm having the exact same problem.
Offline
Any advance on this issue? I'm having the exact same problem.
Not on my end yet. I've just been using pacman without powerpill in the meantime.
Offline
What version of Powerpill are you using? The line numbers don't match the current version and I am not able to reproduce it with a simple "powerpill -Syu" (the signatures download correctly).
If you are not using the latest version, either build and upgrade the packages from the AUR, or enable my repo and upgrade directly via Pacman.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I'm using Antergos, and the problem was that some dependencies of powerpill aren't up-to-date in their repos. I solved it by removing the Antergos repo from /etc/pacman.conf, and updated the dependencies from the AUR. I then removed the Antergos packages that couldn't be found in the Arch repos, like antergos-alerts and antergos-midnight-timers. They didn't seem to be useful. Maybe sigils is using Antergos too.
Offline
Thanks for the clarification and update.
Incidentally, this clearly demonstrates why these forums do not support other Arch-based distributions. I am glad that you were able to get it working but I have to ask that you seek support on the Antergos forums from now on (or that you switch to vanilla Arch ).
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Hi Xyne,
I start using Powerpill some time ago and I want to ask you is it possible to commit to your project, maybe via github? I tried to find option to check file list, before download all files via system upgrade. During my searches I found couple of bugs, using flake8 tool and want to fix them.
Offline
Hi Xyne,
I start using Powerpill some time ago and I want to ask you is it possible to commit to your project, maybe via github? I tried to find option to check file list, before download all files via system upgrade. During my searches I found couple of bugs, using flake8 tool and want to fix them.
Last raised in 2015: https://bbs.archlinux.org/viewtopic.php … 7#p1584207
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
During my searches I found couple of bugs, using flake8 tool and want to fix them.
Which bugs in which files? All I see are cosmetic errors.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline