Powerpill - A wrapper and download accelerator for Pacman

I've moved all the powerpill info to this page: http://xyne.archlinux.ca/info/powerpill
Please continue to use this thread for discussion about powerpill.
Last edited by Xyne (2008-11-13 07:20:17)

The 404 errors are probably from mirrors that are out of sync with your top mirror (the one that pacman loads the database from).  Some mirrors won't yet have the latest packages yet. They should still get downloaded from another mirror though, because the metalink itself contains the mirror that was used to sync the database. If you notice that certain mirrors always throw 404 errors, you might consider removing them from your list (it's an indication that they don't update often enough). Also, take a look at "reflector" linked in my sig.
Actually, I just checked http://users.archlinux.de/~gerbra/mirrorcheck.html and holmes.umflint.edu hasn't synced in 16 days, so I think you can remove that one from your list for now.
I'd need to know what command you invoked powerpill with to get that pacman error ("powerpill -S" perhaps.... which leads to the same error as "pacman -S"). During a normal sync operation, powerpill invokes pacman 3 times:
     First with the pacman arguments that you passed it, adding the argument to print the package URIs.
     Once with -Ss to build a package-to-repo hash.
     Finally with the original arguments to pass control to pacman for installation.
Of course, there are sanity checks on which arguments were passed. If the requested operation does not involve downloading, control is passed to pacman immediately. If the requested operation included the "download only" option, it exits instead of calling pacman once downloads are complete. Powerpill doesn't play pacman-babysitter though, so it doesn't catch invalid pacman operations (although it does strip out any powerpill-specific arguments).
Aria is always invoked once and only once if the operation involves downloading, regardless of the number or size of the files.
Powerpill passes the pacman arguments it receives to powerpill along with the argument to print the URIs for the requested operation. Powerpill then takes this list, which contains the URIs to the files on your top mirror, and parses them to create a list of the pkgs that it should download. It then grabs the other mirrors for each repo from the pacman configuration files and builds a list of URIs to each requested packages on the different mirrors. These lists are used to create a single metalink for all the packages which is then piped to aria2c. This is done regardless of the number of files or their sizes. The single metalink makes it possible to download multiple files simultaneously and large files in segments. The metalink file itself contains information to determine how many connections to use for each file, so smaller files are not segmented. Even if there is only one small file to download, it is still just as fast as wget or curl or any other downloading utility.
When downloading files in the metalink, the list of URIs to the package on different mirrors is available for all packages, regardless of the connection limit per file. Aria2c chooses a mirror from the list and tries to download the package. 404 errors will occur if that mirror doesn't get have the latest version of the package. In that case, aria2c will just use another URI from the list until it gets the file. Each list will contain a URI to the file on the mirror that pacman used to sync the database, so that file will get downloaded from there if none of the other mirrors have the package yet.
Take a look at the metalink file generated for different operations.
powerpill -S <pkgA> <pkgB> <groupX> --get-metalink -
The "resources" tags contain the "maxconnections" attribute. You can confirm that small files are limited to 1.
My current version control system consists of leaving older versions in a directory on that server. Because of powerpill's "simple script" origin, I haven't given much thought to anything more serious, although I'll consider it. Thank you for your offer.
edit
Sorry about repeating myself within this post.
Last edited by Xyne (2008-10-12 19:55:53)

