You are not logged in.

#1 2009-11-07 16:16:56

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

[Aurget] Best AUR-Helper?

Hi there big_smile
I'm a quite new Arch Linux user and i really love Arch's package management.

I would like to have some hints from you, regarding which AUR helper it's better to use.
I really don't want to use yaourt instead of pacman, but i would like to be able to easily upgrade and install my packages from AUR.
I think aurget is the right one for me but i can't understand if it can handle AUR packages upgrades.

Can you help me?
What would you suggest to me? Yaourt, Aurget or something else?

Thanks! smile

Last edited by rent0n (2010-02-21 20:31:15)


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#2 2009-11-07 18:44:20

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: [Aurget] Best AUR-Helper?

What's wrong with Yaourt?  Always did the job for me.  No knock on aurget as I haven't tried it yet.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#3 2009-11-07 18:52:46

lman
Member
From: CZ
Registered: 2007-12-18
Posts: 255

Re: [Aurget] Best AUR-Helper?

on 64bit yaourt has a problem with updating (yaourt -Syu). Other than that I think it's the best out there.

Last edited by lman (2009-11-07 18:52:59)

Offline

#4 2009-11-07 20:17:27

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [Aurget] Best AUR-Helper?

the aurget in my sig works best for me ofcourse.

here's the help:

//blue/0/~/ aurget -h
usage: aurget [options] [package1] [package2] ...

  options:
        -u, --upgrade    check for and install available upgrades
        -U, --devel      upgrade all devel [git, svn, etc] packages

        -I, --info       print info for [package]
        -s, --search     search aur for [package]
        -d, --download   download tarball for [package]
        -b, --build      download and build [package]
        -i, --install    download, build, and install [package]

        -e, --edit       prompt to edit PKGBUILDs
        -D, --nodeps     disable all auto dependency resolution

        -h, --help       display this

        default behavior is equivalent to -ieD

        using -D means you're not checking any dependencies
          i.e. makepkg -d is used

        passing conflicting options override each other
          i.e. -sdb is equivalent to -b

        passing any active option triggers on the first
          i.e. -suUb is equivalent to -u

note: i guess i should really change the name at somepoint, the aurget in the AUR is a spinoff of the earliest version of my script maintained by another user.  the one in my sig can only be downloaded from my site.

Last edited by brisbin33 (2009-11-07 20:20:05)

Offline

#5 2009-11-07 20:40:31

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: [Aurget] Best AUR-Helper?

brisbin33 wrote:

the aurget in my sig works best for me ofcourse.
note: i guess i should really change the name at somepoint, the aurget in the AUR is a spinoff of the earliest version of my script maintained by another user.  the one in my sig can only be downloaded from my site.

So it seems to handle package upgrading well, right? smile
Why don't you add it to the AUR?
This thing is quite confusing, because if you search in google for aurget you are linked to that AUR package.
You definetly have to change the name and/or post your project on the AUR! big_smile

Last edited by rent0n (2009-11-07 20:42:40)


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#6 2009-11-07 20:44:11

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [Aurget] Best AUR-Helper?

but it makes it 'exclusive' and 'cooler' this way, right?  hehe, maybe someday i'll sit down and figure out how to put up an AUR package... for now, oh well, i get to use it and that's good enough for me smile.

Offline

#7 2009-11-08 12:27:23

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: [Aurget] Best AUR-Helper?

brisbin33 wrote:

but it makes it 'exclusive' and 'cooler' this way, right?  hehe, maybe someday i'll sit down and figure out how to put up an AUR package... for now, oh well, i get to use it and that's good enough for me smile.

Well...i don't totally agree with you just because new users that want to use "aurget" probably don't know about two differents forks/packages and they install the AUR version...But it is your tool, so you decide what to do! wink
Anyways what are the main differences between the two? Is the "other" aurget still mantained?
Cheers smile


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#8 2009-11-08 16:02:08

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [Aurget] Best AUR-Helper?

yeah i was joking about the 'exclusive' bit.  it's of course confusing, but i'm also very, very lazy.  anyone wanna maintain a brisbins-aurget package for me?

anyways, i don't know the differences, i only remember when he forked it (documented somewhere on the 'post your handy scripts' thread) and noticed recently that there's an aur package for it.  we both have web pages describing our respective tools, or you could use them both and see.  that said, mine's the best big_smile.

Offline

#9 2009-11-08 16:28:34

jwcxz
Member
Registered: 2008-09-23
Posts: 239
Website

Re: [Aurget] Best AUR-Helper?

My "aurget":

function aur {
        cd $aurdir
        wget http://aur.archlinux.org/packages/$1/$1.tar.gz && tar -xzf $1.tar.gz && rm $1.tar.gz && cd $1 && makepkg -s
}

-- jwc
http://jwcxz.com/ | blog
dotman - manage your dotfiles across multiple environments
icsy - an alarm for powernappers

Offline

#10 2009-11-11 11:34:19

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: [Aurget] Best AUR-Helper?

brisbin33 wrote:

yeah i was joking about the 'exclusive' bit.  it's of course confusing, but i'm also very, very lazy.  anyone wanna maintain a brisbins-aurget package for me?

