What is you favourite program to update packages installed by aur?

I used aurbuild, but I saw there are many... So what is your pacman for AUR? And overall why?

i just scripted the wget / tar / makepkg / pacman -U process with prompts between each step.  it also starts with a lynx aur google search to get the package name. 
script:
#!/bin/bash
# Aurget V 0.1
# pbrisbin 2009
# This script searches google for Arch Linux AUR packages
# The user selects from the results and the packages is
# optionally extracted, built, and installed
# Packages can be saved or discarded
# Usage: aurget [packagename]
# ToDo: track version info to see if your due for an update
# (basically, become yaourt!)
## User Config
# just some directories
WD="/tmp/aurget" # place to do some work
PD="$HOME/Packages" # place to store built packages
SAFE="$PD/aurget_dump" # place to dump data if something happens
## Program below
# set up the environment
[ -d $WD ] || (mkdir $WD && chmod 700 $WD)
[ -d $SAFE ] || mkdir -p $SAFE
LNG=$(echo $LANG | cut -d '_' -f 1)
CHARSET=$(echo $LANG | cut -d '.' -f 2)
# minimal error checking
if [ -z $1 ]; then
echo "Please specify a search term. Ex. ./aurget cairo"
exit 0
fi
# search google for the AUR package
lynx -accept_all_cookies -dump -hiddenlinks=ignore -nonumbers -assume_charset="$CHARSET" -display_charset="$CHARSET" "http://www.google.com/search?hl=${LNG}&q=${1}+site%3Ahttp%3A%2F%2Faur.archlinux.org%2F&btnG=Search" | grep AUR\ \(en\) > $WD/results
if [ ! -s $WD/results ]; then
echo "Sorry, no appropriate results."
exit 0
fi
# display the results
clear
echo ""
echo "Results found:"
echo ""
cat -b $WD/results | awk '{ print " ", $1, "-", $6 }'
echo ""
echo "Please enter the number to download: (or q to quit)"
echo ""
# read which packages to DL
read NUM
if [ "$NUM" = "q" ]; then
echo " Quitting..."
exit 0
fi
PACK=$(cat -b $WD/results | grep -P "$NUM\t" | awk '{ print $6 }')
# download the tarball
clear
echo ""
echo "Downloading $PACK to $WD..."
echo ""
wget -q -O $WD/$PACK.tar.gz http://aur.archlinux.org/packages/$PACK/$PACK.tar.gz || exit 1
# extract the tarball
clear
echo ""
echo " Tarball downloaded."
echo ""
echo " Extract the files? (y/n)"
echo ""
read E
case $E in
y)
cd $WD && tar xvzf $PACK.tar.gz || exit 2
n)
echo " Quitting..."
cp $WD/$PACK.tar.gz $SAFE/
rm -r $WD
exit 0
echo " Invalid, quitting."
rm -r $WD
exit 5
esac
# use makepkg to build the package
clear
echo ""
echo " Files extracted."
echo ""
echo " Build the package? (y/n)"
echo ""
read B
case $B in
y)
cd $WD/$PACK && makepkg -s || exit 3
PACK=$(find $WD/$PACK -name '*pkg.tar.gz')
n)
echo " Quitting..."
cp $WD/$PACK $SAFE/
rm -r $WD
exit 0
echo " Invalid, quitting."
rm -r $WD
exit 5
esac
# use pacman -U to install the package
clear
echo ""
echo " Package built."
echo ""
echo " Install the package? (y/n)"
echo ""
read I
case $I in
y)
sudo pacman -U $PACK || exit 4
n)
echo " Quitting..."
cp $PACK $PD/
rm -r $WD
exit 0
echo " Invalid, quitting..."
rm -r $WD
exit 5
esac
# clean up the working directory, save the package if you want
clear
echo ""
echo " Package was installed."
echo ""
echo " Keep the Package? (y/n)"
echo ""
read K
case $K in
y)
cp $PACK $PD/
rm -r $WD
exit 0
n)
echo " Quitting..."
rm -r $WD
exit 0
echo " Invalid, quitting..."
rm -r $WD
exit 5
esac
# always clean up after yourself
[ -d $WD ] && rm -r $WD
exit 0
i know i could probably search AUR directly but i took the lynx line from another script and just kept it (added the site= term to keep it AUR specific)
Last edited by brisbin33 (2009-04-02 17:19:44)

