You are not logged in.
I think powerpill became broken with latest (pacman?) update
Traceback (most recent call last):
File "/usr/bin/powerpill", line 812, in <module>
sys.exit(run_main())
File "/usr/bin/powerpill", line 805, in run_main
return main(args)
File "/usr/bin/powerpill", line 779, in main
powerpill.download(pm2ml_args, dbs=True, force=(pargs['y'] > 1))
File "/usr/bin/powerpill", line 525, in download
pm2ml.build_download_queue(pm2ml_args, conf=self.pacman_conf)
File "/usr/lib/python3.4/site-packages/pm2ml.py", line 621, in build_download_queue
handle = conf.initialize_alpm()
File "/usr/lib/python3.4/site-packages/pm2ml.py", line 136, in initialize_alpm
h = pyalpm.Handle(self.options["RootDir"], self.options["DBPath"])
alpm.error: could not create a libalpm handle, pm_errno 18 (database is incorrect version)
Offline
I think powerpill became broken with latest (pacman?) update
Traceback (most recent call last): File "/usr/bin/powerpill", line 812, in <module> sys.exit(run_main()) File "/usr/bin/powerpill", line 805, in run_main return main(args) File "/usr/bin/powerpill", line 779, in main powerpill.download(pm2ml_args, dbs=True, force=(pargs['y'] > 1)) File "/usr/bin/powerpill", line 525, in download pm2ml.build_download_queue(pm2ml_args, conf=self.pacman_conf) File "/usr/lib/python3.4/site-packages/pm2ml.py", line 621, in build_download_queue handle = conf.initialize_alpm() File "/usr/lib/python3.4/site-packages/pm2ml.py", line 136, in initialize_alpm h = pyalpm.Handle(self.options["RootDir"], self.options["DBPath"]) alpm.error: could not create a libalpm handle, pm_errno 18 (database is incorrect version)
Run
pacman-db-upgrade
Brottweiler@#archlinux
Offline
Run
pacman-db-upgrade
Did the trick. Thanks.
Offline
powerpill-2014.12.tar.xz ... FAILED (unknown public key 1D1F0DC78F173680)
==> ERROR: One or more PGP signatures could not be verified!
The same for pm2ml.
do it good first, it will be faster than do it twice the saint
Offline
powerpill-2014.12.tar.xz ... FAILED (unknown public key 1D1F0DC78F173680) ==> ERROR: One or more PGP signatures could not be verified!
The same for pm2ml.
Offline
powerpill is in xyne-any unofficial repo too.
Edit: https://www.archlinux.org/people/trusted-users/#xyne + https://www.archlinux.org/news/gnupg-21 … n-keyring/
Last edited by karol (2014-12-31 15:15:49)
Offline
I created a .makepkg.conf with the following:
SKIPPGPCHECK=1
which allowed yaourt/other wrappers to build programs without issue
Offline
I used it once. In case will happen again I'll put it in the configuration file.
do it good first, it will be faster than do it twice the saint
Offline
@Xyne
@Viper_Scull
You have to set the correct SigLevel in /etc/pacman.conf. The official databases are not signed so you should use "PackageRequired", e.g.[core] SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist
Why wouldn't the global default option
SigLevel = Required DatabaseOptional
make the database check optional?
Offline
@despairblue
If they're optional then it will still check for them and generate 404 warnings(/errors?) when they're not found. If you know a priori that there are no database signatures then you should just disable the query.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Heads up! Your website is down which means we can't access your repo.
Edit: It's back up!
Last edited by raggerv8 (2015-04-23 16:38:30)
Brottweiler@#archlinux
Offline
I just updated my mirros and rsync mirrors, and here is how the rsync section of my powerpill.json looks like
"rsync": {
"args": [
"--no-motd",
"--progress"
],
"db only": true,
"path": "/usr/bin/rsync",
"servers": [
"rsync://mirror.one.com/archlinux/$repo/os/$archi",
"rsync://mirror.fluxent.de/archlinux/$repo/os/$arch",
"rsync://ftp.nluug.nl/archlinux/$repo/os/$arch",
"rsync://archlinux.honkgong.info/archlinux/$repo/os/$arch",
"rsync://archlinux.polymorf.fr/archlinux/$repo/os/$arch"
]
}
When I run
powerpill -Syy
I get this:
Status Legend:
(OK):download completed.
receiving incremental file list
rsync: change_dir "/core/os/x86_64i" (in archlinux) failed: No such file or directory (2)
rsync: change_dir "/extra/os/x86_64i" (in archlinux) failed: No such file or directory (2)
rsync: change_dir "/community/os/x86_64i" (in archlinux) failed: No such file or directory (2)
rsync: change_dir "/multilib/os/x86_64i" (in archlinux) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1637) [Receiver=3.1.1]
receiving incremental file list
Any idea?
Brottweiler@#archlinux
Offline
I just updated my mirros and rsync mirrors, and here is how the rsync section of my powerpill.json looks like
"servers": [ "rsync://mirror.one.com/archlinux/$repo/os/$archi",
When I run
powerpill -Syy
I get this:
rsync: change_dir "/core/os/x86_64i" (in archlinux) failed: No such file or directory (2) ...
Any idea?
There's an extra "i" at the end of your first rsync mirror ("$archi").
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
raggerv8 wrote:I just updated my mirros and rsync mirrors, and here is how the rsync section of my powerpill.json looks like
"servers": [ "rsync://mirror.one.com/archlinux/$repo/os/$archi",
When I run
powerpill -Syy
I get this:
rsync: change_dir "/core/os/x86_64i" (in archlinux) failed: No such file or directory (2) ...
Any idea?
There's an extra "i" at the end of your first rsync mirror ("$archi").
Welp, thanks.
Brottweiler@#archlinux
Offline
Traceback (most recent call last):
File "/usr/bin/powerpill", line 41, in <module>
import pm2ml
ImportError: No module named 'pm2ml'
Googleing I found this, and I just updated some python packages. Does the pm2ml package in xyne repo need to be rebuild?
I just build and installed the AUR package instead of the one in the repo, and that solved this issue.
Last edited by raggerv8 (2015-10-02 23:23:07)
Brottweiler@#archlinux
Offline
See here.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
@Xyne
Something's up with pm2ml since the last update.
┌[txtsd@dungeon-of-data]─[~] [15-10-08 10:57:26]
└─▶ powerpill -Syu
Traceback (most recent call last):
File "/usr/bin/powerpill", line 5, in <module>
sys.exit(run_main())
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 865, in run_main
return main(args)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 838, in main
pacman_conf = get_pacman_conf(pargs, powerpill_conf)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 320, in get_pacman_conf
pacman_conf = pm2ml.PacmanConfig(pargs['pacman_config'])
File "/usr/lib/python3.5/site-packages/pm2ml.py", line 95, in __init__
self.load_from_file(conf)
File "/usr/lib/python3.5/site-packages/pm2ml.py", line 105, in load_from_file
self[section].setdefault(key, []).append(value)
AttributeError: 'set' object has no attribute 'append'
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
It should be fixed with todays release of pm2ml.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
It should be fixed with todays release of pm2ml.
Now this happens
...
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
dda484|OK | 0B/s|/var/lib/pacman/sync/core.db
a0633b|OK | 0B/s|/var/lib/pacman/sync/infinality-bundle.db.sig
f812d4|OK | 0B/s|/var/lib/pacman/sync/infinality-bundle.db
f6317e|OK | 0B/s|/var/lib/pacman/sync/infinality-bundle-multilib.db
2ffd39|OK | 0B/s|/var/lib/pacman/sync/multilib.db
2e375c|OK | 0B/s|/var/lib/pacman/sync/infinality-bundle-multilib.db.sig
d9be36|OK | 0B/s|/var/lib/pacman/sync/community.db
ea05ea|ERR | 0B/s|/var/lib/pacman/sync/repo-ck.db.sig
554a33|OK | 0B/s|/var/lib/pacman/sync/repo-ck.db
851494|OK | 197KiB/s|/var/lib/pacman/sync/extra.db
Status Legend:
(OK):download completed.(ERR):error occurred.
aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
Traceback (most recent call last):
File "/usr/bin/powerpill", line 5, in <module>
sys.exit(run_main())
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 865, in run_main
return main(args)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 856, in main
download_packages(powerpill)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 824, in download_packages
powerpill.download(pm2ml_args)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 563, in download
pm2ml.resolve_targets_from_arguments(handle, self.pacman_conf, pm2ml_pargs)
File "/usr/lib/python3.5/site-packages/pm2ml.py", line 1087, in resolve_targets_from_arguments
only_needed=pargs.needed,
File "/usr/lib/python3.5/site-packages/pm2ml.py", line 985, in resolve_targets
ignored = set(ignored) | conf.options['IgnorePkg']
TypeError: unsupported operand type(s) for |: 'set' and 'list'
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
It should be degoofed now.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
It should be degoofed now.
Seems to be working fine now
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
┌[txtsd@dungeon-of-data]─[~] [1] [15-10-14 0:03:37]
└─▶ powerpill --powerpill-clean
Traceback (most recent call last):
File "/usr/bin/powerpill", line 5, in <module>
sys.exit(run_main())
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 865, in run_main
return main(args)
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 843, in main
clean(get_cleaning_targets(pacman_conf))
File "/usr/lib/python3.5/site-packages/Powerpill.py", line 790, in clean
lock = XCPF.Lockfile(lockfile)
TypeError: __init__() missing 1 required positional argument: 'name'
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline
Sorry for the delay. It should be fixed now. Thanks!
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Sorry for the delay. It should be fixed now. Thanks!
Thanks. It works now.
Is this expected behavior though. Shouldn't it ask for sudo?
┌[txtsd@dungeon-of-data]─[~] [15-10-19 0:54:21]
└─▶ powerpill --powerpill-clean
ERROR: <class 'XCPF.XcpfError'>: failed to create cache lock file (/var/lib/pacman/sync/db.lck) [[Errno 13] Permission denied: '/var/lib/pacman/sync/db.lck'] [[Errno 13] Permission denied: '/var/lib/pacman/sync/db.lck']
EDIT: It isn't using aria2c anymore. Output is similar to pacman.
Last edited by txtsd (2015-10-19 04:23:20)
[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]
Offline