You are not logged in.

#151 2014-12-30 23:00:47

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

Re: powerpill reborn: pacman wrapper for faster downloads

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

#152 2014-12-31 00:29:22

raggerv8
Member
From: Sweden
Registered: 2010-07-01
Posts: 110
Website

Re: powerpill reborn: pacman wrapper for faster downloads

Lockheed wrote:

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

#153 2014-12-31 07:18:18

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

Re: powerpill reborn: pacman wrapper for faster downloads

raggerv8 wrote:

Run

pacman-db-upgrade

Did the trick. Thanks.

Offline

#154 2014-12-31 11:44:03

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: powerpill reborn: pacman wrapper for faster downloads

    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 wink

Offline

#155 2014-12-31 11:46:11

Lockheed
Member
Registered: 2010-03-16
Posts: 1,512

Re: powerpill reborn: pacman wrapper for faster downloads

TheSaint wrote:
    powerpill-2014.12.tar.xz ... FAILED (unknown public key 1D1F0DC78F173680)
==> ERROR: One or more PGP signatures could not be verified!

The same for pm2ml.

https://wiki.archlinux.org/index.php/ma … e_checking

Offline

#156 2014-12-31 15:07:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: powerpill reborn: pacman wrapper for faster downloads

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

#157 2015-01-01 05:43:43

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: powerpill reborn: pacman wrapper for faster downloads

This doesn't fix it.

# makepkg -si --skippgpcheck

This allowed me to install.


do it good first, it will be faster than do it twice the saint wink

Offline

#158 2015-01-02 16:36:11

adambot
Member
Registered: 2012-01-24
Posts: 32

Re: powerpill reborn: pacman wrapper for faster downloads

TheSaint wrote:

This doesn't fix it.

# makepkg -si --skippgpcheck

This allowed me to install.

I created a .makepkg.conf with the following:

SKIPPGPCHECK=1

which allowed yaourt/other wrappers to build programs without issue

Offline

#159 2015-01-02 16:38:20

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: powerpill reborn: pacman wrapper for faster downloads

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 wink

Offline

#160 2015-04-08 14:18:33

despairblue
Member
From: Germany
Registered: 2008-01-14
Posts: 19

Re: powerpill reborn: pacman wrapper for faster downloads

@Xyne

Xyne wrote:

@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

#161 2015-04-13 23:16:26

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: powerpill reborn: pacman wrapper for faster downloads

@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 StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#162 2015-04-23 11:09:07

raggerv8
Member
From: Sweden
Registered: 2010-07-01
Posts: 110
Website

Re: powerpill reborn: pacman wrapper for faster downloads

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

#163 2015-04-28 16:54:59

raggerv8
Member
From: Sweden
Registered: 2010-07-01
Posts: 110
Website

Re: powerpill reborn: pacman wrapper for faster downloads

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

#164 2015-04-29 22:16:07

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: powerpill reborn: pacman wrapper for faster downloads

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").


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#165 2015-04-30 06:10:01

raggerv8
Member
From: Sweden
Registered: 2010-07-01
Posts: 110
Website

Re: powerpill reborn: pacman wrapper for faster downloads

Xyne wrote:
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

#166 2015-10-02 17:01:08

raggerv8
Member
From: Sweden
Registered: 2010-07-01
Posts: 110
Website

Re: powerpill reborn: pacman wrapper for faster downloads

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

#167 2015-10-06 19:27:17

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: powerpill reborn: pacman wrapper for faster downloads

See here.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#168 2015-10-08 05:34:37

txtsd
Member
Registered: 2014-10-02
Posts: 96
Website

Re: powerpill reborn: pacman wrapper for faster downloads

@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

#169 2015-10-08 15:02:18

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: powerpill reborn: pacman wrapper for faster downloads

It should be fixed with todays release of pm2ml.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#170 2015-10-08 15:08:16

txtsd
Member
Registered: 2014-10-02
Posts: 96
Website

Re: powerpill reborn: pacman wrapper for faster downloads

Xyne wrote:

It should be fixed with todays release of pm2ml.

Now this happens sad

...
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

#171 2015-10-08 15:38:02

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: powerpill reborn: pacman wrapper for faster downloads

It should be degoofed now.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#172 2015-10-08 15:41:57

txtsd
Member
Registered: 2014-10-02
Posts: 96
Website

Re: powerpill reborn: pacman wrapper for faster downloads

Xyne wrote:

It should be degoofed now.

Seems to be working fine now smile


[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] [zsh] Arch user since [2014-09-01 02:09]

Offline

#173 2015-10-13 18:36:17

txtsd
Member
Registered: 2014-10-02
Posts: 96
Website

Re: powerpill reborn: pacman wrapper for faster downloads

┌[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

#174 2015-10-18 17:48:49

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: powerpill reborn: pacman wrapper for faster downloads

Sorry for the delay. It should be fixed now. Thanks!


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#175 2015-10-18 19:26:38

txtsd
Member
Registered: 2014-10-02
Posts: 96
Website

Re: powerpill reborn: pacman wrapper for faster downloads

Xyne wrote:

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

Board footer

Powered by FluxBB