You are not logged in.

#226 2009-05-09 17:42:25

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

Re: Powerpill - A wrapper and download accelerator for Pacman

It works here. Post the exact command that you're using and I'll test it.


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

Offline

#227 2009-05-09 18:13:22

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: Powerpill - A wrapper and download accelerator for Pacman

Xyne wrote:

It works here. Post the exact command that you're using and I'll test it.

.
Ok.
It is quite long and i am a control freak.. :-).

Code:

powerpill -Syu --ignore kdemod3-kdelibs --ignore iwlwifi-3945-ucode --ignore tcl --ignore tk --ignore amsn --ignore kdemod3-kdewebdev-base --ignore kdemod3-kdewebdev-kommander --ignore kdiff3 --ignore bluez --ignore obexftp --ignore openobex --ignore obexfs  --ignore eject --ignore kernel26 --ignore kernel26-firmware --ignore kdemod3-kdebase --ignore kdemod3-ksplash-engine-flexible --ignore krusader

Output:

:: Synchronizing package databases...
downloading core.db.tar.gz...
downloading extra.db.tar.gz...
 community is up to date
 kdemod-legacy is up to date
 xyne-any is up to date
:: The following packages will be downloaded:
  [core]
    binutils cloog-ppl file findutils gcc gcc-libs glibc jfsutils kernel-headers
    kernel26 ppl sysvinit usbutils
  [extra]
    alsa-lib alsa-utils bluez consolekit eric gconf gparted kdebase-runtime
    kdegraphics kdelibs kdepimlibs lftp libgsf libpng neon openoffice-base
    policykit pygtk python python-nose qca qt rsync sane tcl tk trapproto
    tunepimp unrar
  [community]
    amsn geany
:: Number of Packages: 44
:: Total Download Size: 387.91 MiB
:: Total Installed Size: 991.89 MiB

If i am using pacman directly, the output will be:

Targets (39): kernel-headers-2.6.29.1-1  glibc-2.9-7  alsa-lib-1.0.20-1  alsa-utils-1.0.20-1  binutils-2.19.1-2  policykit-0.9-8
              consolekit-0.3.0-4  eric-4.3.3-1  file-5.03-1  findutils-4.4.1-1  gcc-libs-4.4.0-1  ppl-0.10.2-2  cloog-ppl-0.15.3-1
              gcc-4.4.0-1  gconf-2.26.1-1  geany-0.17-1  gparted-0.4.5-1  jfsutils-1.1.14-1  kdelibs-4.2.3-1
              kdebase-runtime-4.2.3-1  libpng-1.2.36-1  qt-4.5.1-2  qca-2.0.2-1  sane-1.0.20-1  kdegraphics-4.2.3-1
              kdepimlibs-4.2.3-2  lftp-3.7.13-1  libgsf-1.14.13-1  neon-0.28.4-1  python-2.6.2-1  openoffice-base-3.1.0-1
              pygtk-2.14.1-4  python-nose-0.11.0-1  rsync-3.0.6-1  sysvinit-2.86-5  trapproto-3.4.3-2  tunepimp-0.5.3-6
              unrar-3.9.2-1  usbutils-0.81-1

Total Download Size:    350.34 MB
Total Installed Size:   877.97 MB

BTW, I have moved /root/.config/powerpill to /root/.config/powerpillold. That should be ok right?

I knew that powerpill will pass-over control to pacman after the download complete which will then ignore the installation but I have recalled that the previous version of powerpill will also ignore the download command.

Offline

#228 2009-05-09 18:35:02

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

Re: Powerpill - A wrapper and download accelerator for Pacman

I think I've fixed it. It was due to one of the changes that I made in the last update. Let me know if the error persists.


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

Offline

#229 2009-05-10 00:03:11

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: Powerpill - A wrapper and download accelerator for Pacman

Xyne wrote:

I think I've fixed it. It was due to one of the changes that I made in the last update. Let me know if the error persists.

Hi Xyne. Did you bump the version?

Powerpill shows the following:

powerpill -Sy powerpill
:: Synchronizing package databases...
 core is up to date
downloading extra.db.tar.gz...
 community is up to date
 kdemod-legacy is up to date
downloading xyne-any.db.tar.gz...
warning: powerpill-16.0-11 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): powerpill-16.0-11

Total Download Size:    0.00 MB
Total Installed Size:   0.01 MB

Offline

#230 2009-05-10 00:52:47

onguarde
Member
Registered: 2008-09-14
Posts: 144

Re: Powerpill - A wrapper and download accelerator for Pacman

I'm still experiencing the following error.

error: invalid pacman configuration file specified at /usr/share/perl5/vendor_perl/Xyne/Arch/PacmanConf.pm line 114, <$fh> line 46.

# pacman -Qi perl-xyne-arch powerpill pacman |grep Version

Version        : 0.58-1
Version        : 16.0-11
Version        : 3.2.2-1

The weird thing is even when running pacman alone, I still get powerpill errors.

pacman -Ss nvidia