Similar Messages

  • Update packages installed from AUR

    Is there some way to automatically check for newer packages that were installed from aur and install them.
    I want achieve behaviour similiar to pacman -Syu.

    karol wrote:http://wiki.archlinux.org/index.php/AUR_Helpers
    Yes, exactly. As well, there are countless threads on the subject. This has been covered to death.

  • What do you use to create distributable packages with ARD?

    What do you use to create distribution packages for ARD?
    I.E. a package for installing the new Oracle Java 7.21 on all our machines.
    Or, a package for installing Micosoft Office 14.3.2 udapters?
    Specifically for 10.7 and 10.8 users.
    Install Ease?
    Jamf Composer?
    Packages?
    xCode PackageMaker?
    Which one should I put my time into using?
    Thanks.

    Nicolas, Have you been able to get the Adobe Update to work? I get stopped at the first step, putting in the command-line to install the AUS2.0. I think we have a support Contract, i should probably just ask Adobe for assistance.
    Does noboby create their own distributable packages? Maybe i'm looking at this wrong.
    I see that even Microsoft puts their updates into a .pkg file that is pushable through ARD. Maybe most everyone else does?
    I was able to get an Adobe Flash Player Distributable installer, from Adobe, you have to fill out a form asking for permission for the distributable installer, and they send you a link to the files.. ugh. but fine. I have the .pkg installer for Flash, and that works pushing out over ARD.
    http://www.adobe.com/products/players/flash-player-distribution.html
    I guess my life would be great, if i can just get a Updater source for CS5.5 and CS6.
    I did create the Adobe Package distribution for actually installing the CS6 over ARD. That works.
    I have a licensing glitch on deploying new machine off a build that has CS6 on it. I'm able to get around the licensing glitch by using the Adobe Serialization tool, that's fine.
    I guess i'm just looking for a CS6 Updates tool. I'm fine creating a CS6 updater package using InstallEase or something. I'm wondering what the best one is.
    IF most everything already comes as a .pkg file nowadays, and it's just Adobe that's difficult. I guess there's not really a need to create .pkg files for anyone? So nobody really uses them?

  • What do you use instead of picture package in photoshop cs6

    What can you use instead of picture package in photoshop cs6. You cannot import it anymore to make pictures. I do not want to print one at a time.

    I think the Bridge Output Module comes as standard with CS6, but I might be wrong.  Even if you have CC, you can download the Output Module.
    Install Adobe Output Module

  • Can you identify which MS Update package contains build 34238

    We discovered that a recent update had broken some code and we're trying to pin down which update was the culprit.   We have a fix, so that isn't the issue.   The issue is that the software is being used by clients and we would like to warn them not
    to apply the Microsoft Update until after they have applied our fix.
    What I know is that Build 34209 runs the code with no errors, however machines with build 34238 (.net 4.0.30319.34238) has the issue.    So, if anyone can let us know which update this build is found int, we can warn our customers.
    Thanks
    Stuart Hunt

    Hi Stuart Hunt,
    I do not have any documentation off hand to identify which update package contains MSBuild 34238, however I would like to know is there any relationship with MSBuild? MSBuild is only used to compile applications base on the configurations, will MSBuild version
    effect compile result?
    Besides if you think the .net 4.0.30319.34283 is the issue, you could include some previous version of dll in your project package and use these dll instead of using system dlls.
    Some of my research on the Internet pointed to KB3004394 (Not that sure), I would suggest you to have a check.  But not sure, you may need to get a confirmation from:
    http://answers.microsoft.com/en-us/windows/forum/windows_update?tab=Threads
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • What if you miss a software update?

    What happens if you miss a software update? Can you get it later or keep getting them?
    I Pod 3rd gen and I Pad 2nd gen
    Cheers

    You can update to the latest iOS any time you want.  Presently the update are a complete iOS.  Just note that if you have say 4.2.1 and and 3 or 4G iPod, you can only update to the latest, 4.3.5 today but not update to any of the ones between.

  • So All In All What Do You Think Of The Update????

    Well For Me.....To be honest the only thing I would like is more HD movies....I came home....took the update......It went flawlessly total time took me about 7 minutes...no problems or hick-ups.....I still get sound threw my hdmi...I like the way the picture in HD movies look. I have a samsung 1080P plasma and love the fact they now support 1080P.........and by no way am I a apple fan boy I do have some gripes with my iPhone but that's why I hacked it:)
    I like the way you tube and the podcasts are.....I wish maybe I could select "subscribe" while I clicked on a podcast......I'm sure more HD movies will come out with time......I am a big movie buff and tech guy....I have stand alone hd DVD players and stand alone blu ray players.......but I have found that I have turned into a HD snob "if it's not in HD I won't watch it" But with that attitude I cost me money I end up buying every movie on blu ray or hd DVD and then get home and not really want to keep the movie cause I didn't like it as much as I thought after I was done watching it
    So with that in mind is why I bout ATV...considering I belong to netflix and blockbuster...netflix I end up waiting WEEKS AND WEEKS for a new release...and blockbusters selection... don't make me laugh ..........
    I like the new menu "I guess I'm in the minority" I love this new gadget...what els can I say.........oh and the fact I can be sitting at my PC in my office listening to my itunes library and then click one button and now that song is now playing threw my ATV in my living room and artwork track title and song info is now displayed on my plasma is quite amazing...I have people in my living room all the time and say "hey can you come to my office I want you to hear this new song I bought off itunes" and now we are huddled around my PC...so now I can just click a button from my office is very very cool
    I feel bad that some people are not happy with there ATV or expected more but one thing I have noticed about apple is the give you less and less and down the line they end up adding a feature you should have had all along and you end up kissing there feet and thanking them for it. { I.E. the iPhone you can now move your icons around}...kind of a good marketing strategy though...who els makes new when they release a firmware update?
    With that said I hope the people that are unhappy down the line those problems go away and you end up enjoying your ATV how I have come too....I will continue to support apple as long as "well to me personally" they keep making cool looking and innovative products..........
    THIS IS JUST MY OPINION MY 00.02........but I would like to hear yours

    Over the years I've learned to tune out some of the complaints from the Apple faithful of which I'm one. I think Apple has set the standard and we expect no less from them. However, I've found that the longer you use a new Apple product the more you see the genius of it.
    I rushed home from work and started the update right away. I have to say, my ATV purchase was well worth it. Just with the few hours I've had with 2.0 I've discovered music videos all over again. I bet Apple will see an increase in music video downloads. This is the perfect medium for music videos. Also, the "add to favorites" podcast feature is perfect. You no longer need to save podcasts on your hard drive. All you have to do is stream them. If you really want to save them then just go to your computer and subscribe.
    I haven't even began to talk about movie rentals which just works. All Apple has to do is to keep adding titles.
    Here is my home media setup. Over the air HD antenna, Apple TV. No more subscribing to cable or direct tv. Money saved.

  • [Solved] Removing package installed by AUR

    I installed digikam and would like to remove it.
    [burt@bobland ~]$ sudo pacman -Qs digikam
    local/digikam-beta 1.0.0-7
    Digital photo management application for kde
    [burt@bobland ~]$ sudo pacman -Qi digikam
    error: package "digikam" not found
    Because the package is not found, I can't remove it.  But the files are still there.
    [burt@bobland ~]$ sudo pacman -R digikam
    digikam not found, searching for group...
    error: 'digikam': not found in local db
    [burt@bobland ~]$ which digikam
    /usr/bin/digikam
    Last edited by bobland (2009-10-11 23:04:45)

    Read your system's output more carefully. Your pacman -Qs command above shows that the package is called digikam-beta.

  • Creating Software Update Packages - Best Practice?

    I am setting up our SCCM 2012 R2 environment to begin using it for Windows Updates, however I'm not sure 100% the best method of setting it up.
    Currently my plan is to break out the deployment packages by OS, but I read\told that I should avoid creating to many dynamic deployment packages, as every time it changes all the computers will re-scan that package.  So What I want to do is create
    various packages for OS and years, so I would have a package that contains all updates for Windows 7, older then January 31, 2013 (assuming the package doesn't have 1000+ updates), and are not superseded\Expired. Then I would create Packages for the 2014
    monthly updates each month, then at the end 2014, combine them all in 1 package, and restart the process for 2015.  Is this a sound plan or is there a better course of action?
    If this the best practice method, is there any way to automatically create these packages?  I tried the Automatic Deployment Rules, but I can not set a Year of release, only the a time frame of the release,(older then 9 Months), unless I am missing
    something.  The only way I can see doing this is going into All Software Updates, and filtering on my requirements, and then manually creating the package, but this would less desirable, as after each year I would like to remove the superseded and expired
    without having to recreate the package.
    Mark.

    First, please learn what the different objects are -- not trying to be rude, just stating that if you don't do this, you will have fundamental issues. Packages are effectively meaningless when it comes to deploying updates. Packages are simply a way of grouping
    the binary files so they can be distributed to DPs and in-turn made available to clients. The package an update is in is irrelevant. Also, you do not "deploy" update packages and packages are not scanned by clients. The terminology is very important because
    there are implications that go along with it).
    What you are actually talking about above are software update groups. These are separate and distinct objects from update packages. Software Update groups group updates (not the update binaries) into logical groups that can be in-turn deployed or used for
    compliance reporting.
    Thus, you have two different containers that you need to be concerned about, update packages and update groups. As mentioned, the update package an update is in is pretty meaningless as long as the update is in a package that is also available to the clients
    that need it. Thus, the best way (IMO) to organize packages is by calendar period. Yearly or semi-annually usually works well. This is done more less to avoid putting all the updates into a single package that could get corrupted or will be difficult to deploy
    to new DPs.
    As for update groups, IMO, the best way is to create a new group every month for each class of products. This typically equates to one for servers, one for workstations, and one for Office every month. Then at the end of every year (or some other timeframe),
    rolling these monthly updates into a larger update group. Keep in mind that a single update group can have no more than 1,000 updates in it though. (There is no explicit limit on packages at all except see my comments above about not wanting one huge package
    for all updates.)
    Initially populating packages (like 2009, 2010, 2011, etc) is a manual process as is populating the update groups. From then on, you can use an ADR (or really three: one for workstations, one for servers, and one for Office) that runs every month, scans
    for updates released in the past month, and creates a new update group.
    Depending upon your update process, you may have to go back and add additional deployments to each update group also, but that won't take too long. Also, always QC your update groups created by an ADR. You don't want IE11 slipping through if it will break
    your main LOB application.
    Jason | http://blog.configmgrftw.com

  • What are you using as a Flash replacement for 64-bit machines?

    Hi,
    I was reading about the vulnerabilities in Adobe's Flash and decided to remove the offending package. I opened Chromium to make sure my Flash still worked, as I understood that Chromium implemented another method for rendering Flash stuff. I was wrong. For example, YouTube tells me that I need Flash 10 or higher. I tried to re-install the flashplugin package, but it is no longer in the repos.
    I can live without Flash content, but it's nice to have.
    So the question is, what are you using instead, that can be installed from the main repos?
    Many thanks,
    Chris.

    I have installed both lightspark 0.4.3 and gnash 0.8.8, since lightspark should be able to 'fall back to gnash for older videos' (see changelog of lightspark).
    I have tried some flash-websites in firefox and all of them seem to use gnash and there was 1 website that didn't load the content (www.deredactie.be - our national tvstation). So, I'm under the impression that lightspark is not used by firefox.
    Has anyone found out how to do this?
    Secondly, gnash should be able to use VA-API (hardware acceleration). Is it just a question to install libva and let gnash do the rest, or does one have to recompile gnash to build the support in?
    Zl.
    PS: to whoever thinks flashplugin is the 'real flash': gnash has beaten it in terms of providing hardware acceleration. hooray for opensource!

  • Create update package question

    So we have a package:
    Adobe_CS6-MasterCollection_en-US_20120912_install.pkg
    A month later we want to create an update package that includes ONLY the updates released AFTER the above package was created.
    Possible?
    Don

    Hi Don,
    We can modify the package which will detects the previous updates and will show new updates available after that. But if you are  creating new update package then it will not have any knowledge of already created package, rather it will show all the latest available updates.
    But point taken, we will analyse the feasibility of including this feature in AAMEE.
    thanks,
    Rahul | [email protected]

  • Video-gaming: What's your favourite ever gaming moment/memory?

    Hi guys,
    So, this week we've had some great discussions around gaming and today is the last one
    What's your favourite ever moment or memory?
    For me, it was completing this level of Crash Bandicoot called 'Crash Crush'. You had to run towards the screen while a boulder chased you, as well as dodging emerging pits! It was almost too much for my 9-year old self to handle
    What's you favourite gaming moment or memory? Was it was shock twist? A difficult achievement? A funny design? Sound off below!

    lovemyphone wrote:
    Couldn't stop laughing at your comment @Cleoriff little blue idiotIt would have sounded so much better had I used B*****r or B******d  but I am too much a laydee

  • Oracle DBMS_RAND package install on NT

    How do you install the Oracle DBMS_RAND package on NT. Oracle 8i is installed on and NT box and I'm not familiar with the tools in this environment. Like - is there such a thing as svrmgrl? If there is then how do I get there on a Windows NT box?
    Thanks for any input
    JR Myint

    I hope you are looking for the package DBMS_RANDOM (and not DBMS_RAND). It should already be installed. If you
    do not see this package installed then you can run ${ORACLE_HOME}/rdbms/admin/dbmsrand.sql script to create
    this package (you must run this script under user SYS).
    Oracle8i should have SVRMGRL (Oracle Server Manager) installed (file SVRMGRL.EXE). You can go to DOS window and
    type SVRMGRL at the DOS prompt to get Server Manager.
    SQL> desc dbms_random
    PROCEDURE INITIALIZE
    Argument Name                  Type                    In/Out Default?
    VAL                            BINARY_INTEGER          IN
    FUNCTION NORMAL RETURNS NUMBER
    FUNCTION RANDOM RETURNS BINARY_INTEGER
    PROCEDURE SEED
    Argument Name                  Type                    In/Out Default?
    VAL                            BINARY_INTEGER          IN
    PROCEDURE SEED
    Argument Name                  Type                    In/Out Default?
    VAL                            VARCHAR2                IN
    FUNCTION STRING RETURNS VARCHAR2
    Argument Name                  Type                    In/Out Default?
    OPT                            CHAR                    IN
    LEN                            NUMBER                  IN
    PROCEDURE TERMINATE
    FUNCTION VALUE RETURNS NUMBER
    FUNCTION VALUE RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    LOW                            NUMBER                  IN
    HIGH                           NUMBER                  IN
    SQL>

  • TS3212 What does this mean, and how do you fix it? "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vender."

    What does this mean, and how do you fix it?
    "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vender."
    Trying to install iTunes 10.7, first attempt; downloaded and ran with everything closed, seccond atttempt; just click on run, third attempt; ran upgrade with iTunes open. All of the results were the same.
    Is there something wrong with the iTunes 10.7 Windows installer package?

    Try the following user tip:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • I am trying to upload itunes 10.5, but get a message "There is a problem with this Window Installer Pkg. A program required for this install to complete could not be run.  Contact your support personnel or package vendor".  What is it I need to do?

    I am trying to install itunes 10.5, but during the download I get the following message, "There is a problem with this Window Installer Package.  A program required for this install to complete could not be run.  Contact your support personanal or package vendor."  If this is my personal computer and was able to upgrade to the previous version (pre 10.5), why not now?  What is my "package vendor"? And what is it I need to do to fix this?  The message is unclear.  Unfortunately, I deleted my itunes program, thinking that in doing so, 10.5 would finally load.  Now I have no itunes on my computer and unable to sync my iphone.  Help!
    Thanks - Rick

    Hi Rick,
    by "repair" I mean I went to the control panel, option - programs and features, and in the list of all my installed programs I selected "Apple Software Update". On top of the screen you find the options Uinstall, Change and Repair. I clicked the repair button and that did the trick. After the repair I could uninstall the program. I also uninstalled iTunes, Apple Application Support, Apple Mobile Device Support en Bonjour, thus all Apple programs. Then I installed iTunes 10.5 again and everything went fine.
    Success,
    Peter

