Slurpy - An AUR search/download/update helper in Python

Some of you guys from IRC already know about slurpy, but I've tagged a release and uploaded a stable PKGBUILD to the AUR.
AUR packages:
slurpy - should remain usable, but will not contain latest bug fixes until the next release
slurpy-git - latest and greatest, but will also contain the latest bugs I've introduced
(Below is shamelessly ripped from my project page)
Preamble
slurpy is another AUR helper script written in Python. I've been an advocate of arson since it's inception but the fact that it's written in Ruby always bugged me. Since I am much more comfortable in Python I decided to write a port. The arson code base changed a lot as I worked on this and I decided to continue the direction I was heading rather than rewriting the port to match. slurpy is where I ended up.
What it is
    * Faster searching, downloading, retrieving info, and checking for updates for AUR packages.
    * Dependency resolution for packages in the AUR.
    * Written in Python with only one optional dependency - python-cjson (makes processing faster with large result sets).
    * Colorized output based on pacman-color's color.conf. Color is disabled by default and must be enabled with -c|--color.
    * Easy downloading of package source through the ABS for packages in the official repositories. (Very experimental!!)
What it isn't
    * slurpy is not a way to automate the download-build-install process. It is only a means to manage PKGBUILDS. If you are looking for an automatic installer, check out yaourt.
    * slurpy is not a `prettyfier'. Output is mostly modeled after pacman output to keep a uniform feel across tools.
Other thoughts
    * I've tested this quite a bit, but I know there are many bugs I've missed. I could use a few testers giving quality feedback. If you've got a minute, check it out and let me know what you think.

Evanlec and I talked about this issue on IRC.  I know why it breaks, I'm not sure how to handle it.  That cromium package uses a pkgver that is grabbed from the cromium webpage, but the AUR doesn't know how to handle that pkgver.  This causes the AUR to return a version number of -7 (negative $pkgrel).  This is more of an issue with the way the PKGBUILD is written and what the AUR can support, but I'll see if I can implement an elegant work around for this.
I've run into this before with other packages too.  My conclusion was that the best way to deal with it is to ignore any packages who's verson number returns as negative, or who's version number slurpy doesn't understand.  This would mean that there are possibly packages installed on your system that need to be updated that slurpy isn't showing updates for.  In that case slurpy show a warning message saying that it can't determine the latest version of that package.  Thoughts?
Last edited by rson451 (2009-09-30 12:27:14)

Similar Messages

  • Download update help!

    Does anyone know how to fix an installation update error when downloading a trial? it tells me "unable to download update"  - learn more. I am unsure why this is happening and need a quick fix for download.

    deerocket,
    You may try a chat here:
    Creative Cloud support (all Creative Cloud customer service issues, chat open between 5AM and 7PM PST/PDT on workdays)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • HT4623 Problem downloading update - help!

    Every time I try to download the latest update through iTunes, it stops about 20-35% of the way through.  This has been going on for the last ~8 months, but now it's more important because my phone needs to be restored to function again.  There is no apparent problem with my connection, and I have downloaded files of similar size very recently.  Is there a mirror I could download the update from and/or a way to fix this issue? Please help so I can have a working phone again!

    The original iPad does not have the hardware capability to run the latest versions of the iOS.
    The highest version of iOS that the original iPad can run is iOS 5.1.1

  • Brand New MBP Too Slow to Download Updates  :(  Help!

    I have a week-old MBP, and Toast.net dial-up with an accelerator. Most things seem to go normally, but when I try to download even one software update it predicts and takes an enormous amount of time! I always get disconnected from the internet way before the download completes. ....aaaarrrgh!
    I think my MBP is defective. Or is there something I can do to correct this?
    I have even tried leaving the download as the only thing active so I won't lend to slowing it down. And I have gone back and moved something every 20 minutes to keep a disconnect from happening. One important security update said it would take 17 minutes. My laptop predicted 25 hours. I sat there with it for 24 hours and 15 minutes. We only had 45 minutes left. But I got disconnected. Major letdown. What is wrong???
    cyan

    Thank you for your reply. Actually I have been trying to get DSL and I live too much in the boonies out in the desert: there's no DSL out here yet. I am not sure what broadband is. I kind of think it is sort of like satellite dish TV as opposed to cable...???? That they install a dish at your home to connect you? We can't even get cable TV out here. Everyone has satellite dishes.
    Actually, I just went to the Final Cut Studio page here on the Apple site, and I can't even watch the video on Final Cut that Apple provides. Is that also the dial-up connection? Even with the accelerator on?

  • HTC Thunderbold freezes during download/update: Help?

    My HTC TB locks up as this download happens. I've seen advice on pulling the battery. I've been doing this for hours now. I need my phone as I am moving.  This is horrible timing.
    I suspect my antivirus may be stopping it... but I received NO warning and this update was simply foisted without notification.
    Any ideas?
    Thanks!

    You're welcome! But, what a pain!
    You might get rid of everything Apple by using the Microsoft Windows Installer CleanUp Utility.
    Get rid of ASU, iTunes, QuickTime....then maybe the next install will 'stick' properly.
    Or even go through the more thorough steps from this article, listed under "General installation troubleshooting"
    http://support.apple.com/kb/HT1926
    The uninstaller is listed in there.
    Depends how much time you want to spend on it, and how often you update itunes, I guess.

  • Arson - The HOT AUR search helper

    Yay, first community contribution!
    \ V ) ` ` ) ( )
    _) _ `__ ___' __( ) _/
    / _` | '__/ __|/ _ \| '_ \
    | (_| | | \__ \ (_) | | | |
    \__,_|_| |___/\___/|_| |_|
    the AUR search helper!
    Thanks rson for this ascii art!
    arson v0.8.7 - The HOT AUR search helper!
    Usage: arson [options] -COMMAND KEYWORD1 [KEYWORD2 ...]
    Where -COMMAND is one of:
    -D, --Download Download the AUR package specified
    -S, --Search Search AUR for a package name
    -I, --Info Get information about a package
    -U, --Upgrade List of foreign packages which have an
    update available for them in AUR
    Download options
    --save-to [PATH] Directory for arson to download AUR
    packages [Default: Current directory]
    -k, --keep Keep the .tar.gz after extracting it
    [Default: Delete]
    -f, --force Overwrite the package's extraction target
    if it exists. [Default: Don't]
    -r, --[no-]recursive Check the dependency list for other AUR
    packages. [Default: Yes]
    Upgrade options
    --foreign [REPO] Set all packages within a repository as
    foreign, to be included in the
    upgrade search. This can be repeated
    multiple times. [Default: None]
    Info options
    -l, --[no-]long Use a more tabular display for output
    Generic options
    -v, --[no-]verbose Run verbosely
    -c, --no-color Supress color output [Default: No]
    -V, --version Display the version number
    -h, --help Display this help message
    --more-help Display even more help
    Arson is a cli AUR searcher and downloader, written in Ruby. It allows you to search the AUR for a package you want, and download it. It does NOT automatically install the downloaded package. It can extract it, but not install. Searching for a package also searches through pacman's db cache (rather than going to each mirror and querying those).
    Requirements:
    ruby
    rubygems
    Ruby JSON gem (To install it: gem install json)
    Ruby Facets gem (To install it: gem install facets)
    Get it while it's hot! Download from AUR: http://aur.archlinux.org/packages.php?ID=16021
    Last edited by zenix (2008-12-22 11:17:39)

    Arson still doesn't work for me in urxvt - it produces the same error as before:
    $ arson -S arson
    /usr/lib/ruby/site_ruby/1.8/terminfo.rb:80:in `tigetstr': canceled or absent string capability (TermInfo::TermInfoError)
    from /usr/lib/ruby/site_ruby/1.8/terminfo.rb:80:in `control_string'
    from /usr/lib/ruby/site_ruby/1.8/terminfo.rb:43:in `control_string'
    from /usr/bin/arson:26
    It seems to work fine in xterm and xfce Terminal though.
    I installed ruby, rubygems, ruby-terminfo (make, sudo make install) and minitar (via the .gem file).
    Also, I noticed that passing an invalid option produces a whole array of errors, I don't know if it's intended or not:
    $ arson -foo
    /usr/lib/ruby/1.8/optparse.rb:1443:in `complete': invalid option: -foo (OptionParser::InvalidOption)
    from /usr/lib/ruby/1.8/optparse.rb:1441:in `catch'
    from /usr/lib/ruby/1.8/optparse.rb:1441:in `complete'
    from /usr/lib/ruby/1.8/optparse.rb:1280:in `parse_in_order'
    from /usr/lib/ruby/1.8/optparse.rb:1247:in `catch'
    from /usr/lib/ruby/1.8/optparse.rb:1247:in `parse_in_order'
    from /usr/lib/ruby/1.8/optparse.rb:1241:in `order!'
    from /usr/lib/ruby/1.8/optparse.rb:1332:in `permute!'
    from /usr/lib/ruby/1.8/optparse.rb:1353:in `parse!'
    from /usr/bin/arson:45:in `opt_parse'
    from /usr/bin/arson:121
    Anyway, this looks like a nice utility - once I get it working. (I don't mean to sound harsh, I appreciate your efforts! )

  • Trying to download update to 10.5, but installation interupted with error stating another installation is in progress. No other preocesses are running. Can you help?

    Trying to download update Itunes to 10.5, but installation interupted with error stating another installation is in progress. No other preocesses are running. Can you help?

    We can sometimes get past this particular message by reregistering the Windows Installer Service.
    First, launch a command prompt as an administrator. In your Start search, type cmd then right-click on the cmd that comes up and select "Run as administrator".
    If you have a 32 bit system
    At the command prompt:
    Type %windir%\system32\msiexec.exe /unregister and hit enter.
    Type %windir%\system32\msiexec.exe /regserver and hit enter.
    Restart the PC and try another install.
    If you have a 64-bit system
    At the command prompt:
    Type %windir%\system32\msiexec.exe /unregister and hit enter.
    Type %windir%\syswow64\msiexec.exe /unregister and hit enter.
    Type %windir%\system32\msiexec.exe /regserver and hit enter.
    Type %windir%\syswow64\msiexec.exe /regserver and hit enter.
    Restart the PC and try another install.

  • Help with opening Adobe Reader and downloading updates

    I can not open Adobe .pdf files any longer (this started yesterday, prior to that I could open adobe files).
    When I double click a .pdf file I get this notice on my screen: Windows cannot access the specified device path or file. You may not have the appropriate permission to access file.
    So I went to the Adobe download site to download a new copy of Adobe.  When I start the download I get this on the screen:  The instruction at "0x0e3a0068" referenced memory at "0x0e3a0068."  The memory could not be written.  Then two options are listed: click OK to terminate or cancel to debug.  So I click on cancel and I get this on my screen: Internet Explorer has closed this webpage to help protect your computer.   A malfunctioning or malicious addon has caused I.E. to close this webpage.
    I don't have AVG running, I do have avast but I've disabled it.  I ran Registry Mechanic and an I.E. erasure program but nothing helps.
    I have gone into I.E. and reduced the security level to its lowest state but no joy.
    So, any ideas or suggestions on what's the problem and how to overcome it would be appreciated.  Thanks, in advance, for your reply.  Jim R.

    Hi Mike..tried that as well but no joy.  A friend of mine was looking at it all and noticed that it was an I.E. thing as far as not letting me redownload the reader so I went to Mozilla Firefox and I could download a new version but....whenever I attempt to open a .pdf file I get that message, "Windows can not open the specified device, path or file. You man not have the appropriate permissions to access the item." 
    Damn...this is irritating as I need to get to some of thos files as I need them for a Journal I'm working on as editor-in-chief. 
    It all worked just fine last Saturday but starting Monday when I was on my flight out to D.C.  no joy. 
    Sigh...Jim R.
    Jim R.
    Date: Tue, 1 Dec 2009 14:50:27 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help with opening Adobe Reader and downloading updates
    Under the help menu, there is an option to repair the installation of reader. Did you try that?
    >

  • My iPhone 4s 5.1.1 won't let me download or update any apps it's starts by saying "waiting" downloads half way then goes back to "waiting" and then does it again then says it can't download or update help

    My I phone 4s 5.1.1 won't let me download or update anything it starts by "waiting" then loads half way n goes bak to "waiting" then does it against then it says that it's unable to download or update help please I've tried signing out of my apple account and signin back in I've reset all settings I've turned it off and on idk what else to do!!

    I have decided to dedicate this thread to the wonderful errors of Lion OSX. Each time I find a huge problem with Lion I will make note of it here.
    Today I discovered a new treasure of doggie poop in Lion. No Save As......
    I repeat. No Save As. In text editor I couldn't save the file with a new extension. I finally accomplished this oh so majorly difficult task (because we all know how difficult it should be to save a file with a new extension) by pressing duplicate and then saving a copy of the file with a new extension. Yet then I had to delete the first copy and send it to trash. And of course then I have to secure empty trash because if I have to do this the rest of my mac's life I will be taking up a quarter of percentage of space with duplicate files. So this is the real reason they got rid of Save As: so that it would garble up some extra GB on the ole hard disk.
    So about 20 minutes of my time were wasted while doing my homework and studying for an exam because I had to look up "how to save a file with a new extension in  mac Lion" and then wasted time sitting here and ranting on this forum until someone over at Apple wakes up from their OSX-coma.
    are you freaking kidding me Apple? I mean REALLY?!!!! who the heck designed this?!!! I want to know. I want his or her name and I want to sit down with them and have a long chat. and then I'd probably splash cold water on their face to wake them up.
    I am starting to believe that Apple is Satan.

  • I can't download update 5.0.1 and have disabled all security measures and the download still times out shortly after beginning the download.  All other downloads are successful so I know the problem is not in the computer.  Can anyone help?

    Can't download update 5.0.1 to my iPad2.  I disabled all security items in fact have deleted them from computer, but the download still times out advising check settings but all is set right?  Can any one help with this matter?

    I'm still experiencing this problem.  I went to settings, general, software and it says Install now.  But when I try, I get an error message. 

  • Please help! I can not Download Updates (invalid serial)

    Hi everyone,
    I have FCP STUDIO 5.1 and FCP STUDIO 2 (upgrade), both are original full pack that I have been using for a while. Now I just bought a new computer and stop using the old one.
    I went for download update here:
    http://www.apple.com/finalcutstudio/download/
    And it tells me to key in serial number of the new pack, I did. Then it tells me to key in the serial of the old pack, and it's not working when I keyed serial number of FCP STUDIO 5.1 in. I am stuck in the middle of an important project here and I don't know what happened.
    Why did it say invalid serial number while my pack is 100% original and able to use for the past 2 years before got the upgrade version? What should I do? I really need to get back to work, I can't be late.
    Any help from Apple I would appreciate alot!
    Thank you.
    My email: [email protected]
    Message was edited by: boneho

    My standard advice in these circumstances is to be sure you're not confusing letters when you type in the serial.
    It is very easy to confuse "O" (upper case o) with "0" (zero) and "I" (upper case i) with "l" (lower case L) or even "1" (one).
    It might be worth your while trying to enter the number again bearing this in mind!
    Frank

  • I cannot download updates to Photoshop Elements 9.  I get an error message that my serial number is not recognized or eligible.  Can you help with this?

    I cannot download updates to Photoshop Elements 9.  I get an error message that my serial number is not recognized or eligible.  Can you help with this?

    Hi,
    Which operating system are you running on?
    What updates are you trying to download?
    The last update was 9.0.3 - check by loading the editor and going to Help -> About Photoshop Elements
    The last supported Camera raw is ACR 6.5 - check by loading the editor and going to Help -> About Plug-ins -> Camera Raw
    Do you have a reason to update?
    Brian

  • Trying to update the software for my iphone and it keeps saying download has been corrupted. an same for imac update. help?

    trying to update the software for my iphone and it keeps saying download has been corrupted. an same for imac update. help?

    Hi NWL1,
    Thanks for the question. If I understand correctly, the iPhone won't update and is stuck. I would recommend that you read this article, it may be able to help you resolve or isolate the issue.
    If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support
    Thanks for using Apple Support Communities.
    Have a great day,
    Mario

  • IPhoto will not initiate. Downloaded update, but not change.  Any help out there?

    iPhoto will not initiate. Downloaded update, but not change.  Any help out there?

    If you want help you’ll need to give us more information. There are 9 different versions of iPhoto and they run on 8 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • While trying to download update 11.4 for i tunes i received an error message "key not valid for use in specified state" what does that mean ? anyone please help ?

    while downloading update version 11.4 an error message appeared "key not valid for use in specified state " help ?

    See if this post by turingtest2 fixes it : key not valid for use in specified state

Maybe you are looking for