error: config file /root/.config/powerpill/reflector_mirrorlist could not be read.
error: config file /root/.config/powerpill/reflector_mirrorlist could not be read.
error: config file /root/.config/powerpill/reflector_mirrorlist could not be read.
extra/nouveau-drm 20090429-1 [0.14 MB]
    nvidia opensource X driver

Running yaourt searches will only show packages from aur.

f hello

error: invalid pacman configuration file specified at /usr/share/perl5/vendor_perl/Xyne/Arch/PacmanConf.pm line 114, <$fh> line 46.
1 aur/hello 2.4-1 (3)
    The GNU Hello program produces a familiar, friendly greeting
2 aur/meka 0.72-1 (0)
    A multi-machine emulator that supports early Sega hardware, Colecovision and Othello Multivision.

Clearly, I'm stumped! I've tried reinstalling all the packages to no avail.

Offline

#231 2009-05-10 02:35:07

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

Re: Powerpill - A wrapper and download accelerator for Pacman

@archlinuxsagi
perl-xyne-arch contains the powerpill backend. The latest version is 0.58.

@onguarde
Check your pacman configuration file at /etc/pacman.conf. It seems that you have the following line in it under [core], [extra] and [community]:

Include = /root/.config/powerpill/reflector_mirrorlist

but that file doesn't exist. Either remove those lines or recreate reflector_mirrorlist.


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

Offline

#232 2009-05-10 05:07:43

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: Powerpill - A wrapper and download accelerator for Pacman

Xyne wrote:

@archlinuxsagi
perl-xyne-arch contains the powerpill backend. The latest version is 0.58.

.
Yeah looks iike perl-xyne-arch 0.59 solved the issue.

Offline

#233 2009-05-11 15:10:01

onguarde
Member
Registered: 2008-09-14
Posts: 144

Re: Powerpill - A wrapper and download accelerator for Pacman

Xyne wrote:

@archlinuxsagi
perl-xyne-arch contains the powerpill backend. The latest version is 0.58.

@onguarde
Check your pacman configuration file at /etc/pacman.conf. It seems that you have the following line in it under [core], [extra] and [community]:

Include = /root/.config/powerpill/reflector_mirrorlist

but that file doesn't exist. Either remove those lines or recreate reflector_mirrorlist.

Ah, my bad. Thanks.

error: invalid pacman configuration file specified at /usr/share/perl5/vendor_perl/Xyne/Arch/PacmanConf.pm line 114, <$fh> line 53.

The error seems to have dissappeared also. Searches now work for packages besides the aur. Haven't tried actual powerpill downloads though.

Thanks a bunch!

p.s idea: just though it'll be nice if powerpill can be used for aur packages as well...

Last edited by onguarde (2009-05-11 15:15:18)

Offline

#234 2009-05-11 17:52:51

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: Powerpill - A wrapper and download accelerator for Pacman

onguarde wrote:

idea: just though it'll be nice if powerpill can be used for aur packages as well...

you can use yaourt on top of pacman - for AUR pkg's using powerpill will give nothing - AUR will use one server to download PKGBUILD, PKGBUILD will use one server to download source, so there is no space for speed gain smile


Proud ex-maintainer of firefox-pgo

Offline

#235 2009-05-11 17:56:32

onguarde
Member
Registered: 2008-09-14
Posts: 144

Re: Powerpill - A wrapper and download accelerator for Pacman

yeah that's unfortunate. Wouldn't it be great if they could all download and build at the same time? It's already possible if you run yaourt simultaneously in different terminals.

yaourt -S nvidia-beta
yaourt -S .....
.....

Only pacman can't be called more than once. Afterall, packages from aur takes the most time to install/build.

Maybe I should forward this to wain....

Last edited by onguarde (2009-05-11 17:58:52)

Offline

#236 2009-05-11 18:59:47

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

Re: Powerpill - A wrapper and download accelerator for Pacman

Yaourt could benefit from simultaneous downloads and segmented downloads of source code but most downloads are from a single server so such an implementation would be selfish due to the increased load on the servers to the detriment of others.


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

Offline

#237 2009-05-11 20:11:28

Ferhiord
Member
From: Moscow, Russia
Registered: 2007-08-14
Posts: 39

Re: Powerpill - A wrapper and download accelerator for Pacman

i have some problem during upgrade, if powerpill fails checking hash-sum it wants to redownload ALL packages.

:: Number of Packages: 22
:: Total Download Size: 94.84 MiB
:: Total Installed Size: 603.90 MiB
:: Proceed with download? [Y/n] 
--> progress: 22 of 22 files, 93.24 MiB of 94.84 MiB (98%), 0 B/s, ETA: N/A           
==> VERIFIED /var/cache/pacman/pkg/klibc-extras-2.5-3-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/archlinux-artwork-1.3-1-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/policykit-0.9-9-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/libraw1394-2.0.2-1-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/klibc-kbd-1.15.20080312-9-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/dbus-1.2.4.6permissive-1-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/transmission-gtk-1.60-1-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/liblrdf-0.4.0-6-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/dhcpcd-5.0.1-1-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/klibc-udev-141-2-x86_64.pkg.tar.gz
==> WARNING /var/cache/pacman/pkg/ghc-6.10.3-1-x86_64.pkg.tar.gz: checksum failed
:: A matching aria2 control file was found.
:: It may be possible to resume this download.
:: Do you want to delete the files anyway? [Y/n] 
==> VERIFIED /var/cache/pacman/pkg/coreutils-7.4-1-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/gzip-1.3.12-6-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/alsa-plugins-1.0.20-1.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/klibc-module-init-tools-3.5-2-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/klibc-1.5.15-2-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/xorg-server-utils-7.4-6-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/bluez-4.39-1-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/dbus-core-1.2.4.6permissive-1-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/xaw3d-1.5E-2-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/file-5.03-2-x86_64.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/consolekit-0.3.0-5-x86_64.pkg.tar.gz
:: Do you want to retry the download? [Y/n] 
--> progress: 21 of 22 files, 19.82 MiB of 94.84 MiB (20%), 167.64 kiB/s, ETA: 7:38