Similar Messages

  • I signed up for iCloud and downloaded everything for it. According to my iTunes account, everything should be swell, but when I try to sign into the Cloud, it tells me my Apple ID is valid but it's not an iCloud account. What do I do??

    I signed up for iCloud and downloaded everything for it. According to my iTunes account, everything should be swell, but when I try to sign into the Cloud, it tells me my Apple ID is valid but it's not an iCloud account. What do I do??IC

    Hi DesCoop,
    You must initiallly activate iCloud from an IOS device or a Mac. You cannot inititally activated from a PC.
    Sorry.
    GB

  • Need to add print and download options for report in new window

    Hi,
    On one of the columns empid of the report1 (which is on the dashboard) , I am using navigation and pointing it to report2.
    Report1 has all the links, print, download and refresh (I enabled them using the section properties) but when I click on empid and it takes me to report2, then I don't see any links under that report. I want to include print and download links for report2 when it opens in the new window.
    I know, one way is to embedd that report in the dashboard page and hide it, but is there any other way of doing it?
    Any help would be highly appreciated.
    Thanks,
    Ronny

    Ronny wrote:
    Just to clarify again, I am using a navigation from report1 (which is on the dashboard) to report2 (which is not on the dashboard).
    As per the requirements, I can't put my report2 on any dashboard page and hide it and then use navigation. Also, I can't enable the print and download options for report1 which is already on the dashboard. Doing this gives me print and download options for report2 but that is not the requirement.
    Is there any way to have print and download options for report2 when I am directly navigating to the report2 from report1 and not the report2 on any dashboard page which is hidden.
    I will really appreciate any help on this.
    Thanks,
    RonnyPlease explain why you can't do what I said. What is the "requirements" that prevent this? It would be transparent to the user, really. They just click and get their report.

  • How do I find and download ACR for Elements 9

    Having trouble finding and downloading ACR for Elements 9

    ACR is only updated for a particular version of Elements until the new version of Elements comes out.  A new version of Elements comes out in the Aug-Oct timeframe of each year.  PSE 11 came out in the fall of 2012 so PSE 10 came out in the fall of 2011.  Look for the last version of ACR that came out before PSE 10 came out.  You can find the various versions of ACR for your computer’s OS by going to http://www.adobe.com/downloads/updates/ and choosing Camera Raw – your-computer-platorm at the top.  On the camera-raw versions page that comes up click on the links for a late-summer/early-fall 2011 version of ACR.  In my estimation this could be either 6.5 or 6.4 depending on whether PSE 9 was replaced by PSE 10 before or after 9/28/2011 when ACR 6.5 came out.  The way to check is that once you’ve clicked over to the download page for a particular version of ACR, there are two more links on that page, one for PSE and one for PRE and click the PSE one to see what version of Elements that version of ACR is for.  Check this until the version of PSE is higher than the one you have and then one back one version.

  • I purchased and downloaded CS6 for my MacBook Pro laptop. I now want to add CS6 to an iMac, how do I go about installing it on this new computer?

    I purchased and downloaded CS6 for my MacBook Pro laptop from Adobe. I now want to add CS6 to an iMac, how do I go about installing it on this new computer?

    Alibutlerdesigns you will use the same process to install on your second computer.  You can copy the installation files using a USB drive if you do not wish to download the installation files again.

  • How do I activate/download my Adobe Creative Suite onto a new macbook? My previous computer and download was for Windows on a Dell.

    How do I activate/download my Adobe Creative Suite onto a new macbook? My previous computer and download was for Windows on a Dell.

    The answer depends on which version of Creative Suite.
    Either
    install Windows on your Mac using Bootcamp or Parallels then install Creative Suite in the Windows Virtual Machine on your Mac.
    Or, if you want to install natively on your Mac:
    If CS6 then you can apply to Adobe for a platform swap
    Order product | Platform, language swap
    If CS5 then you must pay to upgrade from CS5 Win to CS6 Mac
    Creative Suite 6
    If CS4 or earlier then you're out of luck. You'll have to buy a new copy of CS6 for Mac or pay to join the Cloud.

  • When I go to my iTunes Store and download something, for some reason it's not letting me download app it's saying there's a billing issue, when I correct it, it's says contact iTunes/ support can someone please help me, I really want too listen to paying

    When I go to my iTunes Store and download something, for some reason it's not letting me download app it's saying there's a billing issue, when I correct it, it's says contact iTunes/ support can someone please help me, I really want too listen to paying

    You need to do as provided - contact iTunes Store support.
    http://www.apple.com/emea/support/itunes/contact.html

  • TS3276 Is there a way to sync POP subfolders and download them for backup in Mail on my MBP? I tried syncing the account with Mail and only the Inbox downloads onto my computer.

    Is there a way to sync POP subfolders and download them for backup in Mail on my MBP? I tried syncing the account with Mail and only the Inbox downloads onto my computer. I have Googled enough to find out that the answer is no, but no official answer or recent answer and I am hopeful that there has been a change.

    Sure-glad to help you. You will not lose any data by changing synching to MacBook Pro from imac. You have set up Time Machine, right? that's how you'd do your backup, so I was told, and how I do my backup on my mac.  You should be able to set a password for it. Save it.  Your stuff should be saved there. So if you want to make your MacBook Pro your primary computer,  I suppose,  back up your stuff with Time machine, turn off Time machine on the iMac, turn it on on the new MacBook Pro, select the hard drive in your Time Capsule, enter your password, and do a backup from there. It might work, and it might take a while, but it should go. As for clogging the hard drive, I can't say. Depends how much stuff you have, and the hard drive's capacity.  As for moving syncing from your iMac to your macbook pro, should be the same. Your phone uses iTunes to sync and so that data should be in the cloud. You can move your iTunes Library to your new Macbook pro
    you should be able to sync your phone on your new MacBook Pro. Don't know if you can move the older backups yet-maybe try someone else, anyways,
    This handy article from Apple explains how
    How to move your iTunes library to a new computer - Apple Support''
    don't forget to de-authorize your iMac if you don't want to play purchased stuff there
    and re-authorize your new macBook Pro
    time machine is an application, and should be found in the Applications folder. it is built in to OS X, so there is nothing else to buy. double click on it, get it going, choose the Hard drive in your Time capsule/Airport as your backup Time Machine  and go for it.  You should see a circle with an arrow on the top right hand of your screen (the Desktop), next to the bluetooth icon, and just after the wifi and eject key (looks sorta like a clock face). This will do automatic backups  of your stuff.

  • Need an download accelerator for Solaris 8 (Sparc)

    Is there any download accelerator available for Solaris 8 for Sparc architecture.
    Thanks,
    Amit
    [email protected]

    The download is available, but it isn't easy to find.
    The "Sun Download Center Changes" page also refers to you to the Sun Archive (My Oracle Support Doc 1302856.1). Follow that link and you see a list of products you can download, including Sun Studio 11 (unaccountably listed under Servers and Storage Systems). That link takes you here
    https://updates.oracle.com/download/12685437.html
    where you can download Sun Studio 11. The one download contains the releases for each platform.

  • ANN: Complete File Upload and Download Power For Dreamweaver

    WebAssist is proud to announce the availability of Digital
    File Pro, an
    extension for Dreamweaver that brings complete upload and
    download
    functionality to ASP, ColdFusion and PHP – without
    server-side components.
    Digital File Pro is now available for $79.99 until September
    19, 2006
    (regular price, $99.99). Owners of eCommerce Suite, Super
    Suite or Admin
    Suite from WebAssist can upgrade for only $49.99.
    For more information, visit:
    http://webassist.com/professional/products/productdetails.asp?PID=112&CouponID=0x62xd
    enthusiastically,
    mark haynes
    webassist sales
    Check out our Special Offers at:
    http://www.webassist.com/professional/products/specials.asp

    Mark:
    Were you aware your page
    http://webassist.com/professional/products/productdetails.asp?PID=112&CouponID=0x62xd)
    doesn't render correctly in IE BETA 7 (text cut off on the
    right)?
    Don't know if you knew (or even care since it IS a beta) but
    I thought I'd
    let you know.
    Rick in Tacoma

  • Loading and download SWFs for AIR apps on iOS from server

    Dear
    I develop app for ios using adobe air i need to loading and download swf in my server to my local device
    i make it loading from server and play but i need to download it locally in device to play offline
    Please Help
    Thank You

    If I undestand correct, the unload() is unsuported yet, so it just hangs in the memory
    In the tests I did, when I put two loads for the same swf, the app freezes, so I don´t know what you can do there.
    For the "code", you just need to put the LoaderContext on the loads, something like this:
    Frame 1:
    var myLoader:Loader;
    var loaderContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
    if(myLoader == null){myLoader = new Loader(); addChild(myLoader); }
    else {myLoader.unload();}
    Frame 2:
    myLoader.unload();
    myLoader.load(new URLRequest("file1.swf"),loaderContext);
    Frame 3:
    myLoader.unload();
    myLoader.load(new URLRequest("file2.swf"),loaderContext);
    Frame 4:
    myLoader.unload();
    myLoader.load(new URLRequest("file3.swf"),loaderContext);
    Regards,
    Rogério Gonzalez

  • Does anyone know where to find and download xcode for Snow Leopard?

    I need to access Xcode but it's not in App Store anymore. Any tips will be great.

    Welcome to Apple Support Communities
    You can register as a free Apple developer in http://developer.apple.com, access to the Mac Dev Center and download Xcode 3 from there with Snow Leopard compatibility. This is the only way of getting Xcode 3, apart from the Snow Leopard disc or the DVDs that came with your Mac

  • When i try and download firefox for my HTC Hero I get a message saying "Error: Data not found."

    I really would love to use FireFox on my phone, but every time I try and hit "download for Android" I get the error message. I saw there was a similar question for a different phone. Please tell me this is for a different reason! I really want FireFox!

    Just to verify, I downloaded Fennec nightly for my HTC Hero, but crashes everytime I try to open :/ Hope to see a 'light' version of either FF4a or Fennec in the future for these devices.

  • Download accelerator for OSX10.4.1 ??

    Need to download files a lot faster from internet as it is taking forever. Found Speed Download for Mac but then saw it was for system OS X 10.4.6 or later, which presumably won't work.
    As I have OS X 10.4.1 is there a good download that you know about? Preferably freeware, but anything that will speed things up as I'm trying to download Quicktime and it says 4.5 hours !!!! I would have thought all these things would already be loaded on when I bought eMac, but obviously not.
    So any recommended download accelerators that are compatible with my system would be appreciated.
    Thanks.
    eMac   Mac OS X (10.4)  

    Lobelia,
    You can use Speed Download 3.0.20 found here:
    http://www.yazsoft.com/files/sd3020.zip
    Version 3.0.20 of Speed Download is optimized for the version of Mac OS X that you are currently running. (Mac OS X 10.4.1)
    Note: you can update to Mac OS X 10.4.6 for free. Simply download the update from the Apple Support site here:
    http://www.apple.com/support/downloads/macosx1046comboforppc.html
    (you can use Speed Download 3.0.20 to download it since it supports auto-resuming should something go wrong with your connection)
    Or run the 'Software Update' from under the Apple menu in your Finder.
    Once you have updated to Mac OS X 10.4.6, you can then update to the recently released Speed Download 4 found here:
    http://www.yazsoft.com/download.html
    If you need any more help, please email us directly at [email protected]
    Kind regards,
    Johnny
    The Speed Download Team

  • I have purchased and downloaded Tutor for Lion but I am unable to play the videos

    I have been unable to run the App. Tutor for Lion after purchasing form App store.  I have the .iap file om y computer under I Tunes, but when I click on purchases my purchase has not been registered.In addition I am unable to verify my Apple ID and Email as I receive a message telling me the name has been used on another computer.  I use only one compuetr and the system is up to date with the 7.3 upgrade.
    At one time I tried Cloud but decided against using it and deleted the programme from my System preferences, Could there be data left behind after the deletion
    Any assitance to help me clear up my mess would be gratefully appreciated
    BJM

    Are you trying to run it on your Mac? Any app downloaded from iTunes will only run on an iOS device such as an iPad or iPhone. If you need to run an app on your Mac, you need to go to the App Store in your Applications folder and purchase the app from there.
    If you did purchase the wrong app, go to the our website and let me know (I am the developer of Tutor for Lion). http://www.noteboomproductions.com/contact-us/feedback/
    Dan

Maybe you are looking for

  • PR release procedure problem

    We are using SAP 4.7 EE Version. Regarding PR release procedure, I have created PR release procedure by using characteristics with Plant, Total value of the item, document type, creation indicator and account assignment category. Created class PR_REL

  • [SOLVED] MPD: Failed to create socket

    I've  been attempting to get MPD working today and I'm rather stumped here. I got it to start out of its default directory, however, that denied it access to my music folder. So, I switched all of that to a ~/.mpd folder as the wiki page instructed m

  • Export Import in Portal Rel 2

    Hi How do i export/import Pages and other contents in portal rel 2, pageexp/imp and appexp/imp scripts r not to be found..what has happened to these in Rel 2.. TIA Bijesh

  • Is posible restart a engine over the network whith DSC?

    is posible restart a engine over the network whith DSC?

  • Icloud photo stream on iPhone- removing pics

    How do I remove selected photos from my iCloud on iPhone? Deleting it from my pc doesn't remove it from my phone