anyways, i don't know the differences, i only remember when he forked it (documented somewhere on the 'post your handy scripts' thread) and noticed recently that there's an aur package for it.  we both have web pages describing our respective tools, or you could use them both and see.  that said, mine's the best big_smile.

I'm using it, I'm maintainig some pkg on AUR, o I could upload it wink However, I didn't see any version notifying on your side, and checking if it's updated from last time I've downloaded it is somehow problematic wink

BTW. Would be nice to use makepkg --skipinteg for building pkgs.


Proud ex-maintainer of firefox-pgo

Offline

#11 2009-11-11 19:57:52

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [Aurget] Best AUR-Helper?

thanks for offer blasse.  I actually sat down and figured out this AUR stuff today.  with Xyne's aurploader it uber-easy to maintain a package so i'll just take care of it.  but... i stupidly uploaded it as 'aurget' and not 'brisbins-aurget'...

so next time i'm on IRC im gonna ask Ghost to remove it and i'll reupload with the right [non-confusing] name.

now, should --skipinteg really be hardcoded? or should i think about a MAKEPKG_OPTS config variable?

Last edited by brisbin33 (2009-11-11 20:01:41)

Offline

#12 2009-11-12 00:28:04

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: [Aurget] Best AUR-Helper?

I like aurget too, I started using it over yaourt. I use it with `build` instead of `install` mode, but when you do aurget -u and it fails halfway the built packages aren't moved to the build directory (and are they also lost the next time you run aurget?)

Offline

#13 2009-11-12 00:43:48

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [Aurget] Best AUR-Helper?

Procyon wrote:

I like aurget too, I started using it over yaourt. I use it with `build` instead of `install` mode, but when you do aurget -u and it fails halfway the built packages aren't moved to the build directory (and are they also lost the next time you run aurget?)

i've never tested aurget -u with the 'build' mode.  i'll look into this for sure, thanks for the bug report.  (the first thing aurget does is clear out the working directory, so anything still there would be lost).

EDIT: i'm afraid i can't reproduce:

//blue/0/~/ grep ^MODE .config/aurgetrc 
MODE="build"
//blue/0/~/ aurget -u
:: Starting AUR upgrade...
warning: mutt-sidebar: local (1.5.20-1) is newer than aur (1.5.19-1)
searching AUR...

Targets (2): canto-0.7.5-1 scrotwm-0.9.19-2

Proceed with installation?? [Y/n] y
:: Retrieving source files from AUR...
--2009-11-11 19:56:55--  http://aur.archlinux.org/packages/canto/canto.tar.gz
Resolving aur.archlinux.org... 208.92.232.29
Connecting to aur.archlinux.org|208.92.232.29|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 487 [application/x-tgz]
Saving to: `/tmp/aurget/canto/canto.tar.gz'

100%[===============================================================================>] 487         --.-K/s   in 0s      

2009-11-11 19:57:00 (91.6 MB/s) - `/tmp/aurget/canto/canto.tar.gz' saved [487/487]

--2009-11-11 19:57:00--  http://aur.archlinux.org/packages/scrotwm/scrotwm.tar.gz
Resolving aur.archlinux.org... 208.92.232.29
Connecting to aur.archlinux.org|208.92.232.29|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2230 (2.2K) [application/x-tgz]
Saving to: `/tmp/aurget/scrotwm/scrotwm.tar.gz'

100%[===============================================================================>] 2,230       --.-K/s   in 0s      

2009-11-11 19:57:01 (402 MB/s) - `/tmp/aurget/scrotwm/scrotwm.tar.gz' saved [2230/2230]

==> Making package: canto 0.7.5-1 x86_64 (Wed Nov 11 19:57:01 EST 2009)
...
==> Finished making: canto 0.7.5-1 x86_64 (Wed Nov 11 19:57:03 EST 2009)
==> Making package: scrotwm 0.9.19-2 x86_64 (Wed Nov 11 19:57:03 EST 2009)
...
==> Finished making: scrotwm 0.9.19-2 x86_64 (Wed Nov 11 19:57:07 EST 2009)
//blue/0/~/ ls -l Packages/ | grep 2009-11-11
-rw-r--r-- 1 patrick patrick 116K 2009-11-11 19:57 canto-0.7.5-1-x86_64.pkg.tar.gz
-rw-r--r-- 1 patrick patrick  39K 2009-11-11 19:57 scrotwm-0.9.19-2-x86_64.pkg.tar.gz

do me a favor and download the latest, see if the problem still presents?

Last edited by brisbin33 (2009-11-12 00:59:12)

Offline

#14 2009-11-12 01:04:55

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: [Aurget] Best AUR-Helper?

lman wrote:

on 64bit yaourt has a problem with updating (yaourt -Syu). Other than that I think it's the best out there.

It doesn't have a problem on my 64-bit machine.

Jay

Offline

#15 2009-11-12 07:39:45

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: [Aurget] Best AUR-Helper?

brisbin33 wrote:

