You are not logged in.
Broken again:
Packages: pm2ml-2016.4.4.3-1 python3-xcgf-2016.4.5-1 python3-xcpf-2016.4.5-1
$ sudo powerpill -Syu
04/04 21:09:40 [NOTICE] GID#d4a31538b54c7606 - Download já foi completado: /var/lib/pacman/sync/xyne-x86_64.db
04/04 21:09:40 [NOTICE] GID#3ca9e012fcb36154 - Download já foi completado: /var/lib/pacman/sync/xyne-x86_64.db.sig
04/04 21:09:40 [NOTICE] Download Completo: /var/lib/pacman/sync/xyne-x86_64.db
04/04 21:09:40 [NOTICE] Download Completo: /var/lib/pacman/sync/xyne-x86_64.db.sig
04/04 21:09:40 [NOTICE] GID#329ec9fb1b1372a9 - Download já foi completado: /var/lib/pacman/sync/extra.db
04/04 21:09:40 [NOTICE] Download Completo: /var/lib/pacman/sync/extra.db
04/04 21:09:41 [NOTICE] GID#685a6d2b2297412d - Download já foi completado: /var/lib/pacman/sync/core.db
[DL:0B][#51d759 0B/0B][#685a6d 0B/0B]
04/04 21:09:42 [NOTICE] Download Completo: /var/lib/pacman/sync/core.db
04/04 21:09:42 [NOTICE] GID#51d759e2359809dc - Download já foi completado: /var/lib/pacman/sync/community.db
04/04 21:09:42 [NOTICE] Download Completo: /var/lib/pacman/sync/community.db
Resultados do Download:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
d4a315|OK | 0B/s|/var/lib/pacman/sync/xyne-x86_64.db
3ca9e0|OK | 0B/s|/var/lib/pacman/sync/xyne-x86_64.db.sig
329ec9|OK | 0B/s|/var/lib/pacman/sync/extra.db
685a6d|OK | 0B/s|/var/lib/pacman/sync/core.db
51d759|OK | 0B/s|/var/lib/pacman/sync/community.db
Legenda de estados:
(OK):download completo.
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 975, in <module>
sys.exit(run_main())
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 966, in run_main
return main(args)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 956, in main
powerpill.download_packages()
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 798, in download_packages
self.download(pm2ml_args)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 582, in download
self.pm2ml.resolve_targets_from_arguments(pm2ml_pargs)
File "/usr/lib/python3.5/site-packages/pm2ml.py", line 592, in resolve_targets_from_arguments
only_needed=pargs.needed,
File "/usr/lib/python3.5/site-packages/pm2ml.py", line 521, in resolve_targets
a, b, orphans = self.determine_upgradable(downgrades=(upgrade > 1))
File "/usr/lib/python3.5/site-packages/pm2ml.py", line 291, in determine_upgradable
if self.check_aur:
AttributeError: 'Pm2ml' object has no attribute 'check_aur'
Arch Linux: The power in your hands!
Offline
Fixed that one too now. Thanks for the reports.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
One more time (package pm2ml-2016.4.5-1):
$ sudo powerpill -Syu
... (suppressed by me)
Resultados do Download:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
ae6563|OK | 0B/s|/var/lib/pacman/sync/xyne-x86_64.db
d957b8|OK | 0B/s|/var/lib/pacman/sync/xyne-x86_64.db.sig
bc1b68|OK | 0B/s|/var/lib/pacman/sync/community.db
cdd489|OK | 0B/s|/var/lib/pacman/sync/core.db
a068d5|OK | 0B/s|/var/lib/pacman/sync/extra.db
Legenda de estados:
(OK):download completo.
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 975, in <module>
sys.exit(run_main())
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 966, in run_main
return main(args)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 956, in main
powerpill.download_packages()
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 798, in download_packages
self.download(pm2ml_args)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 582, in download
self.pm2ml.resolve_targets_from_arguments(pm2ml_pargs)
File "/usr/lib/python3.5/site-packages/pm2ml.py", line 594, in resolve_targets_from_arguments
only_needed=pargs.needed,
File "/usr/lib/python3.5/site-packages/pm2ml.py", line 525, in resolve_targets
aur_pkgs |= b.ignore(ignored, ignoredgroups)
AttributeError: 'NoneType' object has no attribute 'ignore'
Arch Linux: The power in your hands!
Offline
I'm sorry. It's been a long, bad day and I was being lazy. I took the time to test it more carefully. Please let me know if it works with pm2ml 2016.4.5.2.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
For me is perfect now! Thanks!
Arch Linux: The power in your hands!
Offline
For me is perfect now! Thanks!
*phew*
Thanks again for the testing and feedback!
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Broken with the most recent update:
pm2ml 2016.4.6-1
powerpill 2016.4.5.1-1
python3-xcgf 2016.4.5-1
python3-xcpf 2016.4.5.2-1
sudo powerpill -Syu
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 937, in <module>
sys.exit(run_main())
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 928, in run_main
return main(args)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 894, in main
pacman_conf = get_pacman_conf(pargs, powerpill_conf)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 371, in get_pacman_conf
pacman_conf = pm2ml.PacmanConfig(pargs['pacman_config'])
AttributeError: module 'pm2ml' has no attribute 'PacmanConfig'
Offline
powerpill 2016.4.5.1-1
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 371, in get_pacman_conf pacman_conf = pm2ml.PacmanConfig(pargs['pacman_config'])
Line 371 of 2016.4.5.1-1 is
class ArgumentError(PowerpillError):
Your tracelog does not match the current version. Are you sure that you have updated all local packages?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Strangely enough, i have reinstalled all pack (powerpill, pyalpm, pm2ml, python3-xcgf, python3-xcpf) and it works. Sorry for bother.
Edit: i guess i've got an idea. I thinks aura as deps of pp updated pm2ml before it, but after that I've got an old pp that's incompatible with new pm2ml and aura tried to use it to download new pp which obviously resulted in error.
Last edited by lundibundi (2016-04-20 21:48:12)
Offline
Edit: i guess i've got an idea. I thinks aura as deps of pp updated pm2ml before it, but after that I've got an old pp that's incompatible with new pm2ml and aura tried to use it to download new pp which obviously resulted in error.
aura isn't very good at resolving dependencies - you shouldn't rely on it for anything more than trivial tasks. See the comparison table on the wiki.
Last edited by Alad (2016-04-20 22:09:52)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
<shameless self promotion> Why not use bauerbill instead? </shameless self promotion>
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
it's just that aura worked just fine up to now=).
Promotion worked gonna try it, but is there a way for smooth transition from aura to bauerbill? (it's kind of bothersome to reinstall all packages from aur)
Offline
is there a way for smooth transition from aura to bauerbill? (it's kind of bothersome to reinstall all packages from aur)
Enable my repo and then run "pacman -Syu bauerbill"
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
New error with parameter --needed
Packages: powerpill 2016.4.5.1-1, pm2ml 2016.4.6-1, python3-xcgf 2016.4.5-1, python3-xcpf 2016.4.5.2-1
sudo powerpill -Syu --needed
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 989, in <module>
sys.exit(run_main())
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 974, in run_main
return main(args)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 954, in main
powerpill.refresh_databases()
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 782, in refresh_databases
self.download(pm2ml_args, dbs=True, force=(self.pargs['refresh'] > 1))
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 582, in download
self.pm2ml.resolve_targets_from_arguments(pm2ml_pargs)
File "/usr/lib/python3.5/site-packages/pm2ml.py", line 595, in resolve_targets_from_arguments
only_needed=pargs.needed,
File "/usr/lib/python3.5/site-packages/pm2ml.py", line 569, in resolve_targets
for p in handle.get_localdb().pkgcache:
NameError: name 'handle' is not defined
Arch Linux: The power in your hands!
Offline
That should be fixed now. Sorry for the delay.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Thanks!
Arch Linux: The power in your hands!
Offline
Pseudo-Poll
Currently the powerpill and bauerbill configuration files are written in JSON. Before I release the new backend, I could change the configuration file format to YAML. What do you prefer, and why?
I'm used to JSON but YAML seems more versatile as a superset of JSON with comments, etc. The flatter structure is likely easier to read and write too, but maybe more prone to errors. For powerpill/bauerbill, the JSON files are not particularly complicated though, so this isn't really an issue (imo).
If you want to see what a configuration file might look like in YAML, you can download my json2yaml script and run e.g.
json2yaml /etc/powerpill/powerpill.json -
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I'm not familiar with YAML but it looks to be easier to be parse in a shell with standard tools (awk, grep, e.a) than JSON. Then again I'd simply look at the format which is easiest/simplest to implement for bauerbill.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Both are just as easy to implement. The standard library provides a module for JSON and there is a readily available non-standard module for YAML (python-yaml, which wraps the libyaml C library recommended by the YAML specification authors). The internal representation after parsing is the same. The only consequence for users is the additional dependency on python-yaml, which is 213 KiB once installed.
I'm leaning towards YAML.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
The new backend is available for testing here. It is not entirely backwards-compatible so please give it a try now and get ready to migrate your configuration files and scripts. Extension developers are most welcome
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
powerpill doesn't seem compatible with libressl (2.5.0)
Is this something that can be easily fixed?
EDIT: Just needed to recompile curl.
Last edited by txtsd (2016-11-07 07:28:40)
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
Hey Xyne, I have recently started using powerpill and I couldn't find any option to show download sizes of individual packages before downloading. It seems that this option used to exist previously. Also, on a related note, is there an option to confirm before powerpill starts downloading the packages?
PS: It is super awesome and downloads are happening in the blink of an eye
Offline
I've made a note to consider adding both features. In the next few days I hope to officially release the pacboy backend that's been sitting around in a test archive for ages. Once that goes live I'll be actively making changes to the code again.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Please, rebuilt powerpill against the new version of python3 in ArchLinux repositories.
Arch Linux: The power in your hands!
Offline
@dapolinario, you are responsible for rebuilding AUR packages yourself.
Offline