Maybe you are looking for

  • Burned CDs won't play my car, but did when I had a PC

    Why am I having this problem and how do I fix it? I've tried increasing and decreasing the CD burning speeds in iTunes. Any suggestions? Thanks!!

  • I can't convert itune into ringtone

    I have converted the itune into AAC format, but when I go to choose a start and stop time, it doesn't save it. I have multiple versions of the same full-length song, but no abbreviated version to use as a ringtone. Help...I need my Beatles...

  • Help! Jpg, Png, Tiff files creating on MAC won't open on PC

    Ok...I'm new to MAC and I'm creating all of my images in Photoshop as i have always done on my PC. But now when i save anything as a JPG or PNG nobody using a PC can open them. I've checked the file extension, etc. I don't understand what I'm doing w

  • Working on Upgrade - Need to Activate all user exits for unicode

    Hi Experts, I am working for Upgrade project, All the user exits were not unicode compatable, Hence every T.Code which is activated for User Exit is going into Dumps. Can anyone give us the easy way to fix this problem. Regards, Sekhar.J

  • Kernel module or integrated

    I should  probably read Linux Kernel in a nut shell but I didn't have the time yet! Is there some improvement in building certain feature or driver inside the kernel instead of module? For example if I now that my machine has a Broadcom B43 wireless,