You are not logged in.
Hi there
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!
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
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
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
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)
//github/
Offline
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?
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!
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
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 .
//github/
Offline
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 .
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!
Anyways what are the main differences between the two? Is the "other" aurget still mantained?
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
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 .
//github/
Offline
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
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 .
I'm using it, I'm maintainig some pkg on AUR, o I could upload it 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
BTW. Would be nice to use makepkg --skipinteg for building pkgs.
Proud ex-maintainer of firefox-pgo
Offline
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)
//github/
Offline
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
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)
//github/
Offline
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
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
Proud ex-maintainer of firefox-pgo
Offline
@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?
3. Many thanks for your good work on aurget, it's becoming better every day!
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
@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?
3. Many thanks for your good work on aurget, it's becoming better every day!
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!
//github/
Offline
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
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
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.
//github/
Offline
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
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.
//github/
Offline
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
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
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