You are not logged in.

#51 2008-08-07 18:51:38

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

Re: Powerpill: an improved download accelerator for Pacman.

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?


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

Offline

#52 2008-08-08 07:34:19

Poisonblack
Member
From: Mumbai, India
Registered: 2008-07-25
Posts: 46

Re: Powerpill: an improved download accelerator for Pacman.

Xyne wrote:
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.! big_smile


It's a miracle that curiosity survives formal education.

Offline

#53 2008-08-09 11:43:35

rooloo
Member
Registered: 2008-07-09
Posts: 218

Re: Powerpill: an improved download accelerator for Pacman.

xyne, PKGBUILD is a little off, provides line should read

powerpill=7.1.1 instead of powerpill=7.0.1

Offline

#54 2008-08-09 15:41:20

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

Re: Powerpill: an improved download accelerator for Pacman.

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?


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

Offline

#55 2008-08-09 16:29:21

rooloo
Member
Registered: 2008-07-09
Posts: 218

Re: Powerpill: an improved download accelerator for Pacman.

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

cool much nicer solution.

Offline

#56 2008-08-12 17:13:03

qubit
Member
Registered: 2007-04-25
Posts: 47

Re: Powerpill: an improved download accelerator for Pacman.

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

#57 2008-08-12 23:45:32

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

Re: Powerpill: an improved download accelerator for Pacman.

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

Offline

#58 2008-08-13 18:50:39

qubit
Member
Registered: 2007-04-25
Posts: 47

Re: Powerpill: an improved download accelerator for Pacman.

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

#59 2008-08-13 23:25:36

ProtoXyne
Guest

Re: Powerpill: an improved download accelerator for Pacman.

qubit wrote:

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.

#60 2008-09-18 04:42:56

area
Member
Registered: 2008-09-18
Posts: 43

Re: Powerpill: an improved download accelerator for Pacman.

is there a way to search the AUR using powerpill?

Offline

#61 2008-09-18 07:50:06

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

Re: Powerpill: an improved download accelerator for Pacman.

area wrote:

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

Offline

#62 2008-10-02 03:30:57

twanj
Member
From: Pompano Beach, FL
Registered: 2006-08-02
Posts: 47
Website

Re: Powerpill: an improved download accelerator for Pacman.

ProtoXyne wrote:

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

#63 2008-10-02 12:33:24

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: Powerpill: an improved download accelerator for Pacman.

Very nice work smile

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

#64 2008-10-02 17:59:55

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

Re: Powerpill: an improved download accelerator for Pacman.

ChoK wrote:

Very nice work smile

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

Offline

#65 2008-10-03 16:44:56

thoughtcrime
Member
Registered: 2008-09-27
Posts: 156
Website

Re: Powerpill: an improved download accelerator for Pacman.

This script is awsome smile really speeds pacman up.


- blog (about arch and other stuff): http://thoughtyblog.wordpress.com/
- x86_64 user

Offline

#66 2008-10-07 03:17:53

kidawesome
Member
From: Toronto
Registered: 2008-10-04
Posts: 13

Re: Powerpill: an improved download accelerator for Pacman.

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

#67 2008-10-07 09:15:58

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

Re: Powerpill: an improved download accelerator for Pacman.

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

Offline

#68 2009-01-30 20:25:30

kidawesome
Member
From: Toronto
Registered: 2008-10-04
Posts: 13

Re: Powerpill: an improved download accelerator for Pacman.

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

#69 2009-01-31 00:06:47

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

Re: Powerpill: an improved download accelerator for Pacman.

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

Offline

#70 2009-01-31 00:22:24

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Powerpill: an improved download accelerator for Pacman.

Locked by request from Xyne.

Offline

Board footer

Powered by FluxBB