thanks for offer blasse.  I actually sat down and figured out this AUR stuff today.  with Xyne's aurploader it uber-easy to maintain a package so i'll just take care of it.  but... i stupidly uploaded it as 'aurget' and not 'brisbins-aurget'...

so next time i'm on IRC im gonna ask Ghost to remove it and i'll reupload with the right [non-confusing] name.

now, should --skipinteg really be hardcoded? or should i think about a MAKEPKG_OPTS config variable?

MAKEPKG_OPTS would be probably better, as it doesn't disable checks at all smile


Proud ex-maintainer of firefox-pgo

Offline

#16 2009-12-14 21:28:30

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: [Aurget] Best AUR-Helper?

@brisbin33:

1. Does aurget also take into consideration and thus upgrade AUR packages installed manually or it handles only AUR packages installed via aurget?
2. Altough it is not reccomended to update aurget via aurget, I've done this two or three times on different machines without problems. Am I lucky? big_smile
3. Many thanks for your good work on aurget, it's becoming better every day! cool


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#17 2009-12-14 22:01:37

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [Aurget] Best AUR-Helper?

rent0n wrote:

@brisbin33:

1. Does aurget also take into consideration and thus upgrade AUR packages installed manually or it handles only AUR packages installed via aurget?
2. Altough it is not reccomended to update aurget via aurget, I've done this two or three times on different machines without problems. Am I lucky? big_smile
3. Many thanks for your good work on aurget, it's becoming better every day! cool

1. it looks at the output of pacman -Qqm (foreign packages) then searches AUR by name.  if it's found, and out of date, it'll show it.
2. i say it's not recommended b/c the install is replacing /usr/bin/aurget while it's in use; i guess if it's loaded in memory your system won't care, but i've seen funny things happen... if it works for you, go nutz!
3. No prob, glad you're liking it!

Offline

#18 2009-12-14 22:10:52

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: [Aurget] Best AUR-Helper?

Perfect, thank you!


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#19 2010-01-03 21:41:37

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: [Aurget] Best AUR-Helper?

brisbin33, maybe I've found a bug:

┌─[enrico@beetle][~]
└─[$] aurget caffeine
resolving dependencies...
searching AUR...
warning: caffeine-1.0.1-2 is up to date -- reinstalling

Targets (1): caffeine-1.0.1-2

Proceed with installation? [Y/n] 
:: Retrieving source files from AUR...
--2010-01-03 22:36:58--  http://aur.archlinux.orgurlpath/
Resolving aur.archlinux.orgurlpath... failed: Name or service not known.
wget: unable to resolve host address "aur.archlinux.orgurlpath"
error: caffeine: failed downloading tarball.

Aurget works perfectly with other packages and this is not something related to caffeine's PKGBUILD.


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#20 2010-01-03 23:19:44

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [Aurget] Best AUR-Helper?

ah yes, inconsistencies in the JSON interface and package descriptions throwing off my awk patterns.  I've found and fixed the problem in my "dev build" (http://pbrisbin.com:8080/bin/aurget).  i'll update my AUR package shortly.

thanks for finding this.

Offline

#21 2010-02-21 20:30:52

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: [Aurget] Best AUR-Helper?

Found something else, while trying to install pymol-svn:

I use automatic dependencies on aurget.
When I try to install an AUR package, aurget correctly asks me if I want to install the other dependent packages in the AUR, but when it comes to dependent packages on the repos it asks me to install them but then exits immediately like if I said no and returns an error message:

==> ERROR: Could not resolve all dependencies.

Any hints?


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#22 2010-02-22 14:17:11

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [Aurget] Best AUR-Helper?

rent0n, thank you for your testing.  i just realized my call to makepkg is in a subshell.  so when python-numeric is being installed as a dep by makepkg -s the the user is unable to say Y to the pacman prompt. 

i've added --noconfirm to the call to makepkg at line ~892 and this solves the issue.  (you're already prompted by aurget itself so why prompt again?)  this is fixed in the /bin version (1.4-4) on my site and i'll update the aur package soon.

thanks.

Offline

#23 2010-02-22 16:58:52

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: [Aurget] Best AUR-Helper?

Thank you for sharing such a useful tool!
It's a pleasure to help where I can.


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#24 2010-04-30 17:13:00

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: [Aurget] Best AUR-Helper?

Hi brisbin,
Aurget 2.0 is very nice, and I like the pacman-like new options.
Just noticed one thing, a trailing 'false' is always appearing every time aurget is called:

┌─[rent0n@aspire][~]
└─[$] aurget -Syu
:: Starting AUR upgrade...false
 local database up to date
┌─[rent0n@aspire][~]
└─[$] aurget -Ss muttng
aur/muttng 1.5.18-1false 
    A small but very powerful text-based mail client (well featured fork)

I guess you can easily fix this!
Cheers,


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#25 2010-04-30 17:40:09

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: [Aurget] Best AUR-Helper?

a trailing 'false' is always appearing every time aurget is called:

And I thought it was just me. Anyway, I can confirm this.

Edit: adding --nocolor makes this artifact disappear

Last edited by grey (2010-04-30 17:50:32)


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

Board footer

Powered by FluxBB