You are not logged in.
When I use powerpill to do full system upgrade, I get following message:
Can't use an undefined value as an ARRAY reference at ./powerpill line 865.
Powerpill works fine for all other jobs and really does speed up downloads while at it.!
Thanks for the feedback.
Are you still getting that error with powerpill 7.0?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Poisonblack wrote:When I use powerpill to do full system upgrade, I get following message:
Can't use an undefined value as an ARRAY reference at ./powerpill line 865.
Powerpill works fine for all other jobs and really does speed up downloads while at it.!
Thanks for the feedback.
Are you still getting that error with powerpill 7.0?
Stupid me...Shoulda upgraded the script before complaining.No more upgrade issues with the latest script.!
It's a miracle that curiosity survives formal education.
Offline
xyne, PKGBUILD is a little off, provides line should read
powerpill=7.1.1 instead of powerpill=7.0.1
Offline
xyne, PKGBUILD is a little off, provides line should read
powerpill=7.1.1 instead of powerpill=7.0.1
I changed the line to
provides=("${pkgname}=${pkgver}.${pkgrel}")
That should work, right?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
rooloo wrote:xyne, PKGBUILD is a little off, provides line should read
powerpill=7.1.1 instead of powerpill=7.0.1
I changed the line to
provides=("${pkgname}=${pkgver}.${pkgrel}")
That should work, right?
much nicer solution.
Offline
Hi, I have encountered problem when I did
pacman -S kde-svn
where kde-svn is a group.
Powerpill downloaded only dependencies and then invoked pacman, which started downloading the rest of the packages.
powerpill -S kde-svn-all
==> Invoking pacman to get URIs...
PACMAN: Starting...
PACMAN: kde-svn-all package not found, searching for group...
PACMAN: :: group kde-svn-all (including ignored packages):
PACMAN: extragear-base extragear-graphics extragear-multimedia
PACMAN: extragear-network extragear-plasma kdeaccessibility kdeadmin
PACMAN: kdeartwork kdebase kdebase-dev kdebase-doc kdebindings kdeedu
PACMAN: kdegames kdegraphics kdelibs kdelibs-dev kdelibs-doc kdemultimedia
PACMAN: kdenetwork kdepim kdepimlibs kdeplasma-addons kdesdk kdesupport
PACMAN: kdetoys kdeutils kdevelop kdevplatform kdewebdev koffice
PACMAN: playground-libs playground-plasma qt-copy qt-copy-dev qt-copy-doc
PACMAN: :: Install whole content? [Y/n]
PACMAN: resolving dependencies...
PACMAN: http://pkg.eth-os.org/kde-svn/i686/qt-copy-4.4.1-2008081115-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdesupport-4.2.0-2008081115-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdelibs-4.2.0-2008081115-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdepimlibs-4.2.0-2008081115-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdebase-4.2.0-2008081115-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/playground-libs-4.2.0-2008081115-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/extragear-base-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/extragear-libs-4.1.0-20080603-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/extragear-graphics-4.2.0-2008081115-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/extragear-multimedia-4.2.0-2008081115-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/extragear-network-4.2.0-2008081115-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/extragear-plasma-4.1.0-20080527-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdeaccessibility-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdeadmin-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdeartwork-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdebase-dev-4.2.0-2008081115-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdebase-doc-4.2.0-2008080618-any.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdebindings-4.1.0-20080618-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdeedu-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdegames-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdegraphics-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdelibs-dev-4.2.0-2008081115-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdelibs-doc-4.2.0-2008080618-any.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdemultimedia-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/decibel-0.5.0-20080322-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdenetwork-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdepim-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdeplasma-addons-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdesdk-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdetoys-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdeutils-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdevelop-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdevplatform-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/kdewebdev-4.2.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/koffice-2.0.0-2008081116-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/playground-plasma-4.2.0-2008080912-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/qt-copy-dev-4.4.1-2008081115-i686.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/kde-svn/i686/qt-copy-doc-4.4.1-2008080614-any.pkg.tar.bz2
PACMAN: http://pkg.eth-os.org/eth-os/dev/i686/exiv2-0.17.1-2008080507-i686.pkg.tar.bz2
PACMAN: Done
==> The following packages were specified:
==> akode-2.0.2-1
==> apr-1.3.2-1
==> apr-util-1.3.2-2
==> bluez-libs-3.32-1
==> capseo-158-1
==> chmlib-0.39-1
==> clucene-0.9.20-1
==> dirmngr-1.0.2-1
==> fftw-3.1.2-2
==> ggz-client-libs-0.0.14.1-1
==> gnokii-0.6.26-1
==> gnupg-1.4.9-1
==> gnupg2-2.0.9-1
==> gpgme-1.1.6-1
==> gsl-1.11-1
==> jasper-1.900.1-1
==> libassuan-1.0.5-1
==> libcaptury-158-1
==> libdjvu-3.5.20-1
==> libexif-0.6.16-1
==> libggz-0.0.14.1-1
==> libgphoto2-2.4.2-1
==> libieee1284-0.2.11-1
==> libksba-1.0.3-1
==> libmal-0.44-1
==> libmysqlclient-5.0.60-1
==> libofa-0.9.3-1
==> libopensync-0.22-1
==> libspectre-0.2.0-1
==> libvncserver-0.9.1-1
==> libxklavier-3.6-1
==> libxres-1.0.3-1
==> libzip-0.8-1
==> lm_sensors-3.0.2-1
==> mime-types-1.0-1
==> musicbrainz-2.1.5-1
==> openslp-1.2.1-1
==> pilot-link-0.12.3-1
==> pinentry-0.7.3-2
==> poppler-qt-0.8.4-1
==> postgresql-libs-8.3.3-1
==> pth-2.0.7-1
==> qca-2.0.1-2
==> raptor-1.4.18-1
==> redland-1.0.8-1
==> sane-1.0.19-2
==> subversion-1.4.6-4
==> tapioca-qt-0.14.1.2066-1
==> telepathy-qt-0.14.1.2031-1
==> tunepimp-0.5.3-5
==> xorg-res-utils-1.0.3-2
==> xscreensaver-5.06-1
Would you like to download all of them? (y/n) y
==> Loading your pacman settings.
==> Checking permissions for given cache directories.
==> Found and verified: /var/cache/pacman/pkg/akode-2.0.2-1.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/apr-1.3.2-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/apr-util-1.3.2-2-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/bluez-libs-3.32-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/capseo-158-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/chmlib-0.39-1.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/clucene-0.9.20-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/dirmngr-1.0.2-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/fftw-3.1.2-2-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/ggz-client-libs-0.0.14.1-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/gnokii-0.6.26-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/gnupg-1.4.9-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/gnupg2-2.0.9-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/gpgme-1.1.6-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/gsl-1.11-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/jasper-1.900.1-1.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libassuan-1.0.5-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libcaptury-158-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libdjvu-3.5.20-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libexif-0.6.16-1.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libggz-0.0.14.1-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libgphoto2-2.4.2-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libieee1284-0.2.11-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libksba-1.0.3-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libmal-0.44-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libmysqlclient-5.0.60-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libofa-0.9.3-1.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libopensync-0.22-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libspectre-0.2.0-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libvncserver-0.9.1-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libxklavier-3.6-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libxres-1.0.3-1.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/libzip-0.8-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/lm_sensors-3.0.2-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/mime-types-1.0-1.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/musicbrainz-2.1.5-1.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/openslp-1.2.1-1.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/pilot-link-0.12.3-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/pinentry-0.7.3-2-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/poppler-qt-0.8.4-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/postgresql-libs-8.3.3-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/pth-2.0.7-1.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/qca-2.0.1-2-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/raptor-1.4.18-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/redland-1.0.8-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/sane-1.0.19-2-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/subversion-1.4.6-4-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/tapioca-qt-0.14.1.2066-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/telepathy-qt-0.14.1.2031-1-i686.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/tunepimp-0.5.3-5.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/xorg-res-utils-1.0.3-2.pkg.tar.gz
==> Found and verified: /var/cache/pacman/pkg/xscreensaver-5.06-1-i686.pkg.tar.gz
==> No files to download. Will invoke pacman and exit.
Proceed? (y/n) y
PACMAN: Starting...
kde-svn-all package not found, searching for group...
:: group kde-svn-all (including ignored packages):
extragear-base extragear-graphics extragear-multimedia extragear-network extragear-plasma
kdeaccessibility kdeadmin kdeartwork kdebase kdebase-dev kdebase-doc kdebindings kdeedu
kdegames kdegraphics kdelibs kdelibs-dev kdelibs-doc kdemultimedia kdenetwork kdepim
kdepimlibs kdeplasma-addons kdesdk kdesupport kdetoys kdeutils kdevelop kdevplatform
kdewebdev koffice playground-libs playground-plasma qt-copy qt-copy-dev qt-copy-doc
:: Install whole content? [Y/n]
resolving dependencies...
looking for inter-conflicts...
Otherwise, thanks for the great tool.
Offline
I added support for ".pkg.tar.bz2" package extensions, which should fix the problem. Please try again with the latest version and let me know if it works.
Last edited by Xyne (2008-08-13 00:05:08)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I got error
Use of uninitialized value $repo in hash element at /usr/bin/powerpill line 897.
Can't use an undefined value as an ARRAY reference at /usr/bin/powerpill line 897
But it looks that problem with the packages that were not downloaded is solved.
powerpill -S kde-svn-all
==> Invoking pacman to get URIs...
PACMAN: Starting...
PACMAN: kde-svn-all package not found, searching for group...
PACMAN: :: group kde-svn-all (including ignored packages):
PACMAN: extragear-base extragear-graphics extragear-multimedia
PACMAN: extragear-network extragear-plasma kdeaccessibility kdeadmin
PACMAN: kdeartwork kdebase kdebase-dev kdebase-doc kdebindings kdeedu
PACMAN: kdegames kdegraphics kdelibs kdelibs-dev kdelibs-doc kdemultimedia
PACMAN: kdenetwork kdepim kdepimlibs kdeplasma-addons kdesdk kdesupport
PACMAN: kdetoys kdeutils kdevelop kdevplatform kdewebdev koffice
PACMAN: playground-libs playground-plasma qt-copy qt-copy-dev qt-copy-doc
PACMAN: :: Install whole content? [Y/n]
PACMAN: resolving dependencies...
PACMAN: Done
==> The following packages were specified:
==> flex-2.5.35-1
==> iproute-2.6.25-1
==> akode-2.0.2-1
==> apr-1.3.2-2
==> apr-util-1.3.2-2
==> bluez-libs-3.32-1
==> capseo-158-1
==> chmlib-0.39-1
==> clucene-0.9.20-1
==> dhcdbd-3.0-1
==> dhclient-3.0.6-2
==> dirmngr-1.0.2-1
==> fftw-3.1.2-2
==> ggz-client-libs-0.0.14.1-1
==> gnokii-0.6.26-1
==> gnupg-1.4.9-1
==> gnupg2-2.0.9-1
==> gpgme-1.1.6-1
==> gsl-1.11-1
==> jasper-1.900.1-1
==> libassuan-1.0.5-1
==> libcaptury-158-1
==> libdjvu-3.5.20-1
==> libexif-0.6.16-1
==> libggz-0.0.14.1-1
==> libgphoto2-2.4.2-1
==> libieee1284-0.2.11-1
==> libksba-1.0.3-1
==> libmal-0.44-1
==> libmysqlclient-5.0.60-1
==> libnetworkmanager-0.6.6-1
==> libnl-1.1-1
==> libofa-0.9.3-1
==> libopensync-0.22-1
==> libspectre-0.2.0-1
==> libvncserver-0.9.1-1
==> libxklavier-3.6-1
==> libxres-1.0.3-1
==> libzip-0.8-1
==> lm_sensors-3.0.2-1
==> mime-types-1.0-1
==> musicbrainz-2.1.5-1
==> networkmanager-0.6.6-1
==> openslp-1.2.1-1
==> pilot-link-0.12.3-1
==> pinentry-0.7.3-2
==> poppler-qt-0.8.4-1
==> postgresql-libs-8.3.3-1
==> pth-2.0.7-1
==> qca-2.0.1-2
==> raptor-1.4.18-1
==> redland-1.0.8-1
==> sane-1.0.19-2
==> subversion-1.4.6-4
==> tapioca-qt-0.14.1.2066-1
==> telepathy-qt-0.14.1.2031-1
==> tunepimp-0.5.3-5
==> xorg-res-utils-1.0.3-2
==> xscreensaver-5.07-1
==> exiv2-0.17.1-2008080507
==> decibel-0.5.0-20080322
==> extragear-base-4.2.0-2008081214
==> extragear-graphics-4.2.0-2008081214
==> extragear-libs-4.1.0-20080603
==> extragear-multimedia-4.2.0-2008081115
==> extragear-network-4.2.0-2008081214
==> extragear-plasma-4.1.0-20080527
==> kdeaccessibility-4.2.0-2008081215
==> kdeadmin-4.2.0-2008081215
==> kdeartwork-4.2.0-2008081215
==> kdebase-4.2.0-2008081115
==> kdebase-dev-4.2.0-2008081115
==> kdebase-doc-4.2.0-2008080618-any
==> kdebindings-4.1.0-20080618
==> kdeedu-4.2.0-2008081215
==> kdegames-4.2.0-2008081215
==> kdegraphics-4.2.0-2008081215
==> kdelibs-4.2.0-2008081213
==> kdelibs-dev-4.2.0-2008081213
==> kdelibs-doc-4.2.0-2008080618-any
==> kdemultimedia-4.2.0-2008081116
==> kdenetwork-4.2.0-2008081215
==> kdepim-4.2.0-2008081214
==> kdepimlibs-4.2.0-2008081213
==> kdeplasma-addons-4.2.0-2008081214
==> kdesdk-4.2.0-2008081214
==> kdesupport-4.2.0-2008081213
==> kdetoys-4.2.0-2008081214
==> kdeutils-4.2.0-2008081214
==> kdevelop-4.2.0-2008081214
==> kdevplatform-4.2.0-2008081214
==> kdewebdev-4.2.0-2008081214
==> koffice-2.0.0-2008081216
==> playground-libs-4.2.0-2008081214
==> playground-plasma-4.2.0-2008081214
==> qt-copy-4.4.1-2008081213
==> qt-copy-dev-4.4.1-2008081213
==> qt-copy-doc-4.4.1-2008080614-any
Would you like to download all of them? (y/n) y
==> Loading your pacman settings.
==> Checking permissions for given cache directories.
==> Added to download queue: flex-2.5.35-1 (176.01 kiB)
==> Added to download queue: iproute-2.6.25-1 (361.48 kiB)
==> Added to download queue: akode-2.0.2-1 (132.65 kiB)
==> Added to download queue: apr-1.3.2-2 (311.16 kiB)
==> Added to download queue: apr-util-1.3.2-2 (187.49 kiB)
==> Added to download queue: bluez-libs-3.32-1 (95.31 kiB)
==> Added to download queue: capseo-158-1 (21.24 kiB)
==> Added to download queue: chmlib-0.39-1 (34.30 kiB)
==> Added to download queue: clucene-0.9.20-1 (1.05 MiB)
==> Added to download queue: dhcdbd-3.0-1 (34.70 kiB)
==> Added to download queue: dhclient-3.0.6-2 (166.20 kiB)
==> Added to download queue: dirmngr-1.0.2-1 (178.22 kiB)
==> Added to download queue: fftw-3.1.2-2 (1.22 MiB)
==> Added to download queue: ggz-client-libs-0.0.14.1-1 (206.30 kiB)
==> Added to download queue: gnokii-0.6.26-1 (1.21 MiB)
==> Added to download queue: gnupg-1.4.9-1 (1.67 MiB)
==> Added to download queue: gnupg2-2.0.9-1 (2.26 MiB)
==> Added to download queue: gpgme-1.1.6-1 (281.45 kiB)
==> Added to download queue: gsl-1.11-1 (1.77 MiB)
==> Added to download queue: jasper-1.900.1-1 (346.31 kiB)
==> Added to download queue: libassuan-1.0.5-1 (64.83 kiB)
==> Added to download queue: libcaptury-158-1 (17.51 kiB)
==> Added to download queue: libdjvu-3.5.20-1 (784.02 kiB)
==> Added to download queue: libexif-0.6.16-1 (292.03 kiB)
==> Added to download queue: libggz-0.0.14.1-1 (78.91 kiB)
==> Added to download queue: libgphoto2-2.4.2-1 (1.36 MiB)
==> Added to download queue: libieee1284-0.2.11-1 (76.34 kiB)
==> Added to download queue: libksba-1.0.3-1 (191.27 kiB)
==> Added to download queue: libmal-0.44-1 (243.13 kiB)
==> Added to download queue: libmysqlclient-5.0.60-1 (2.80 MiB)
==> Added to download queue: libnetworkmanager-0.6.6-1 (29.30 kiB)
==> Added to download queue: libnl-1.1-1 (152.55 kiB)
==> Added to download queue: libofa-0.9.3-1 (83.72 kiB)
==> Added to download queue: libopensync-0.22-1 (875.19 kiB)
==> Added to download queue: libspectre-0.2.0-1 (31.39 kiB)
==> Added to download queue: libvncserver-0.9.1-1 (341.84 kiB)
==> Added to download queue: libxklavier-3.6-1 (53.45 kiB)
==> Added to download queue: libxres-1.0.3-1 (7.72 kiB)
==> Added to download queue: libzip-0.8-1 (93.10 kiB)
==> Added to download queue: lm_sensors-3.0.2-1 (143.61 kiB)
==> Added to download queue: mime-types-1.0-1 (6.49 kiB)
==> Added to download queue: musicbrainz-2.1.5-1 (212.15 kiB)
==> Added to download queue: networkmanager-0.6.6-1 (221.89 kiB)
==> Added to download queue: openslp-1.2.1-1 (124.66 kiB)
==> Added to download queue: pilot-link-0.12.3-1 (470.73 kiB)
==> Added to download queue: pinentry-0.7.3-2 (141.20 kiB)
==> Added to download queue: poppler-qt-0.8.4-1 (195.37 kiB)
==> Added to download queue: postgresql-libs-8.3.3-1 (435.11 kiB)
==> Added to download queue: pth-2.0.7-1 (111.69 kiB)
==> Added to download queue: qca-2.0.1-2 (1.05 MiB)
==> Added to download queue: raptor-1.4.18-1 (390.78 kiB)
==> Added to download queue: redland-1.0.8-1 (547.19 kiB)
==> Added to download queue: sane-1.0.19-2 (3.36 MiB)
==> Added to download queue: subversion-1.4.6-4 (5.44 MiB)
==> Added to download queue: tapioca-qt-0.14.1.2066-1 (186.71 kiB)
==> Added to download queue: telepathy-qt-0.14.1.2031-1 (177.32 kiB)
==> Added to download queue: tunepimp-0.5.3-5 (670.47 kiB)
==> Added to download queue: xorg-res-utils-1.0.3-2 (53.37 kiB)
==> Added to download queue: xscreensaver-5.07-1 (7.75 MiB)
==> Added to download queue: exiv2-0.17.1-2008080507 (1.91 MiB)
==> Added to download queue: decibel-0.5.0-20080322 (256.00 kiB)
==> Added to download queue: extragear-base-4.2.0-2008081214 (716.00 kiB)
==> Added to download queue: extragear-graphics-4.2.0-2008081214 (18.13 MiB)
==> Added to download queue: extragear-libs-4.1.0-20080603 (1.28 MiB)
==> Added to download queue: extragear-multimedia-4.2.0-2008081115 (10.84 MiB)
==> Added to download queue: extragear-network-4.2.0-2008081214 (3.53 MiB)
==> Added to download queue: extragear-plasma-4.1.0-20080527 (4.41 MiB)
==> Added to download queue: kdeaccessibility-4.2.0-2008081215 (6.28 MiB)
==> Added to download queue: kdeadmin-4.2.0-2008081215 (2.04 MiB)
==> Added to download queue: kdeartwork-4.2.0-2008081215 (32.97 MiB)
==> Added to download queue: kdebase-4.2.0-2008081115 (37.31 MiB)
==> Added to download queue: kdebase-dev-4.2.0-2008081115 (172.00 kiB)
Use of uninitialized value $repo in hash element at /usr/bin/powerpill line 897.
Can't use an undefined value as an ARRAY reference at /usr/bin/powerpill line 897.
Offline
I got error
Use of uninitialized value $repo in hash element at /usr/bin/powerpill line 897. Can't use an undefined value as an ARRAY reference at /usr/bin/powerpill line 897
Fixed. The problem was the "any" architecture tag for the docs. I've tested the latest version with "powerpill -Sw kde-svn-all" without receiving any errors, so it should be fine now.
is there a way to search the AUR using powerpill?
Offline
is there a way to search the AUR using powerpill?
Nope.
yaourt is able to search and install directly from the AUR transparently, afaik. AUR pkgs are already single, small tarball files, so there wouldn't be any download acceleration (per pkg anyway, and generally I think you only download one AUR pkg at a time, right?), so I haven't even really thought about it before tbh.
I might consider adding a function to powerpill to parse PKGBUILDs in order to speed up source downloads. If I do, perhaps the developers of yaourt would consider adding an optional wrapper to utilize powerpill for downloads. I've considered discussing powerpill support with them before (or at least incorporation of powerpill's download mechanism).
Of course, if I add a PKGBUILD parser, I maybe just throw together some AUR search mechanism, but I really don't want to either recreate the wheel or step on yaourt's toes.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Secondly, pacget downloads files sequentially because it's called directly by pacman with each URI. That means that when pacman needs to sync 10 files, it calls pacget and tells it to get the first file... then it waits for pacget to finish and then it calls it again to get the second file... waits again, and so on. That means that if you have lots of (small, but even large) files, it's going to take longer than it needs to. Powerpill gets a list of all the packages at once so that it can create a single metalink file and pipe that to aria2 (again, no writing to disk, no clutter like the other metalink script, which also does it sequentially for each file like pacget, with the same slowdown). Once aria2 gets the complete list, it can work on everything at once (you configure the global connections, etc). This way it can simultaneously download several smalll files. So if you have files a,b,c,d,e,f,g, etc, instead of doing a->b->c->d->etc, it does (a-j) at once. As each connection is freed, it's immediately reused to get the next file so until the download ends, it's always using the user-defined max global connections.
cool stuff!
neat that you could use metalink for it!
Simpler/Faster downloads with error recovery - http://www.metalinker.org/
Offline
Very nice work
One suggestion though, is it possible to see the download speed of Aria without being flooded ? ( maybe it's already in the new version but the screenshots didn't change so ...)
Maybe by using the echo -ne command along with the backspace \b to suppress the previous numbers displayed
This way you can also display the status of each concurrent download
Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry
Offline
Very nice work
One suggestion though, is it possible to see the download speed of Aria without being flooded ? ( maybe it's already in the new version but the screenshots didn't change so ...)
Maybe by using the echo -ne command along with the backspace \b to suppress the previous numbers displayed
This way you can also display the status of each concurrent download
Thanks ChoK.
At some point I tried parsing aria2c's output to organize it in a way that gives a better overview, but I didn't find a satisfactory solution (there are still a few commented lines from that attempt). I don't want to just overwrite the previous line because some of that information can be useful. I'll take another look at it though and see what I can come up with. I'd also like to add a "mirror report" that shows a basic overview of the different mirrors, but it depends on the limitations of aria2c's output.
EDIT
I've now added parsing of aria2c's output to powerpill.
Last edited by Xyne (2008-10-03 07:29:18)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
This script is awsome really speeds pacman up.
- blog (about arch and other stuff): http://thoughtyblog.wordpress.com/
- x86_64 user
Offline
How can i use this inside gtkpacman, and yaourt?
will defining
alias pacman="powerpill --nomessage"
or is there some way of defining that globally?
Offline
If those apps invoke pacman then it should work, but I haven't tested it myself.
I would leave that as a local definition in ~/.bashrc, but there's surely a way to define it globally if you want (not sure how, but I suspect that Google knows).
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
i think that powerpill is great and using it by its self is great. When i try to use it with yaourt, it usually just makes yaourt hang.
Suggestions?
i aliased pacman to powerpill --nomessage
Offline
I don't think the alias method words anymore. Try setting the path to the pacman bin to /usr/bin/powerpill in the yaourt configuration file. Take a look at this post and the others around it.
I don't know how you managed to find this old thread instead of the new one, but please reply there.
MODS: PLEASE LOCK THIS THREAD AS REQUESTED IN THE OP
This was opened with my old account and restarted with my new account here: http://bbs.archlinux.org/viewtopic.php?id=52127
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Locked by request from Xyne.
Offline