Sorry, if my English is not very well.

Offline

#238 2009-05-11 20:27:52

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

Re: Powerpill - A wrapper and download accelerator for Pacman

It's not redownloading all packages. The progress bar shows that it's only downloading 1 packages and that the other 21 packages have already completed. The size also shows that it's only downloading ghc (which is about 90 MB). Powerpill does not redownload packages in the cache (unless they fail a checksum and you choose to delete them).


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

Offline

#239 2009-05-23 08:43:14

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: Powerpill - A wrapper and download accelerator for Pacman

Hi xyne. Although my download speed is quite fast with powerpill, one think is still unclear to me. Which file does powerpill use for the mirrors list, since I have moved/delete /root/.config/powerpill?   Which mirrorlist is it using if i didn't touch /etc/powerpill.conf?

Offline

#240 2009-05-23 20:07:47

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

Re: Powerpill - A wrapper and download accelerator for Pacman

It uses whatever mirrorlists you specify in pacman.conf. If you specify additional mirrors in powerpill.conf, it adds those to the pool.


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

Offline

#241 2009-06-01 14:55:45

XezzeX
Member
Registered: 2009-06-01
Posts: 6

Re: Powerpill - A wrapper and download accelerator for Pacman

Thank you for the great Powerpill, it's a joy to use, but I've just seen some odd (at least to me) behavior when installing Eclipse and Mercurial (output below).
It seems like Powerpill doesn't realize that OpenJDK6 and XDG-utils have to be installed too, and therefore just downloads Eclipse, Mercurial and Unzip.
This leaves it to Pacman to download XDG-utils and OpenJDK6 with the resulting longer download time.
Shouldn't the dependency resolving of Powerpill download those two too, or am I missing something?

[root@pandemonium X11]# powerpill -S eclipse mercurial
:: The following packages will be downloaded:
  [extra]
    eclipse mercurial unzip
:: Number of Packages: 3
:: Total Download Size: 152.75 MiB
:: Total Installed Size: 175.09 MiB
:: Proceed with download? [Y/n] 
--> progress: 0 of 3 files, 1.18 MiB of 152.75 MiB (0%), 982.15 kiB/s, ETA: 2:3aria2: 2009-06-01 16:32:30.481730 NOTICE - Verification finished successfully. file=/var/cache/pacman/pkg/unzip-5.52-4-i686.pkg.tar.gz
--> progress: 0 of 3 files, 1.18 MiB of 152.75 MiB (0%), 982.15 kiB/s, ETA: 2:3aria2: 2009-06-01 16:32:30.482149 NOTICE - Download complete: /var/cache/pacman/pkg/unzip-5.52-4-i686.pkg.tar.gz
--> progress: 0 of 3 files, 1.18 MiB of 152.75 MiB (0%), 982.15 kiB/s, ETA: 2:3--> progress: 1 of 3 files, 2.59 MiB of 152.75 MiB (1%), 1.41 MiB/s, ETA: 1:46 aria2: 2009-06-01 16:32:32.048531 ERROR - CUID#6 - Download aborted. URI=http://ftp.sh.cvut.cz/MIRRORS/arch/extra/os/i686/mercurial-1.2.1-1-i686.pkg.tar.gz
--> progress: 1 of 3 files, 3.82 MiB of 152.75 MiB (2%), 1.23 MiB/s, ETA: 2:00 aria2: Exception: URI=http://ftp.sh.cvut.cz/WEB/error/conditionsOfUse.html                       
--> progress: 1 of 3 files, 3.82 MiB of 152.75 MiB (2%), 1.23 MiB/s, ETA: 2:00 aria2:   -> Invalid range header. Request: 0-0/1,548,261, Response: 0-710/711                    
--> progress: 1 of 3 files, 3.82 MiB of 152.75 MiB (2%), 1.23 MiB/s, ETA: 2:00 aria2: 2009-06-01 16:32:32.050034 ERROR - CUID#11 - Download aborted. URI=http://ftp.sh.cvut.cz/MIRRORS/arch/extra/os/i686/eclipse-3.4.2-1-i686.pkg.tar.gz
--> progress: 1 of 3 files, 3.82 MiB of 152.75 MiB (2%), 1.23 MiB/s, ETA: 2:00 aria2: Exception: URI=http://ftp.sh.cvut.cz/WEB/error/conditionsOfUse.html                       
--> progress: 1 of 3 files, 3.82 MiB of 152.75 MiB (2%), 1.23 MiB/s, ETA: 2:00 aria2:   -> The response status is not successful. status=416                                    
--> progress: 1 of 3 files, 3.82 MiB of 152.75 MiB (2%), 1.23 MiB/s, ETA: 2:00 --> progress: 1 of 3 files, 11.06 MiB of 152.75 MiB (7%), 1.27 MiB/s, ETA: 1:51--> progress: 1 of 3 files, 12.27 MiB of 152.75 MiB (8%), 1.21 MiB/s, ETA: 1:56--> progress: 1 of 3 files, 13.50 MiB of 152.75 MiB (8%), 1.23 MiB/s, ETA: 1:53--> progress: 1 of 3 files, 14.57 MiB of 152.75 MiB (9%), 1.07 MiB/s, ETA: 2:09--> progress: 1 of 3 files, 15.97 MiB of 152.75 MiB (10%), 1.40 MiB/s, ETA: 1:3--> progress: 1 of 3 files, 17.20 MiB of 152.75 MiB (11%), 1.23 MiB/s, ETA: 1:5aria2: 2009-06-01 16:32:43.312645 NOTICE - Verification finished successfully. file=/var/cache/pacman/pkg/mercurial-1.2.1-1-i686.pkg.tar.gz
--> progress: 1 of 3 files, 17.20 MiB of 152.75 MiB (11%), 1.23 MiB/s, ETA: 1:5aria2: 2009-06-01 16:32:43.313009 NOTICE - Download complete: /var/cache/pacman/pkg/mercurial-1.2.1-1-i686.pkg.tar.gz
--> progress: 1 of 3 files, 17.20 MiB of 152.75 MiB (11%), 1.23 MiB/s, ETA: 1:5--> progress: 2 of 3 files, 18.43 MiB of 152.75 MiB (12%), 1.23 MiB/s, ETA: 1:4--> progress: 2 of 3 files, 19.63 MiB of 152.75 MiB (12%), 1.20 MiB/s, ETA: 1:5--> progress: 2 of 3 files, 20.84 MiB of 152.75 MiB (13%), 1.20 MiB/s, ETA: 1:4--> progress: 2 of 3 files, 22.06 MiB of 152.75 MiB (14%), 1.22 MiB/s, ETA: 1:4--> progress: 2 of 3 files, 23.28 MiB of 152.75 MiB (15%), 1.22 MiB/s, ETA: 1:4--> progress: 2 of 3 files, 24.49 MiB of 152.75 MiB (16%), 1.21 MiB/s, ETA: 1:4--> progress: 2 of 3 files, 25.65 MiB of 152.75 MiB (16%), 1.17 MiB/s, ETA: 1:4--> progress: 2 of 3 files, 26.94 MiB of 152.75 MiB (17%), 1.28 MiB/s, ETA: 1:3--> progress: 2 of 3 files, 28.14 MiB of 152.75 MiB (18%), 1.19 MiB/s, ETA: 1:4--> progress: 2 of 3 files, 29.33 MiB of 152.75 MiB (19%), 1.19 MiB/s, ETA: 1:4--> progress: 2 of 3 files, 30.58 MiB of 152.75 MiB (20%), 1.25 MiB/s, ETA: 1:3--> progress: 2 of 3 files, 31.81 MiB of 152.75 MiB (20%), 1.23 MiB/s, ETA: 1:3--> progress: 2 of 3 files, 33.02 MiB of 152.75 MiB (21%), 1.21 MiB/s, ETA: 1:3--> progress: 2 of 3 files, 35.43 MiB of 152.75 MiB (23%), 1.20 MiB/s, ETA: 1:3--> progress: 2 of 3 files, 36.70 MiB of 152.75 MiB (24%), 1.27 MiB/s, ETA: 1:3--> progress: 2 of 3 files, 37.92 MiB of 152.75 MiB (24%), 1.23 MiB/s, ETA: 1:3--> progress: 2 of 3 files, 39.14 MiB of 152.75 MiB (25%), 1.22 MiB/s, ETA: 1:3--> progress: 2 of 3 files, 40.38 MiB of 152.75 MiB (26%), 1.23 MiB/s, ETA: 1:3--> progress: 2 of 3 files, 41.56 MiB of 152.75 MiB (27%), 1.18 MiB/s, ETA: 1:3--> progress: 2 of 3 files, 42.67 MiB of 152.75 MiB (27%), 1.10 MiB/s, ETA: 1:3--> progress: 2 of 3 files, 43.98 MiB of 152.75 MiB (28%), 1.31 MiB/s, ETA: 1:2--> progress: 2 of 3 files, 45.22 MiB of 152.75 MiB (29%), 1.24 MiB/s, ETA: 1:2--> progress: 2 of 3 files, 46.35 MiB of 152.75 MiB (30%), 1.13 MiB/s, ETA: 1:3--> progress: 2 of 3 files, 47.67 MiB of 152.75 MiB (31%), 1.32 MiB/s, ETA: 1:1--> progress: 2 of 3 files, 48.87 MiB of 152.75 MiB (31%), 1.19 MiB/s, ETA: 1:2--> progress: 2 of 3 files, 50.03 MiB of 152.75 MiB (32%), 1.16 MiB/s, ETA: 1:2--> progress: 2 of 3 files, 51.34 MiB of 152.75 MiB (33%), 1.31 MiB/s, ETA: 1:1--> progress: 2 of 3 files, 52.55 MiB of 152.75 MiB (34%), 1.20 MiB/s, ETA: 1:2--> progress: 2 of 3 files, 53.78 MiB of 152.75 MiB (35%), 1.23 MiB/s, ETA: 1:2--> progress: 2 of 3 files, 54.99 MiB of 152.75 MiB (36%), 1.21 MiB/s, ETA: 1:2--> progress: 2 of 3 files, 56.23 MiB of 152.75 MiB (36%), 1.24 MiB/s, ETA: 1:1--> progress: 2 of 3 files, 57.43 MiB of 152.75 MiB (37%), 1.20 MiB/s, ETA: 1:1--> progress: 2 of 3 files, 58.64 MiB of 152.75 MiB (38%), 1.21 MiB/s, ETA: 1:1--> progress: 2 of 3 files, 59.87 MiB of 152.75 MiB (39%), 1.23 MiB/s, ETA: 1:1--> progress: 2 of 3 files, 60.97 MiB of 152.75 MiB (39%), 1.10 MiB/s, ETA: 1:2--> progress: 2 of 3 files, 62.30 MiB of 152.75 MiB (40%), 1.32 MiB/s, ETA: 1:0--> progress: 2 of 3 files, 63.52 MiB of 152.75 MiB (41%), 1.23 MiB/s, ETA: 1:1--> progress: 2 of 3 files, 64.68 MiB of 152.75 MiB (42%), 1.16 MiB/s, ETA: 1:1--> progress: 2 of 3 files, 65.90 MiB of 152.75 MiB (43%), 1.22 MiB/s, ETA: 1:1--> progress: 2 of 3 files, 67.08 MiB of 152.75 MiB (43%), 1.17 MiB/s, ETA: 1:1--> progress: 2 of 3 files, 68.28 MiB of 152.75 MiB (44%), 1.19 MiB/s, ETA: 1:1--> progress: 2 of 3 files, 69.39 MiB of 152.75 MiB (45%), 1.12 MiB/s, ETA: 1:1--> progress: 2 of 3 files, 70.76 MiB of 152.75 MiB (46%), 1.37 MiB/s, ETA: 59 --> progress: 2 of 3 files, 71.96 MiB of 152.75 MiB (47%), 1.19 MiB/s, ETA: 1:0--> progress: 2 of 3 files, 73.19 MiB of 152.75 MiB (47%), 1.23 MiB/s, ETA: 1:0--> progress: 2 of 3 files, 74.44 MiB of 152.75 MiB (48%), 1.26 MiB/s, ETA: 1:0--> progress: 2 of 3 files, 75.66 MiB of 152.75 MiB (49%), 1.22 MiB/s, ETA: 1:0--> progress: 2 of 3 files, 76.83 MiB of 152.75 MiB (50%), 1.16 MiB/s, ETA: 1:0--> progress: 2 of 3 files, 78.08 MiB of 152.75 MiB (51%), 1.26 MiB/s, ETA: 59 --> progress: 2 of 3 files, 79.23 MiB of 152.75 MiB (51%), 1.14 MiB/s, ETA: 1:0--> progress: 2 of 3 files, 80.28 MiB of 152.75 MiB (52%), 1.05 MiB/s, ETA: 1:0--> progress: 2 of 3 files, 81.65 MiB of 152.75 MiB (53%), 1.37 MiB/s, ETA: 52 --> progress: 2 of 3 files, 82.89 MiB of 152.75 MiB (54%), 1.24 MiB/s, ETA: 56 --> progress: 2 of 3 files, 84.11 MiB of 152.75 MiB (55%), 1.22 MiB/s, ETA: 56 --> progress: 2 of 3 files, 85.34 MiB of 152.75 MiB (55%), 1.23 MiB/s, ETA: 54 --> progress: 2 of 3 files, 86.54 MiB of 152.75 MiB (56%), 1.20 MiB/s, ETA: 55 --> progress: 2 of 3 files, 87.74 MiB of 152.75 MiB (57%), 1.20 MiB/s, ETA: 54 --> progress: 2 of 3 files, 89.00 MiB of 152.75 MiB (58%), 1.25 MiB/s, ETA: 50 --> progress: 2 of 3 files, 90.21 MiB of 152.75 MiB (59%), 1.21 MiB/s, ETA: 51 --> progress: 2 of 3 files, 91.42 MiB of 152.75 MiB (59%), 1.21 MiB/s, ETA: 50 --> progress: 2 of 3 files, 92.65 MiB of 152.75 MiB (60%), 1.23 MiB/s, ETA: 48 --> progress: 2 of 3 files, 93.82 MiB of 152.75 MiB (61%), 1.18 MiB/s, ETA: 50 --> progress: 2 of 3 files, 95.07 MiB of 152.75 MiB (62%), 1.25 MiB/s, ETA: 46 --> progress: 2 of 3 files, 96.30 MiB of 152.75 MiB (63%), 1.23 MiB/s, ETA: 45 --> progress: 2 of 3 files, 97.54 MiB of 152.75 MiB (63%), 1.23 MiB/s, ETA: 44 --> progress: 2 of 3 files, 98.74 MiB of 152.75 MiB (64%), 1.19 MiB/s, ETA: 45 --> progress: 2 of 3 files, 99.90 MiB of 152.75 MiB (65%), 1.16 MiB/s, ETA: 45 --> progress: 2 of 3 files, 101.21 MiB of 152.75 MiB (66%), 1.31 MiB/s, ETA: 39--> progress: 2 of 3 files, 102.44 MiB of 152.75 MiB (67%), 1.23 MiB/s, ETA: 40--> progress: 2 of 3 files, 103.63 MiB of 152.75 MiB (67%), 1.19 MiB/s, ETA: 41--> progress: 2 of 3 files, 104.87 MiB of 152.75 MiB (68%), 1.23 MiB/s, ETA: 38--> progress: 2 of 3 files, 106.08 MiB of 152.75 MiB (69%), 1.21 MiB/s, ETA: 38--> progress: 2 of 3 files, 107.30 MiB of 152.75 MiB (70%), 1.22 MiB/s, ETA: 37--> progress: 2 of 3 files, 108.53 MiB of 152.75 MiB (71%), 1.23 MiB/s, ETA: 35--> progress: 2 of 3 files, 109.71 MiB of 152.75 MiB (71%), 1.17 MiB/s, ETA: 36--> progress: 2 of 3 files, 110.83 MiB of 152.75 MiB (72%), 1.12 MiB/s, ETA: 37--> progress: 2 of 3 files, 112.13 MiB of 152.75 MiB (73%), 1.30 MiB/s, ETA: 31--> progress: 2 of 3 files, 113.39 MiB of 152.75 MiB (74%), 1.25 MiB/s, ETA: 31--> progress: 2 of 3 files, 114.62 MiB of 152.75 MiB (75%), 1.23 MiB/s, ETA: 30--> progress: 2 of 3 files, 115.85 MiB of 152.75 MiB (75%), 1.23 MiB/s, ETA: 30--> progress: 2 of 3 files, 117.03 MiB of 152.75 MiB (76%), 1.19 MiB/s, ETA: 30--> progress: 2 of 3 files, 118.29 MiB of 152.75 MiB (77%), 1.26 MiB/s, ETA: 27--> progress: 2 of 3 files, 119.53 MiB of 152.75 MiB (78%), 1.23 MiB/s, ETA: 26--> progress: 2 of 3 files, 120.55 MiB of 152.75 MiB (78%), 1.03 MiB/s, ETA: 31--> progress: 2 of 3 files, 121.93 MiB of 152.75 MiB (79%), 1.38 MiB/s, ETA: 22--> progress: 2 of 3 files, 123.07 MiB of 152.75 MiB (80%), 1.14 MiB/s, ETA: 26--> progress: 2 of 3 files, 124.25 MiB of 152.75 MiB (81%), 1.18 MiB/s, ETA: 24--> progress: 2 of 3 files, 125.46 MiB of 152.75 MiB (82%), 1.21 MiB/s, ETA: 22--> progress: 2 of 3 files, 126.65 MiB of 152.75 MiB (82%), 1.19 MiB/s, ETA: 21--> progress: 2 of 3 files, 127.83 MiB of 152.75 MiB (83%), 1.18 MiB/s, ETA: 21--> progress: 2 of 3 files, 129.07 MiB of 152.75 MiB (84%), 1.23 MiB/s, ETA: 19--> progress: 2 of 3 files, 130.32 MiB of 152.75 MiB (85%), 1.25 MiB/s, ETA: 17--> progress: 2 of 3 files, 131.52 MiB of 152.75 MiB (86%), 1.19 MiB/s, ETA: 17--> progress: 2 of 3 files, 132.76 MiB of 152.75 MiB (86%), 1.24 MiB/s, ETA: 16--> progress: 2 of 3 files, 133.94 MiB of 152.75 MiB (87%), 1.18 MiB/s, ETA: 15--> progress: 2 of 3 files, 135.03 MiB of 152.75 MiB (88%), 1.09 MiB/s, ETA: 16--> progress: 2 of 3 files, 136.18 MiB of 152.75 MiB (89%), 1.15 MiB/s, ETA: 14--> progress: 2 of 3 files, 137.35 MiB of 152.75 MiB (89%), 1.16 MiB/s, ETA: 13--> progress: 2 of 3 files, 138.59 MiB of 152.75 MiB (90%), 1.24 MiB/s, ETA: 11--> progress: 2 of 3 files, 139.77 MiB of 152.75 MiB (91%), 1.18 MiB/s, ETA: 11--> progress: 2 of 3 files, 141.03 MiB of 152.75 MiB (92%), 1.26 MiB/s, ETA: 9 --> progress: 2 of 3 files, 142.24 MiB of 152.75 MiB (93%), 1.21 MiB/s, ETA: 8 --> progress: 2 of 3 files, 143.42 MiB of 152.75 MiB (93%), 1.18 MiB/s, ETA: 7 --> progress: 2 of 3 files, 144.65 MiB of 152.75 MiB (94%), 1.23 MiB/s, ETA: 6 --> progress: 2 of 3 files, 145.87 MiB of 152.75 MiB (95%), 1.22 MiB/s, ETA: 5 --> progress: 3 of 3 files, 147.09 MiB of 152.75 MiB (96%), 1.22 MiB/s, ETA: 4 --> progress: 3 of 3 files, 148.26 MiB of 152.75 MiB (97%), 1.17 MiB/s, ETA: 3 --> progress: 3 of 3 files, 149.43 MiB of 152.75 MiB (97%), 1.17 MiB/s, ETA: 2 --> progress: 3 of 3 files, 150.58 MiB of 152.75 MiB (98%), 1.15 MiB/s, ETA: 1 --> progress: 3 of 3 files, 151.48 MiB of 152.75 MiB (99%), 919.40 kiB/s, ETA: --> progress: 3 of 3 files, 152.43 MiB of 152.75 MiB (99%), 975.33 kiB/s, ETA: --> progress: 3 of 3 files, 152.75 MiB of 152.75 MiB (100%), 317.64 kiB/s, ETA:--> progress: 3 of 3 files, 152.75 MiB of 152.75 MiB (100%), 0 B/s, ETA: N/A   aria2: 2009-06-01 16:34:45.522901 NOTICE - Verification finished successfully. file=/var/cache/pacman/pkg/eclipse-3.4.2-1-i686.pkg.tar.gz
--> progress: 3 of 3 files, 152.75 MiB of 152.75 MiB (100%), 0 B/s, ETA: N/A   aria2: 2009-06-01 16:34:45.523287 NOTICE - Download complete: /var/cache/pacman/pkg/eclipse-3.4.2-1-i686.pkg.tar.gz
--> progress: 3 of 3 files, 152.75 MiB of 152.75 MiB (100%), 0 B/s, ETA: N/A   aria2: Download Results:                                                                       
--> progress: 3 of 3 files, 152.75 MiB of 152.75 MiB (100%), 0 B/s, ETA: N/A   aria2: gid|stat|avg speed  |path/URI                                                           
--> progress: 3 of 3 files, 152.75 MiB of 152.75 MiB (100%), 0 B/s, ETA: N/A   aria2: ===+====+===========+==========================================================         
--> progress: 3 of 3 files, 152.75 MiB of 152.75 MiB (100%), 0 B/s, ETA: N/A   aria2:   3|  OK|  31.1KiB/s|/var/cache/pacman/pkg/unzip-5.52-4-i686.pkg.tar.gz                 
--> progress: 3 of 3 files, 152.75 MiB of 152.75 MiB (100%), 0 B/s, ETA: N/A   aria2:   1|  OK|  90.9KiB/s|/var/cache/pacman/pkg/mercurial-1.2.1-1-i686.pkg.tar.gz            
--> progress: 3 of 3 files, 152.75 MiB of 152.75 MiB (100%), 0 B/s, ETA: N/A   aria2:   2|  OK|   1.1MiB/s|/var/cache/pacman/pkg/eclipse-3.4.2-1-i686.pkg.tar.gz              
--> progress: 3 of 3 files, 152.75 MiB of 152.75 MiB (100%), 0 B/s, ETA: N/A   aria2: Status Legend:                                                                          
--> progress: 3 of 3 files, 152.75 MiB of 152.75 MiB (100%), 0 B/s, ETA: N/A   aria2:  (OK):download completed.                                                               
--> progress: 3 of 3 files, 152.75 MiB of 152.75 MiB (100%), 0 B/s, ETA: N/A                 
==> VERIFIED /var/cache/pacman/pkg/mercurial-1.2.1-1-i686.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/eclipse-3.4.2-1-i686.pkg.tar.gz
==> VERIFIED /var/cache/pacman/pkg/unzip-5.52-4-i686.pkg.tar.gz
--> All downloads have finished successfully
resolving dependencies...
warning: provider package was selected (openjdk6 provides java-environment)
looking for inter-conflicts...

Targets (5): xdg-utils-1.0.2-1  openjdk6-1.5_hg20090429-1  unzip-5.52-4  
             eclipse-3.4.2-1  mercurial-1.2.1-1  

Total Download Size:    68,49 MB
Total Installed Size:   324,81 MB

Proceed with installation? [Y/n] 
:: Retrieving packages from extra...
 xdg-utils-1.0.2-1         44,3K   58,7K/s 00:00:01 [####################] 100%
 openjdk6-1.5_hg2009...    68,4M  418,6K/s 00:02:47 [####################] 100%
checking package integrity...
(5/5) checking for file conflicts                   [####################] 100%
(1/5) installing xdg-utils                          [####################] 100%
(2/5) installing openjdk6                           [####################] 100%
(3/5) installing unzip                              [####################] 100%
(4/5) installing eclipse                            [####################] 100%
(5/5) installing mercurial                          [####################] 100%

Offline

#242 2009-06-01 17:04:44

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

Re: Powerpill - A wrapper and download accelerator for Pacman

@XezzeX
Update to the latest version of perl-xyne-arch (>=0.60) and it should work. There was a bug in the code that prevented powerpill from recognizing the provider package (eclipse depends on "java-environment", not on any particular package).

$powerpill -S eclipse mercurial
:: The following packages will be downloaded:
  [extra]
    eclipse mercurial openjdk6 unzip xdg-utils
:: Number of Packages: 5
:: Total Download Size: 219.68 MiB
:: Total Installed Size: 323.05 MiB
:: Proceed with download? [Y/n]

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

Offline

#243 2009-06-01 19:56:04

XezzeX
Member
Registered: 2009-06-01
Posts: 6

Re: Powerpill - A wrapper and download accelerator for Pacman

Nice to know it's fixed in a newer version. I had perl-xyne-arch-0.59-1 but have just upgraded to 0.60-1 on your recommendation.
Keep up the good work with Powerpill.

Offline

#244 2009-06-02 22:34:44

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Powerpill - A wrapper and download accelerator for Pacman

I have a very strange error here, and I have the latest Powerpill I believe (powerpill -Qsl powerpill:  local/powerpill 16.0-11).  It works fine for just querying the local DB from pacman but when I went to do "powerpill -Syu" I got this:

 powerpill -Syu ... /bin/bash: line 1: sudo: command not found

Thinking that something I did was wrong, I checked & re-checked my powerpill.conf file, which I had edited by unhashing only 1 line.  Nothing in there references sudo and I don't have sudo installed.   To make sure it was not an issue with outdated configs or something, I uninstalled powerpill + all its configs then re-installed it.  I left the configs as default but now if I just do a powerpill -Su I get this:

Can't exec "sudo": No such file or directory at /usr/share/perl5/vendor_perl/Xyne/Arch/Pacman.pm line 298

Bug or PEBKAC error?

Offline

#245 2009-06-03 03:32:58

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

Re: Powerpill - A wrapper and download accelerator for Pacman

@MoonSwan
You need root privileges to update the sync database and download packages to /var/cache/pacman/pkg. If you don't have sudo installed, you need to run powerpill as root ("su root") to perform such operations.

I suppose I can add an error message to the source code and add "sudo" as an optdepend in the PKGBUILD to make this clearer but other apps/packages seem to assume the presence of sudo (e.g. makepkg, yaourt).


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

Offline

#246 2009-06-03 04:02:26

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: Powerpill - A wrapper and download accelerator for Pacman

Xyne wrote:

I suppose I can add an error message to the source code and add "sudo" as an optdepend in the PKGBUILD to make this clearer but other apps/packages seem to assume the presence of sudo (e.g. makepkg, yaourt).

Based on the situation MoonSwan gave, it seems like you hardcoded sudo into your app, so personally I'd add sudo somewhere in the deps.  It's one thing for an app to require root privileges, but it's another thing for the app to directly call sudo.  e.g. `pacman -Syu` requires root, but it doesn't automatically execute sudo if you call it with insufficient privileges.

But really, it's not that big of a deal either way.

Last edited by tdy (2009-06-03 04:04:32)

Offline

#247 2009-06-03 04:25:21

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Powerpill - A wrapper and download accelerator for Pacman

Nevermind, Pebkac error I fixed it.  Was logged in to the wrong terminal.  Jeez if this continues I'm going to turn in my Arch card & head to Ubuntu.

Last edited by MoonSwan (2009-06-03 04:38:04)

Offline

#248 2009-06-03 04:43:23

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

Re: Powerpill - A wrapper and download accelerator for Pacman

@tdy
It only uses sudo when an operation requires root privileges and the current user isn't root. I've added "sudo" to the optdepends and added a message to make this clearer (although it's never come up as an issue before) but it can be run without sudo without issue (which has been confirmed by other users who don't have "sudo" installed).


@MoonSwan
I hadn't understood that you were running it as root. Check that perl is detecting your user as root when running it as root:

perl -e 'print $ENV{"USER"}'

"sudo" is only prepended when an operation requires root privileges and the user is not "root" according to that environment variable.

*edit*

MoonSwan wrote:

Nevermind, Pebkac error I fixed it.  Was logged in to the wrong terminal.  Jeez if this continues I'm going to turn in my Arch card & head to Ubuntu.

XD

All was not in vain though... I now have a spiffy error message and an extra sanity check in Pacman.pm. wink

Last edited by Xyne (2009-06-03 04:46:16)


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

Offline

#249 2009-06-03 04:45:08

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

Re: Powerpill - A wrapper and download accelerator for Pacman

*edit*
oops, hit "quote" instead of "delete"

Last edited by Xyne (2009-06-03 04:46:07)


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

Offline

#250 2009-06-03 07:34:15

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Powerpill - A wrapper and download accelerator for Pacman

um glad I could help?  big_smile  *slinks off to Ubuntuers Anonymous meeting*

Offline

Board footer

Powered by FluxBB