Username: Password: Remember me
Search Criteria Advanced
Package Details

yaourt 0.9.2.6-1
http://www.archlinux.fr/yaourt-en/
A Pacman frontend with more features and AUR support

unsupported :: system
Maintainer: wain
Votes: 3026

License: GPL

Last Updated: Mon, 17 Aug 2009 20:05:26 +0000
First Submitted: Tue, 04 Jul 2006 20:37:58 +0000

Tarball :: Files :: PKGBUILD

Dependencies diffutils pacman>=3.2.0 wget
Required by tupac zenity_pacgui

Sources
http://archiwain.free.fr/os/i686/yaourt/yaourt-0.9.2.6.src.tar.gz
Comment by: cmlr on Mon, 25 Jan 2010 13:30:22 +0000
Yaourt needs to support "provides". The arch-haskell maintainers say this is critical to their packages, and on this page:
http://haskell.org/haskellwiki/Arch_Linux/Preferred_Package_Tools
They say "Sadly, one of the most famous package builder tools does not support the "provides" field, and thus yaourt is entirely broken with Haskell packages".
Comment by: byte on Sun, 17 Jan 2010 19:47:11 +0000
(Ok, no diff since AUR still kills leading whitespace, but that's another issue ...)

In order to fix the display issue with AUR comments containing "*" (it gets replaced with the contents of the yaourt working dir), edit /usr/lib/yaourt/aur.sh, and on lines 160 and 178 quote the "line" variable:
-> echo "$line" >> comments/$numcomment
-> echo -e "${line/#Comment by:/\\n${COL_YELLOW}Comment by:}"$NO_COLOR
Comment by: peti on Fri, 15 Jan 2010 15:00:33 +0000
Recently, a bogus version of the package 'haskell-cabal' was uploaded to AUR that depended on itself. Consequently, yaourt went into an infinite loop, trying to resolve that dependency. It would be nice if yaourt would recognize that kind of dependency cycle and abort with an error.
Comment by: clanger on Wed, 13 Jan 2010 16:03:05 +0000
Not sure if this is a bug or a feature:

yaourt -Ss returns 0 even when no package is found.

This is at odds with pacman and makes using the yaourt search feature in scripts difficult.

Example:

$ yaourt -Ss not-a-real-package
$ echo $?
0
$ pacman -Ss not-a-real-package
$ echo $?
1


Comment by: ricardofunke on Tue, 29 Dec 2009 21:49:05 +0000
CARCH variable problem confirmed here.

yaourt just crash when it reaches this variable on the PKGBUILD of the package being installed
Comment by: jithin1987 on Mon, 21 Dec 2009 16:35:47 +0000
Hi,
I am seeing a strange issue in one PKGBUILD where $CARCH is not getting set in the PKGBUILD script. What could be the reason? This happens only when running through yaourt. The PKGBUILD is http://aur.archlinux.org/packages/chromium-browser-bin/chromium-browser-bin/PKGBUILD.
Comment by: tocer on Sun, 06 Dec 2009 13:54:58 +0000
ava1ar, thanks for your great work. I have installed it. I'll try it more.
Comment by: ava1ar on Sat, 05 Dec 2009 21:26:14 +0000
TheChessPlayer, man yaourtrc contains all this options
Comment by: ava1ar on Sat, 05 Dec 2009 15:19:37 +0000
tocer, just added this to yaourt-abs (http://aur.archlinux.org/packages.php?ID=31320)

u r welcome for more proposals :)
Comment by: tocer on Sat, 05 Dec 2009 14:11:25 +0000
Do you mind adding option --skipinteg into yaourt to switch makepkg?
Comment by: TheChessPlayer on Fri, 04 Dec 2009 19:55:36 +0000
The man page for yaourt command should link to yaourtrc's corresponding options. As an example, --aur should link to AlwaysUpgradeAur.
Comment by: ava1ar on Mon, 30 Nov 2009 19:52:30 +0000
nhilae, TheFlyingPengwyn, baghera,
fixes for issues you mention were implemented in today's update of yaourt-abs (http://aur.archlinux.org/packages.php?ID=31320)
Comment by: baghera on Mon, 30 Nov 2009 16:36:56 +0000
Would it be possible to change arch array to arch=(any) ? yaourt is just a set of bash scripts, so architecture independent.
Comment by: TheFlyingPengwyn on Sun, 29 Nov 2009 12:31:24 +0000
Thanks for this great script.

I have had one small problem using it, which was that an option in the yaourtrc file was not read until I realised that I had used a tab instead of spaces at the beginning of the option line. Could you modify the grep (that is at the end of basicfunctions.sh) for whitespace at the start of the line to include tabs too please?

I'm not sure how to do this properly myself, but I was forced to include a tab by typing \<Ctrl-v><tab> rather than any alternative (i.e. \t did not work).
Comment by: nhilae on Sat, 21 Nov 2009 17:29:50 +0000
Thanks for an awesome script :)

Not sure if you've addressed this issue after this release, but there's a spelling-error:

==> Continue installing ? [Y/n]
==> [V]iew package detail [M]anualy select packages
==> ----------------------------------------------

The word "Manualy" should be "Manually".

Sorry for nitpicking :o
Comment by: ryooichi on Sun, 08 Nov 2009 16:03:05 +0000
I would like to request a feature. Is there any way that "--ignore <package>" could work for AUR packages as well?


Ref comment originally posted on AUR nmap-svn (http://aur.archlinux.org/packages.php?ID=26535 with timestamp Sun, 08 Nov 2009 15:57:29):

pkgver=TRUNK
pkgrel=3

is both genius and troublesome:

geniusness: nmap-svn automatically updates whenever I do "yaourt -Syu --aur"

trouble: nmap-svn automatically updates whenever I do "yaourt -Syu --aur", even if I just updated it, because it pulls the current PKGBUILD down, sees the version as TRUNK-3 which doesn't match the locally changed one to be 16019-1 and thinks it needs an update

possible workarounds:

replace "pkgver=TRUNK" in your pkgbuild with "pkgver=16019", which may have the unintended consequence that one has to update it by name to get an updated package build from the current revision, i.e. "yaourt -S nmap-svn", but I believe this is the best way to do it

"yaourt -Syu --ignore nmap-svn --aur", if only --ignore worked for AUR packages in addition to regular packages

not use yaourt to manage my nmap-svn install which basically hints at this package not being compatible with yaourt and its current feature set...

fork it and make my own nmap-svn-ryooichi pkgbuild...
Comment by: system on Fri, 30 Oct 2009 13:31:04 +0000
Here is a rapidshare mirror for the source of this package:
http://rapidshare.com/files/300005403/yaourt-0.9.2.6.src.tar.gz
Comment by: timetrap on Fri, 30 Oct 2009 13:23:07 +0000
I just snagged the youart-git build, that's not blocked.
Comment by: timetrap on Fri, 30 Oct 2009 13:20:28 +0000
Duh. I'm an idiot. My work proxy was blocking 'archiwain.free.fr is categorized as security.proxy' ... Sorry. :-)
Comment by: timetrap on Fri, 30 Oct 2009 11:37:08 +0000
Yaourt isn't passing validity checks. Did you update the md5?
Comment by: legolas558 on Tue, 20 Oct 2009 15:17:36 +0000
correction: seems to be working OK also with community packages
Comment by: legolas558 on Tue, 20 Oct 2009 14:51:44 +0000
Please give a look to this topic:

http://bbs.archlinux.org/viewtopic.php?pid=640632#p640632

I have posted a patch to use the new WebSVN, however it must be modified for community packages to work.
Comment by: saf on Sat, 17 Oct 2009 17:26:27 +0000
i wrote some script to help to downgrade (without yaourt):

first enter pacman -Su and save all this entries in one txt file.

looks like this:
...
warning: compositeproto: local (0.4.1-1) is newer than extra (0.4-2)
warning: dmxproto: local (2.3-1) is newer than extra (2.2.99.1-1)
warning: fixesproto: local (4.1.1-1) is newer than extra (4.0-3)
warning: fontcacheproto: local (0.1.3-1) is newer than extra (0.1.2-2)
...

save it for example as pacman.lst

then compile this c++ script
http://nopaste.info/04680fe22d.html

just run it and give it the file u just saveds.

then it will put out somethink like this:
... compositeproto dmxproto fixesproto fontcacheproto ...

just copy the output of all ur "to much new packages" into pacman:
pacman -Su ... compositeproto dmxproto fixesproto fontcacheproto ...

and it will make an downgrade.
Comment by: saf on Sat, 17 Oct 2009 15:59:15 +0000
yeah same problem here downgrading dont work anymore...
some possibility to fix this problem?
Comment by: blasse on Thu, 24 Sep 2009 05:22:01 +0000
When using yaourt -Sb and building from source makepkg --skipinteg should be called (or there should be command to do that) - in way yaourt does it now makepkg checks for md5sum, so any change in pkgbuilds results in building fails :/
Comment by: blasse on Tue, 22 Sep 2009 15:47:43 +0000
@Flavious
from: http://wiki.archlinux.org/index.php/AUR_User_Guidelines
* First make sure that the necessary tools are installed. The package group "base-devel" should be sufficient, as it includes makepkg and the tools needed for compiling from source.

pacman -Sy base-devel

Comment by: Flavious on Tue, 22 Sep 2009 14:21:14 +0000

Please add "make" as a build dependency. Make may be not yet installed on a clean system. Thanks for this great tool!
Comment by: janwil on Tue, 22 Sep 2009 08:12:45 +0000
I wanted to install a package using yaourt. It conflicted with an existing package, so after building the package yaourt stopped. I removed the conflicting package and ran yaourt again. It detected that the new package had already been built and asked me if I wanted to use it. I said y, but after that yaourt still started a new build.

Part of the log:

---cut

==> opensc-estonia-svn dependencies:
- subversion (already installed)
==> Continue the building of opensc-estonia-svn ? [Y/n]
==> ----------------------------------------------
==>y


==> Install or build missing dependencies for opensc-estonia-svn:
==> Building and installing package
==> Yaourt has detected previous opensc-estonia-svn build. Do you want to use it (faster) ? [Y/n]
==> ----------------------------------------------
==>y

cp: omitting directory `./comments'

==> opensc-estonia-svn dependencies:
- subversion (already installed)
==> Determining latest svn revision...
-> Version found: 160
==> Making package: opensc-estonia-svn 160-1 i686 (Tue Sep 22 11:06:43 EEST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
At revision 160.
==> SVN checkout done or server timeout
==> Starting make...
+ test -f Makefile
+ rm -rf '*~' '*.cache' '*.m4' config.guess config.log config.status config.sub depcomp ltmain.sh
+ autoreconf --verbose --install
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I aclocal
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in `aclocal'.

---cut

Is this a bug or a feature?

Jan
Comment by: dejari on Sat, 19 Sep 2009 08:31:59 +0000
First stable version of Paktahn is done: http://blog.viridian-project.de/2009/09/19/announcement-paktahn-a-successor-to-yaourt/
Comment by: Vamp898 on Thu, 17 Sep 2009 11:43:37 +0000
yaourt -Su --downgrade does not work anymore :/
Comment by: archken on Wed, 16 Sep 2009 11:28:35 +0000
http://bbs.archlinux.org/viewtopic.php?id=80280

I have to cancel the pasv mode in yaourt, I try to make a file named .wgetrc in my home directory, and the file only has a line that 'passive_ftp = off', but failed. Then I add the line 'XferCommand = /usr/bin/wget --no-passive-ftp -c -O %o %u' into /etc/pacman.conf. also failed. Who can give a hand? Very thanks
Comment by: Rulatir on Fri, 11 Sep 2009 12:51:01 +0000
Same problem as blasse, regardless of "b" flag. VERY blocking, VERY frustrating.
Comment by: blasse on Wed, 09 Sep 2009 21:04:09 +0000
There is a problem when building community pkg from source with yaourt -Sb - yaourt search pkgbuid on AUR instead of new community repo.
Comment by: gonX on Mon, 07 Sep 2009 09:48:14 +0000
Crazycheese, installing them yourself should automatically update them from the latest git/svn - it should ask you if you want to use the old compile of the program, simply say no to it.
Comment by: Crazycheese on Tue, 01 Sep 2009 23:29:57 +0000
Yaourt is awesome tool, thank you very much!
Does anyone know how to force rebuild of <AUR> packages that are marked out-of-date? Many of them are fetched from SVN, rebuild and done.
Comment by: benoror on Wed, 26 Aug 2009 08:17:23 +0000
Can someone provide instructions to use yaour + powerpill for concurrent downloads ?
Comment by: Svenstaro on Tue, 18 Aug 2009 15:34:35 +0000
Updating packages with "+" in their names now works with yaourt 0.9.2.6 :D
Comment by: dejari on Sun, 09 Aug 2009 16:47:20 +0000
timofonic: do your questions apply to yaourt or Paktahn? If the latter then please post again at the forum and I will comment on it.
Comment by: dejari on Sun, 09 Aug 2009 16:46:37 +0000
http://bbs.archlinux.org/viewtopic.php?pid=598292#p598292
Comment by: timofonic on Sun, 09 Aug 2009 14:51:20 +0000
Are you going to do this in the future?

- Able to use aria2c and other like in powerpill wrapper.
- Intelligent use of mirrors, including not only speed comparison but also updated comparison.
- Functionality like pacman-cage.
- No need to manually modify dates from PKBBUILDs.
- Emacs friendly.
- Build packages from AUR or ABS for other platforms (crosscompiling) and to act as a mirror or "package build server" for them.
Comment by: dejari on Sun, 09 Aug 2009 11:29:30 +0000
The developer's preview binary is almost ready, I should have it by today's eve.

This initial binary will support direct installation of a specific package from repos and AUR (yaourt -S PACKAGE) and an interactive mode that lets you review and select packages (yaourt PACKAGE).
Comment by: gour on Sun, 09 Aug 2009 07:57:38 +0000
@dejari: is something ready for consumption?


Sincerely,
Gour
Comment by: dejari on Wed, 05 Aug 2009 13:51:40 +0000
Language is Common Lisp, expect usable release with public source (GPL) this weekend.
Comment by: magus on Wed, 05 Aug 2009 13:45:58 +0000
dejari, please tell us more. Implementation language? Public source repo available somewhere? Is it already somewhat usable?
Comment by: dejari on Wed, 05 Aug 2009 13:33:14 +0000
Hello everyone,

it seems that yaourt is no longer maintained.

I can't promise anything but I'm currently working on a successor to yaourt that will mimic its behavior and looks and will be more secure, faster and easier to maintain and extend.

It will not be a full Pacman wrapper but only be geared towards search and installation of packages from repos and AUR.
Support for more features will come with time.

Note that I'm not the author of yaourt.

Leslie
Comment by: cyberpatrol on Wed, 05 Aug 2009 13:30:44 +0000
timofonic: There are many issues with yaourt since a long time, which are still not fixed. Just read the comments. My impression is, that they have indeed abandoned yaourt development.

I'm currently using aurbuild. It's not a complete wrapper to pacman, but a working AUR script, which is actively maintained.
Comment by: timofonic on Wed, 05 Aug 2009 13:00:50 +0000
byte: How can old yaourt bugs not get fixed? Are they abandoning yaourt development?

It's sad because yaourt is my preferred pacman wrapper. Anyway, I think pacman should implement most of the functionality done by wrappers...
Comment by: byte on Wed, 05 Aug 2009 12:01:20 +0000
dlin: The bug concerning ++ in pkg names is quite old (but still not fixed, yes)
ombra: That last line comes from 'testdb' (part of pacman) and is harmless, the only change is that with the old pacman it didn't produce output if everything was alright.
Comment by: ombra on Wed, 05 Aug 2009 11:54:15 +0000
After upgrade to pacman 3.3.0, yaourt -Syu says:

:: Sincronizzazione dei database in corso...
core è aggiornato
extra è aggiornato
community è aggiornato
Checking the integrity of the local database in /var/lib/pacman/
Comment by: dlin on Tue, 04 Aug 2009 08:08:10 +0000
Can NOT search/build 'py++' on aur, but it is really on aur.
yaourt's version is 0.9.2.5
Comment by: timofonic on Mon, 03 Aug 2009 18:11:17 +0000
Suggestion: automodification of VCS AUR packages with date in the name so no need to modify them manually.
Comment by: sht0rm on Mon, 03 Aug 2009 15:17:14 +0000
When I add to ~/.bashrc
export GREP_OPTIONS='--color=always'

Then yaourt -Syu --aur write to me:
no recognized in config file
ColorMod no recognized in config file
Normal no recognized in config file
no recognized in config file
DontNeedToPressEnter no recognized in config file
yes no recognized in config file
no recognized in config file
PacmanBin no recognized in config file
/usr/bin/pacman-color no recognized in config file
no recognized in config file
PkgbuildEditor no recognized in config file
nano no recognized in config file
no recognized in config file
SearchInAurUnsupported no recognized in config file
yes no recognized in config file
no recognized in config file
UpdateTerminalTitle no recognized in config file
yes no recognized in config file

Without adding colorize to grep output, yaourt works fine.
Comment by: dlin on Mon, 13 Jul 2009 06:43:06 +0000
suggestion: provide download mirror replacement settings.

e.g

ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.13.tar.gz

could be replace to

http://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.13.tar.gz
Comment by: sebcactus on Tue, 09 Jun 2009 15:05:25 +0000
@cvsitlik:
My problem was with wget: I modified it recently to use a proxy and forgot to bring it back to normal :D
Comment by: sebcactus on Fri, 05 Jun 2009 11:22:38 +0000
@csvitlik
same problem for me...
Comment by: gborzi on Fri, 29 May 2009 21:49:15 +0000
@csvitlik
I've just upgraded bin32-wine.
Comment by: csvitlik on Fri, 29 May 2009 20:48:30 +0000
is it just me or can anyone else not install anything from aur recently?
Comment by: Harvie on Sat, 09 May 2009 15:08:18 +0000
I found possible security bug!!!
You can for example list users files using comment like this:

--- root listing here ---

/*

--- root listing end ---

^^^^ now when you type
yaourt -S yaourt --aur
you will see listing of your root. this is probably caused by unproper escaping or something similar. its bit like sql injection ;)
imho this can be abused to execute some nasty commands on victim computer without asking
Comment by: magus on Fri, 08 May 2009 06:55:05 +0000
I think I've found a bug in yaourt:

1. Make sure ghc (which provides haskell-cabal) is _not_ installed
2. Try to install haskell-missingh from AUR : $ yaourt -S haskell-missingh

yauort correctly reports that haskell-missingh depends on haskell-cabal, but fails to realise that the already present package ghc provides it, instead yaourt tries to find haskell-cabal on AUR, which fails.

$ yaourt --version
yaourt 0.9.2.5 is a pacman frontend with AUR support and more
homepage: http://archlinux.fr/yaourt-en
Copyright (C) 2008 Julien MISCHKOWITZ <wain@archlinux.fr>
This program may be freely redistributed under
the terms of the GNU General Public License

$ yaourt -S haskell-missingh
==> Resuming previous build

==> Downloading haskell-missingh PKGBUILD from AUR...
tar: Record size = 9 blocks


First Submitted: Wed, 18 Jun 2008 05:25:05 +0000
haskell-missingh 1.1.0-1 : Large utility library
( Unsupported package: Potentally dangerous ! )
==> Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
==> ----------------------------------------------
==>n


==> haskell-missingh dependencies:
- ghc (package found)
- haskell-cabal (building from AUR)
- haskell-hslogger (building from AUR)
- haskell-testpack (building from AUR)
- ghc (package found)
- haskell-cabal (building from AUR)
- haskell-hslogger (building from AUR)
- haskell-testpack (building from AUR)

==> WARNING: This PKGBUILD contains install file that can be dangerous.
haskell-missingh.install
==> Edit haskell-missingh.install (highly recommended for security reasons) ? [Y/n] ("A" to abort)
==> ----------------------------------------------
==>n

==> Continue the building of haskell-missingh ? [Y/n]
==> ----------------------------------------------
==>

==> Building missing dependencies from AUR:
==> Resuming previous build
haskell-cabal not found on AUR
Comment by: piyushbhatt on Fri, 01 May 2009 16:54:31 +0000
thanks byte.
Comment by: byte on Fri, 01 May 2009 16:49:29 +0000
piyushbhatt: That's nothing to do with yaourt; you're supposed to have the 'base-devel' group installed before building anything with makepkg/yaourt.
Comment by: SanskritFritz on Thu, 23 Apr 2009 11:17:19 +0000
NeV3rKilL: just read the 2nd post below you.
On the other hand, you can read this for a repository including yaourt:
http://archlinux.fr/yaourt-en
Comment by: NeV3rKilL on Thu, 23 Apr 2009 11:04:43 +0000
When will enter this package in community?
Comment by: IceCook on Sat, 18 Apr 2009 16:21:53 +0000
I found a bug: the call "yaourt -Syu --ignore ruby" ignores ruby at the yaourt list of new/upgrading packets, but the pacman call of yaourt doesn't ignore the ruby package and update its.
Comment by: louipc on Wed, 15 Apr 2009 22:20:00 +0000
http://wiki.archlinux.org/index.php/Community_repo_candidates
Comment by: JoshuaK on Wed, 15 Apr 2009 19:52:29 +0000
The VOTED section says yes, so do we have an ETA of this in community? I know it takes time and a TU, but still.
Comment by: gav616 on Wed, 15 Apr 2009 09:58:50 +0000
is there any chance of improving the building from source function?

like, if using -Sb for a package and that package needs dependencies that aren't installed also build them from source too.

something like a 'always compile from source' option in yaourtrc, so its across the board.


Thank you for all the hard work.
Comment by: olive on Thu, 09 Apr 2009 09:40:59 +0000
yaourt overwrite conflicting file when installed from the aur. I just see that pacman install the package with the --force option even when no --force option is selected in yaourt. This is very dangerous especially for unsupported packages from the AUR
Comment by: quarkup on Wed, 08 Apr 2009 13:59:26 +0000

It would be nice too a kind of sorting the search ("yaourt -Ss") output by votes.
Comment by: cyberpatrol on Mon, 06 Apr 2009 20:49:23 +0000
I want to remind you of my last comment from 26 Feb 2009. This issue is still existing.

yaourt relies on files in the directory /tmp, and doesn't create every needed directory in /tmp at runtime. The contents of the directory /tmp are always deleted at every system start by the script /etc/rc.sysinit. /tmp is only meant for real temporary files, while /var/tmp is meant for temporary files, which need to be preserved between system boots.

See also this link: http://www.pathname.com/fhs/pub/fhs-2.3.html#VARTMPTEMPORARYFILESPRESERVEDBETWEE

So yaourt should either create the necessary directories in /tmp always at runtime, or it should save its necessary temporary files in /var/tmp instead of /tmp.

It would be nice, if you could fix this.
Comment by: Army on Mon, 06 Apr 2009 20:26:20 +0000
@Finkregh, please install base-devel before compiling stuff on Archlinux. Then you'll see, that make does NOT have to be a makedep!!!
Comment by: Finkregh on Mon, 06 Apr 2009 18:04:56 +0000
please add make as makedep()

:)
Comment by: Duologic on Mon, 06 Apr 2009 12:11:47 +0000
It is the same package.
Yaourt shows community packages wich are also AUR packages logicaly. Probably a yaourt bug.
Comment by: cucullus on Mon, 06 Apr 2009 10:00:10 +0000
When searching for 'tracker' with yaourt ($yaourt tracker) I get 2 hits:
7 community/tracker 0.6.91-4 [installed]
33 aur/tracker 0.6.91-4 [installed] (116)
websearch gives sole hit in community (which have 116 votes) so it seems to be the same package.
Is it an yaourt bug or aur is corrupted?
Comment by: ian on Thu, 26 Feb 2009 00:31:35 +0000
Typo in PKGBUILD
'customizepkg: automatically modify PKGUILD during install/upgrade'

PKGUILD => PKGBUILD
Comment by: cyberpatrol on Thu, 26 Feb 2009 00:27:51 +0000
I'm still always getting this error message when running `yaourt -Syu --aur`:

:: Starting full system upgrade...
local database is up to date
grep: /tmp/yaourt-tmp-<user>/sysupgrade: No such file or directory
Checking for package upgrades...
no upgrades found.
grep: /tmp/yaourt-tmp-<user>/sysupgrade: No such file or directory

It's not possible to use yaourt as a pacman wrapper.

Please fix this. A temporary directory, which is needed by yaourt, needs to be quietly created by yaourt at runtime, because the contents of /tmp can always be deleted to save diskspace.
Comment by: Vamp898 on Wed, 25 Feb 2009 12:46:35 +0000
Yaourt does not fit with ne Coreutils 7.1
Comment by: qft on Tue, 24 Feb 2009 19:46:16 +0000
After upgrading to coreutils 7.1-1, whenever I run yaourt I get the following warning:

comm: file 1 is not in sorted order

I believe there is some compatibility issues with the new comm command. So far everything else works fine besides minor annoyance.
Comment by: gleidson on Tue, 17 Feb 2009 13:20:27 +0000
Installing the package the following error occurs:

/bin/bash: line 5: /usr/bin/msgfmt: No such file or directory
make: *** [install] Error 127

Solution:

makedepends=('gettext')
Comment by: net147 on Sat, 14 Feb 2009 04:14:12 +0000
I managed to fix the AUR search results so they are sorted by adding the following to aur.sh:

#Extracts value of json field and adds to start of line for use as sort key for each line
presortjsoninfo(){
awk '{sortkey=$0; sub(/^.*[{,]"'$1'":"/, "", sortkey); sub(/"[,}].*$/, "", sortkey); print sortkey $0}'
}

#Removes sort key from each line
postsortjsoninfo(){
awk '{sub(/"[^"]+"/, ""); print $0}'
}

I then add the following in the search_on_aur() function between lines 94 and 95 in aur.sh:
presortjsoninfo Name | sort | postsortjsoninfo |

line 94: wget -q -O - "http://aur.archlinux.org/rpc.php?type=search&arg=$1" | sed 's/{"ID":/\n/g' | sed '1d'| grep -Fv '"URLPath":""' |
line 95: while read jsoninfo; do
Comment by: net147 on Sat, 14 Feb 2009 03:00:41 +0000
hmm... AUR search results are no longer sorted after 0.9.1...
Comment by: Harvie on Wed, 11 Feb 2009 11:55:35 +0000
nice bug:

[harvie@harvie-ntb ~]$ yaourt -Ss "frostwire|ls /"
arch/arch
bin/bin
boot/boot
...
Comment by: kcbanner on Tue, 10 Feb 2009 16:33:27 +0000
http://bbs.archlinux.org/viewtopic.php?id=58895

People have to set 'export color=''' or else they get strange output:
/usr/lib/yaourt/basicfunctions.sh: line 280: initcolor: command not found
Comment by: fgr on Mon, 26 Jan 2009 17:57:11 +0000
Sorry, I'm wrong. I tried uncommenting the HTTP proxy section in .bash_profile and it works.
Comment by: Duologic on Mon, 26 Jan 2009 13:11:08 +0000
it works here :-)
Comment by: fgr on Mon, 26 Jan 2009 11:54:29 +0000
Hi.
Why don't yaourt work today?
$ yaourt -Syu --aur
==> Searching for new version on AUR
[cut]
yaourt: not found on AUR
Comment by: kcbanner on Tue, 20 Jan 2009 15:31:40 +0000
[kcbanner@infiltrator:~]$ yaourt -Ss emacs-git (01-20 13:31)
/usr/lib/yaourt/basicfunctions.sh: line 280: initcolor: command not found
/usr/bin/yaourt: line 1193: cleanoutput: command not found
aur/emacs-git-mode 1.6.1-1 (8)
Emacs git-mode
aur/emacs-git 20090116-1 (5)
Gnu Emacs from Git
/usr/lib/yaourt/aur.sh: line 123: cleanoutput: command not found
/usr/bin/yaourt: line 1198: error: command not found




other weird errors like this
Comment by: linfan on Fri, 16 Jan 2009 10:48:00 +0000
Latest yaourt is very unreliable. It won't accept changes to PKGBUILD etc. First you have to edit then save and after that it still asks you to edit unless you answer N the second time. After that it cannot install packages but puts them i tmp...

It seems it cannot handle -svn packages either.

What is the matter?

Maybe time for downgrading yaourt some steps if it is possible?

Comment by: shimage on Wed, 14 Jan 2009 21:44:30 +0000
When I try to upgrade aur packages, it checks all installed packages, not just "local" ones:

shimage:~ % yaourt -Su --aur
Checking for package upgrades...
no upgrades found.
==> Searching for new version on AUR
aacgain: up to date
acl: not found on AUR
argyllcms: up to date
attr: not found on AUR
aurvote: up to date
autoconf: not found on AUR
automake: not found on AUR
...

This is a bit irritating. I'm not sure what I'm doing wrong here. This is on 0.9.2.4-1. Any help is appreciated.
Comment by: Reiser on Thu, 08 Jan 2009 19:46:23 +0000
When it's be working correctly? :(

reiser@myhost ~ $ pacman -Syu
:: Синхронизируется база данных пакетов...
core не устарел
extra не устарел
community не устарел
arch-games не устарел
kdemod-extragear не устарел
kdemod-playground не устарел
kdemod-unstable не устарел
kdemod-core не устарел
:: Запускается полное обновление системы...
разрешение зависимостей...
http://archlinux.freeside.ru/core/os/x86_64/openssl-0.9.8j-1-x86_64.pkg.tar.gz
http://archlinux.freeside.ru/core/os/x86_64/pacman-mirrorlist-20090106-1-x86_64.pkg.tar.gz
http://archlinux.freeside.ru/extra/os/x86_64/gimp-2.6.4-2-x86_64.pkg.tar.gz
http://archlinux.freeside.ru/extra/os/x86_64/rpmextract-1.0-2-x86_64.pkg.tar.gz
grep: /tmp/yaourt-tmp-reiser/sysupgrade: Нет такого файла или каталога
Проверка обновлений пакетов...
предупреждение: kernel26: установленная версия (2.6.28-1) новее, чем в core (2.6.27.10-1)
предупреждение: lirc: установленная версия (0.8.3-4) новее, чем в extra (0.8.3-3)
grep: /tmp/yaourt-tmp-reiser/sysupgrade: Нет такого файла или каталога
Comment by: cyberpatrol on Thu, 08 Jan 2009 11:31:02 +0000
When running yaourt -Syu --aur, I'm getting this output:

:: Starting full system upgrade...
resolving dependencies...
http://ftp.uni-kl.de/pub/linux/archlinux/core/os/x86_64/libarchive-2.6.0-1-x86_64.pkg.tar.gz
http://ftp.uni-kl.de/pub/linux/archlinux/extra/os/x86_64/faad2-2.6.1-2-x86_64.pkg.tar.gz
grep: /tmp/yaourt-tmp-<user>/sysupgrade: No such file or directory
Checking for package upgrades...
grep: /tmp/yaourt-tmp-<user>/sysupgrade: No such file or directory

What does yaourt want to tell me?

This is the appropriate output of pacman -Syu:

:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (2): faad2-2.6.1-2 libarchive-2.6.0-1

Total Download Size: 0.74 MB
Total Installed Size: 1.77 MB

Proceed with installation? [Y/n]

And if a directory is missing, especially in /tmp, then yaourt should create it by itself.

Btw., yaourt shouldn't rely on existing directories and files in /tmp, because some people clean /tmp regularly at shutdown or boot time as it is a directory for only temporary contents, which are needed only once. If a directory or file is needed for more than one session, it should be created in /usr/share or another appropriate permanent directory.
Comment by: louipc on Mon, 05 Jan 2009 23:44:21 +0000
There are alternatives to yaourt which may be safer and more future proof (since they use the json interface) such as:

arson
http://aur.archlinux.org/packages.php?ID=16021

and aurshell
http://aur.archlinux.org/packages.php?ID=16656
Comment by: Ghost1227 on Mon, 05 Jan 2009 23:01:16 +0000
Louipc's right, however... for the moment i'll keep using it :P

I did find an interesting little bug though... certain -git and -svn packages show up as upgradeable even if the most recent version is installed. (example - xarchiver-svn)
Comment by: louipc on Mon, 05 Jan 2009 19:34:30 +0000
It's a security issue because it means that someone can write a PKGBUILD to run any arbitrary code on your machine, all just from looking up its info.

Remember anything in AUR is unsupported and potentially harmful. Running scripts from AUR is a personal risk.

You should always view a PKGBUILD from untrusted sources before running it.
Comment by: ianux on Mon, 05 Jan 2009 00:29:44 +0000
I just realized that this is the number of vote between brackets on AUR search in v0.9.2.3...
Comment by: pogeymanz on Sun, 04 Jan 2009 16:13:28 +0000
I am using yaourt 0.9.2.3-1 and I have to say that it's much better than the last version!

Also, louipc -Can you explain how that is a security issue?
Comment by: ST.x on Sat, 03 Jan 2009 11:58:08 +0000
dejari: maybe post that here- http://bbs.archlinux.org/viewtopic.php?id=25718&p=14
Comment by: MaBeef on Sat, 03 Jan 2009 08:42:29 +0000
Any reason yaourt backs up your config file with global write permissions?

"install -D -m 766 $srcdir/yaourtrc-0.9.1-1 $pkgdir/var/lib/yaourt/backupfiles/yaourt/yaourt-0.9.1-1/yaourtrc"
Comment by: louipc on Sat, 03 Jan 2009 05:16:58 +0000
I'm a bit concerned about the security of yaourt now. I was browsing the source and I noticed if you use --info that yaourt actually grabs the PKGBUILD from AUR and sources it which presents a significant security risk.
Comment by: emphire on Thu, 01 Jan 2009 22:07:44 +0000
firecat53: I get that error a lot too. I find running pacman -Syyu and installing any updates makes yaourt work again when it happens.
Comment by: Duologic on Thu, 01 Jan 2009 18:54:19 +0000
Try to switch to other mirrors for pacman in /etc/pacman.d/mirrorlist
Comment by: firecat53 on Thu, 01 Jan 2009 18:50:44 +0000
Strange behavior whenever I update:

$ yaourt -Syu
:: Synchronizing package databases...
core is up to date
extra 379.7K 813.5K/s 00:00:00 [######################] 100%
community 352.3K 617.6K/s 00:00:01 [######################] 100%
Checking for package upgrades...

==> New package :
error: package 'mcpp-2.7.2-1-x86_64' was not found
local/hwdetect-2008.12-4-x86_64 (required by not found)
error: package 'hwdetect-2008.12-4-x86_64' was not found
local/mcpp-2.7.2-1-x86_64 (required by not found)

==> Continue installing ? [Y/n]
==> [V]iew package detail [M]anualy select packages
==> ----------------------------------------------
==>


When I select Yes, it proceeds as normal. I uninstalled and reinstalled yaourt just to verify the behavior. Any ideas?

Arch x86_64, w/ most recent Yaourt

Thanks!
Scott
Comment by: ssbfalcon on Tue, 30 Dec 2008 20:46:19 +0000
Fixed my previous problem... The problem was actually that my tar was broken...

Now to figure out how that happened...
Comment by: Vieira on Tue, 30 Dec 2008 16:31:15 +0000
So far the 0.9.2.2-1 version has given me no problems and is working as expected. It fixed the problem I was having before and has the expected behaviour.
Comment by: Duologic on Tue, 30 Dec 2008 14:14:14 +0000
I don't know what changed in the new version and I didn't install it because of the bad comments on it.
Maybe we should go back to yaourt-0.9.1 and include the fix of net147 (see below), because that works fine for me and probably for most of us.
I guess there are more bugs in 0.9.1, but that is better than a non-working yaourt.
Comment by: Citral on Mon, 29 Dec 2008 22:45:44 +0000
Hate to say it, but the new sudo behaviour is really implemented without thought. Asking for the sudo password when needed is safer instead of just giving yaourt a carte blanche. At least it should be configurable.
Comment by: ssbfalcon on Mon, 29 Dec 2008 20:47:00 +0000
Anyone have a problem where trying to install anything from AUR using yaourt yields the following errors?

__________________

[ssbfalcon@perfectchaos ~]$ yaourt -S gtkradiant-1.5
==> Resuming previous build

==> Downloading gtkradiant-1.5 PKGBUILD from AUR...
/usr/bin/yaourt: line 1095: cd: gtkradiant-1.5/: No such file or directory
Unable to read PKGBUILD for gtkradiant-1.5
__________________

This happens with any AUR package, including yaourt...

I will be looking into the script to see if I can edit it to work, but not sure if its just something wrong on my end...
Comment by: archlinuxsagi on Mon, 29 Dec 2008 19:55:45 +0000
This new version is buggy.
I tried creating ophcrack and it trys to build gtk2 from aur although I have already install gtk2. Since gtk2 is not found in aur it errors out.
Comment by: Vieira on Mon, 29 Dec 2008 12:39:45 +0000
Well it's searching the AUR, however it doesn't display results when there are only one, for instance yaourt firefox-branded won't display any results yet yaourt firefox will display firefox-branded somewhere...
Comment by: Vieira on Mon, 29 Dec 2008 12:37:05 +0000
I also don't like the new behaviour.
Comment by: sjakub on Mon, 29 Dec 2008 12:33:35 +0000
I think this is just wrong - why yaourt can't use sudo if password is needed?
I liked the behaviour when I was asked for a password when it was really needed. Now I either have to give root's password everytime yaourt does anything with pacman, or use NOPASSWD for pacman, which I don't really like.
Comment by: Vieira on Mon, 29 Dec 2008 12:32:32 +0000
It still doesn't work for AUR packages here.
Comment by: reztho on Mon, 29 Dec 2008 11:51:58 +0000
I prefer the previous behaviour when there is no need to use the NOPASSWD flag and it still will use the sudo command.
Comment by: helios on Sun, 28 Dec 2008 18:43:38 +0000
I've made an updated package: http://files.teaman.org/pkgbuilds/yaourt.tar.gz
Comment by: atommix on Sun, 28 Dec 2008 16:20:51 +0000
@net147
WOW! it's really works! Very big thenks!
I rewrite line 32 and further on the text.
I edit /usr/bin/yaourt
Comment by: wtchappell on Sun, 28 Dec 2008 03:52:41 +0000
@net147

Thanks for the fix! Oh, the line you mention is actually line 32, not line 33 - line 33 is a different URL variable.
Comment by: defcon on Sat, 27 Dec 2008 16:54:28 +0000
Well, maybe u can create a patch file?
I edited the line rebuild yaourt but it doesn't work.
Comment by: cyberpatrol on Sat, 27 Dec 2008 12:31:08 +0000
Well, haven't looked at the source package. ;-)
Comment by: tdy on Sat, 27 Dec 2008 12:15:32 +0000
@cyberpatrol: yaourt.sh is the source file
Comment by: cyberpatrol on Sat, 27 Dec 2008 11:24:28 +0000
@net147: I guess you mean /usr/bin/yaourt, because there's no yaourt.sh. ;-)
Comment by: fellowship on Sat, 27 Dec 2008 10:38:46 +0000
It works again:) Thank you very much:)
Comment by: net147 on Sat, 27 Dec 2008 06:19:25 +0000
I fixed searching on AUR by doing the following in yaourt.sh:
1. Change AUR_URL on line 33 to:
AUR_URL="http://aur.archlinux.org/rpc.php?type=search&arg="
2. Replace lines 1256-1258 with:
wget -q "${AUR_URL}${1}" -O - | grep -o '\("Name":"[^"]*"\)\|\("Version":"[^"]*"\)\|\("Description":"[^"]*"\)' \
| sed -e 's/"[^"]*":"\([^"]*\)"/\1/' \
| awk '{ if (NR % 3 == 1) printf "aur/%s ", $0; if (NR % 3 == 2) printf "%s ", $0; if (NR % 3 == 0) print $0; }' \
| sort | awk '{ printf "%s %s\n", $1, $2; for (i = 3; i <= NF; ++i) printf "%s ", $i; printf "\n"; }' |
Comment by: wizzomafizzo on Fri, 26 Dec 2008 14:05:10 +0000
I don't know who actually maintains yaourt so I'll post here: you need to stop scraping HTML to get your search results and start using the RPC interface (http://aur.archlinux.org/rpc.php) because we can't be expected to never change the HTML.

I'm surprised this doesn't happen every release.
Comment by: Duologic on Thu, 25 Dec 2008 15:39:14 +0000
Stop commenting about yaourt not finding any AUR packages, I gues wain knows about the problem by now.
Comment by: m37h0d on Thu, 25 Dec 2008 13:41:43 +0000
It doesn't find any AUR package... why???
Comment by: Vamp898 on Thu, 25 Dec 2008 10:31:58 +0000
I can´t search anymore for apps on AUR via Yaourt. What happend?
Comment by: ProfessorTomoe on Wed, 24 Dec 2008 18:12:40 +0000
New AUR breaks yaourt - seems that yaourt shouldn't be scraping html anymore, per wizzo on IRC.
Comment by: Duologic on Tue, 23 Dec 2008 21:55:47 +0000
It returns the $TERM variable as a title, found on rule 509 and further in /usr/bin/yaourt.
Change $TERM to your gnome-terminal or edit the code of yaourt to your likes, it is open source after all.
Comment by: kampfusbeke on Tue, 23 Dec 2008 18:08:40 +0000
after finishing it's work yaourt changes my gnome-terminal's title to xterm
Comment by: Duologic on Tue, 23 Dec 2008 10:23:48 +0000
I got the same in bash as low, I've searched for it for a while and finnaly found when I tried to update 'inkscape-nognome', it required 'gettext' to compile. I noticed something similar earlier in the 'yaourt' code, after installing 'gettext', everything got fixed. For both 'yaourt' en 'inscape-nognome'.

I suggest to include 'gettext' in the depencies.
Comment by: low on Mon, 17 Nov 2008 17:10:57 +0000
I switched my shell to zsh recently and I noticed whenever I am upgrading or installing a package from the AUR, the package name appears as the '$PKG' variable instead of the actual name. Is this a configuration problem on my end or is it a bug?
Comment by: jham on Mon, 17 Nov 2008 12:46:13 +0000
all the output functions are gone? had to add functions like "colorizedoutputline()" and "claenoutput()" myself from an old yaourt-script.
Comment by: Dieter_be on Mon, 10 Nov 2008 14:23:47 +0000
@toomanymirrors: did you export the var?
eg export EDITOR=vim
Comment by: toomanymirrors on Fri, 17 Oct 2008 15:01:45 +0000
I have echo $EDITOR vim but am getting this error message:
Please add \ to your environment variables
for example:
==> Edit PKGBUILD with:(replace gvim with your favorite editor)

==> Edit ./PKGBUILD with:
Comment by: buddabrod on Thu, 16 Oct 2008 21:24:52 +0000
yaourt -Su --devel does no longer update any git/svn packages.. This is the case since the last yaourt update
Comment by: npouillard on Thu, 16 Oct 2008 15:27:46 +0000
First of all thanks a lot for this great wrapper!

Today I got bitten by a small bug:

$ yaourt -S base-devel

This is not recognized as a group and fail whereas pacman works.
Comment by: xiong.chiamiov on Thu, 09 Oct 2008 00:20:36 +0000
Regarding powerpill:

I downloaded and installed powerpill today. I just changed my pacman path to /usr/bin/powerpill in my /etc/yaourtrc, and ran powerpill --gen-conf to force powerpill to generate a config file at ~/.powerpill.conf, where I changed the pacman binary to pacman-color. Seems fine so far, and I see no reason to make powerpill the default for yaourt; if you want it, it's not that hard to do.
Comment by: juanmah on Mon, 06 Oct 2008 09:28:00 +0000
Description: When installing a package shows commentaries of another package.

Additional info: This occurs with package mlt++, and commentaries are from package mlt. I suppose the missleading is due to the ++ characters.

Steps to reproduce: yaourt -S mlt++
Comment by: jordz on Sun, 28 Sep 2008 19:44:41 +0000
I found a small bug. I did a "yaourt -S libgssglue librpcsecgss nfs4-utils" for NFS4.

It starts to install libgssglue.
After that it wants to install librpcsecgss which depends on libgssglue.
It still wants to install the ligssglue, but I just did. So maybe it's better to check the installed packages everytime when starting to install a new package.
Comment by: hubert_star on Tue, 19 Aug 2008 09:34:07 +0000
After upgrade,yaourt always search package in AUR.

[hubert@hubert-dell ~]$ yaourt -S gedit

==> Downloading gedit PKGBUILD from AUR...
Error: gedit not found in AUR.

[hubert@hubert-dell ~]$
Comment by: Chris.Giles on Wed, 06 Aug 2008 06:31:27 +0000
You've both raised valid points. Having support for 'powerpill' in 'yaourt' probably should be optional and non-default, at least until the former stabilises.

My ADSL2+ connection can be choppy, especially when retrieving packages from non-standard repositories. Having something like 'powerpill' working with 'yaourt' could improve this notably.
Comment by: Army on Tue, 05 Aug 2008 15:45:54 +0000
There are still places on this earth, where there is no DSL available! Sky DSL of course is always an option, but this is really too expensive. But I also think, that yauort should be as connected to pacman as possible, another tool between causes more breakage, especially a new one like powerpill.
Comment by: cyberpatrol on Tue, 05 Aug 2008 14:03:16 +0000
Please not another wrapper and download speeding up tool. If it's used, then, please, only optional.

I'm using DSL 16000 and with this, there's definitely no need for such tools.

For ISDN users this might be a good option, even if I don't know, why there are still ISDN internet connections. And don't tell me, that it's too expensive for the telcos and that it's not worth for telcos to invest in DSL lines in the country.
Comment by: Chris.Giles on Tue, 05 Aug 2008 10:39:58 +0000
Can you please investigate whether it might be wise for 'yaourt' to use the new 'aria2' based 'powerpill' instead of 'pacman' when downloading packages?

Here's the 'powerpill' PKGBUILD: http://aur.archlinux.org/packages.php?ID=18882
Comment by: ekerazha on Sun, 27 Jul 2008 14:19:02 +0000
I've added "yaourt-git" to AUR.
Comment by: hybrid on Fri, 25 Jul 2008 23:38:34 +0000
I was wondering if there will be a fix for yaourt so regular users can use yaourt again to build programs from aur?
Since pacman 3.0.5 is out yaourt will complain if a regular user invokes yaourt to build a package from aur. What I don't understand is: Why does yaourt need "pacman -Sp" for that and even if it is necessary: Why the heck does yaourt abort, instead of prompting the user for the root's password to continue (and after that of course run makepkg as the user who invoked yaourt in the first place)? Will there be a fix for that in yaourt in the near future?
Comment by: jmb on Thu, 24 Jul 2008 11:26:43 +0000
Yaourt does not use pacman-color when I run it as a normal user. If I run yaourt as root it does. If I run pacman-color directly as a user it works too.

I've tried with no ~/.yaourtrc or with a copy of the system /etc/yaourtrc to ~/.yaourtrc. Root doesn't have a /root/.yaourtrc

Has anybody else seen this?
Comment by: Army on Wed, 16 Jul 2008 13:00:41 +0000
I didn't read through all comments, maybe there is already a solution, but I have one question:
If I use yaourt -Sb, only the main package is being compiled on my machine, but the dependencies are not. I think it wouldn't change a thing, if it built the makedeps from source as well, but I think the runtime deps should be compiled!
Is there a way to make yaourt compile these as well?
Comment by: Army on Sun, 06 Jul 2008 18:45:51 +0000
Thanx for the link! Works perfectly now :)
Comment by: emphire on Sun, 06 Jul 2008 18:19:19 +0000
Army:
See http://bbs.archlinux.org/viewtopic.php?id=48000

You need to get the git version (I assumed incorrectly that 9.2 would have fixed it):

$ git clone http://projects.archlinux.fr/yaourt.git yaourt
$ cd yaourt/test
$ makepkg -i
Comment by: Army on Sun, 06 Jul 2008 15:31:00 +0000
Yes I am using

$ pacman -Qi yaourt | grep Version
Version : 0.9-2

Doesn't work at all... Tried packages from core, extra and even community, none of them worked...

What can I do?
Comment by: emphire on Sat, 05 Jul 2008 22:13:25 +0000
Army... have you upgraded yaourt? There was a new release a while ago to deal with abs version 2.
Comment by: Army on Sat, 05 Jul 2008 17:42:19 +0000
$ yaourt -S --build kernel26
==> Building kernel26 from sources
kernel26 was not found on abs

Is it my fault or is there a bug in yaourt? Of course I did a "sudo abs" before this action ;)
Comment by: hybrid on Fri, 04 Jul 2008 12:48:50 +0000
I find it pretty annoying that yaourt fails to run properly when invoked by a regular user, and so I've been voting for bug #8905 and stuff, nah, long story short: check out this comment http://bugs.archlinux.org/task/8905#comment29963
Comment by: angvp on Sat, 21 Jun 2008 05:59:00 +0000
license=('GPL')

license is an array
Comment by: dejari on Mon, 16 Jun 2008 08:39:04 +0000
yaourt -G

doesn't create a separate directory, which is quite annoying.

It would be great to have that fixed, Wain. :)
Comment by: cyberpatrol on Sun, 01 Jun 2008 22:53:51 +0000
I've got a problem with yaourt. Since my last system update, when running `yaourt -Syu --aur`, I'm getting for every package, I've installed from AUR, the message

==> Searching for new version on AUR
<package> not found on AUR
...
Following packages have not been installed:
<packages>

Is this a bug, was AUR updated, or how can this be fixed?
Comment by: digitalcrypto on Mon, 19 May 2008 08:39:45 +0000
The sum is incorrect on the tarball and needs to be updated. :)

Comment by: funkmuscle on Thu, 01 May 2008 23:18:48 +0000
Hey, I'm trying to rebuild rosegarden from the extra repo but get this error:

yaourt -Sb rosegarden
==> Building rosegarden from sources
rosegarden was not found on abs

Same happened with wine. Even packages from core gives the same error.
I've done this many times as I like to customize these packages.
Comment by: chylli on Fri, 25 Apr 2008 03:50:27 +0000
I think its bettle to use sed script directly in customizepkg. then we can add multi lines, or apply patchs ...
Comment by: Zer0 on Wed, 23 Apr 2008 22:36:58 +0000
Here's the link to the Yaourt forum thread for feature requests, bug reports etc..

http://bbs.archlinux.org/viewtopic.php?id=25718
Comment by: wain on Wed, 23 Apr 2008 21:44:03 +0000
Please use the forum for feature request and bug report :-)
Comment by: SickHate on Wed, 23 Apr 2008 08:06:39 +0000
yaourt is not searching correctly pkgbuilds...for example if i search for yaourt -Sb nautilus it doesnt appear the new pkgbuild but still the old one...i guess yaourt it needs to be updated...
Comment by: Anders on Tue, 22 Apr 2008 10:23:22 +0000
this still doesn't install on my system, just creates a blank package. can you change make install to make -B install? forces installation even though things might already be "up to date"
Comment by: SickHate on Tue, 08 Apr 2008 03:53:39 +0000
yaourt -Sb perl-text-kakasi
==> Installing from a list of a packages (perl-text-kakasi)
cat: perl-text-kakasi: Is a directory

bug??
Comment by: chylli on Sun, 06 Apr 2008 17:02:29 +0000
is it possible to replace one line with many lines?
I want to change some source files. So I want to add something like :
replace#cd $dir#cd $dir \n patch -p1 <<EOF
....
...
EOF

but customizepkg seems not support many lines.
Comment by: SickHate on Wed, 26 Mar 2008 10:18:06 +0000
is it possible to skip packages allready build in local repo? is there that option?
Comment by: SickHate on Mon, 24 Mar 2008 09:25:43 +0000
yaourt -S packages.txt is only installing the first package for me...hope this gets fixed :D
Comment by: SickHate on Mon, 24 Mar 2008 00:15:55 +0000
wain i dont know if allready exists but could it ce added an option to build from source all the packages that yaourt looks ins yaourt -Syu? it would be usefull since when there are some upgrades some packages break..and i dont mind building them again...and with yaourt it would be awesome ;)
Comment by: Anders on Thu, 20 Mar 2008 00:17:31 +0000
I think you need to add this line to your Makefile, or else it won't install on my system (just a blank pkg):

.PHONY: install
Comment by: lyman on Wed, 19 Mar 2008 03:23:28 +0000
When I installed community/compiz-core, yaourt tells me that both aur/compiz && aur/compiz-kde have been installed, too. That's wierd.
Comment by: SickHate on Sat, 15 Mar 2008 18:34:51 +0000
new features simple awesome!! WAIN UROCK!
Comment by: wain on Sat, 15 Mar 2008 11:53:57 +0000
-version 0.9-
- pacstats rebirth with yaourt --stats
- first step for a libified yaourt
- bash completion include and fixed shebang to bash
(http://bugs.archlinux.fr/task/105)
- changed behavior: -Qdt replace -Qt as in pacman
- install a list of package with yaourt -S packagelist.txt
- --backupfile: query on a .tar.bz2 backup file (see man yaourt for details)
- fix for Unsupported packages with pkgver begins by an alpha character
- new option --downgrade to revert a packages list from [testing] to stable packages

Please use the forum for feature request and bug report :-)
Comment by: byte on Wed, 05 Mar 2008 22:11:12 +0000
Regarding the last comment:
Yaourt should either have #!/bin/bash as first line or explicitly call /bin/echo.
Comment by: dpc5 on Wed, 05 Mar 2008 21:41:55 +0000
When using Fish Shell as default shell one gets:

/usr/bin/yaourt: line 1552: /home/dpc/.bin/:/home/dpc/.bin/:/home/dpc/.bin/:/bin:/usr/bin:/sbin:/usr/sbin:/opt/plt/bin:/opt/e17/bin:/opt/java/bin:/opt/java/jre/bin:/opt/mozilla/bin:/opt/texlive/bin:/usr/local/bin: No such file or directory
Comment by: furester on Thu, 28 Feb 2008 14:53:04 +0000
http://xenos.altervista.org/blogs/index.php?blog=3&title=bash_completion_per_yaourt
here is a script to add bash_completion to yaourt, you have to save it in a file called yaourt and put this file in /etc/bash_completion.d/
Comment by: daenyth on Wed, 27 Feb 2008 21:53:48 +0000
I'd just like to confirm that yaourt builds on PPC. It would be nice to have that added to the ARCH=() array.
Comment by: wain on Wed, 20 Feb 2008 15:14:01 +0000
yaourt.tar.gz is the source tarball, not the package.

Just add [archlinuxfr] repository in your pacman.conf and pacman -Sy yaourt
Comment by: ryuu on Wed, 20 Feb 2008 14:49:30 +0000
When trying to install I get:

# pacman -A yaourt.tar.gz

loading package data... error: missing package metadata in yaourt.tar.gz
error: failed to add target 'yaourt.tar.gz' (unexpected error)
Comment by: wain on Tue, 19 Feb 2008 10:52:59 +0000
-version 0.8.12-
- tmpdirectory in yaourtrc works again
- support for arch=('any')
- support for new AUR 1.5 (SAFE flag removed + compatibility fix)

Warning: yaourt 0.8.11 is not compatible with new AUR 1.5
you can use these repositories to upgrade from 0.8.11:

[archlinuxfr]
Server = http://repo.archlinux.fr/i686

or

[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
Comment by: wain on Mon, 11 Feb 2008 15:24:29 +0000
@bender02: I never saw anything in manpage about arch=any, but it's in makepkg and yaourt will support it in next relase.

@kamu: Already fixed. Just install last yaourt's release.

Please use the forum for feature request and bug report :-)
Comment by: kamu on Mon, 11 Feb 2008 11:05:21 +0000
Sorry in advance if this has already been fixed as I was unaware of a new version of yaourt.

I installed a package that required a build dependency (i think the package was pjproject and the dependency was alsa-lib [should be irrelevant]). When it had built successfully, it then asked me if I wanted to remove alsa-lib, which I didn't, so I pressed 'n'. Yaourt then took this as a failed build. I had to rerun yaourt -S --aur pjproject (sorry, might not be 100% correct commandline, I am not all that yaourt savvy) for it to complete the install of the package.
Comment by: bender02 on Sun, 10 Feb 2008 16:24:13 +0000
With pacman>=3.1, one can use 'arch=('any')', if the packages are the *same* for both archs (like some scripts, lisp stuff, etc). Yaourt doesn't handle *-any.pkg.tar.gz correctly (it expects *-i686.pkg.tar.gz or *-x86_64.pkg.tar.gz).
Comment by: wain on Tue, 05 Feb 2008 20:29:34 +0000
- version 0.8.11 -

- new options in yaourtrc to show last comments from AUR:
LastCommentsOrder & LastCommentsNumber (seen man yaourtrc for detail)
- asking the user to mount /boot before kernel upgrade
Comment by: wain on Mon, 04 Feb 2008 21:39:49 +0000
-version 0.8.10-
- support -Si repository/packages syntax
- lockfile is /var/lib/pacman/db.lck since pacman 3.1
- honor DBPath from pacman.conf
- new option "DontNeedToPressEnter". If set to "no", you have to press enter
for Yes No question
(see man yaourtc)
- yaourt --backup file.tar.bz2 can restore a previous backup
- edit .install files when building packages from ABS or AUR

Please use the forum for feature request and bug report :-)
Comment by: julio on Sun, 03 Feb 2008 15:04:10 +0000
I have a simple feature request: ask the user to mount /boot when installing a kernel package.
Comment by: skipper13 on Sun, 03 Feb 2008 07:32:12 +0000
=====================
==> Continue installing 'packagename'? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ----------------------------------------------
==>c


Error: ./packagename-1.7-1-i686.pkg.tar.gz is not a package
Traceback (most recent call last):
File "/usr/bin/namcap", line 132, in <module>
for j in pkgtar.getmembers():
AttributeError: 'int' object has no attribute 'getmembers'
=====================
Comment by: wain on Fri, 01 Feb 2008 19:51:03 +0000
Curious...
Without reading your message, I've just decided this morning to do this for next release as you can see here:
http://bugs.archlinux.fr/index.php?do=details&task_id=100
Did you use vodoo on me? :)
Comment by: donvla on Fri, 01 Feb 2008 00:49:50 +0000
hi wain,

it would be useful if yaourt shows the *.install scripts when installing a package (from AUR or else) or at least has such an option. we all know that these scripts may be harmful.

Comment by: evdvelde on Thu, 31 Jan 2008 09:20:45 +0000
If you add a package from AUR, you are asked to vote on it (aurvote). Would it not make sense to ask if you want to unvote it when removing such a package?
Comment by: hybrid on Wed, 23 Jan 2008 12:59:57 +0000
Well actually a lot of lines in that pkgbuild are in a different order than they should be according to the standards-prototype in the wiki...
Comment by: hybrid on Wed, 23 Jan 2008 12:52:42 +0000
The checksum-line is misplaced, should be the last line _before_ the build-function.
Thanks for the new release and the implementation of --asdeps! I've been waiting for that! And now that it's finally in pacman, I'm happy to see yaourt taking advantage of it so soon. Good work!!
Comment by: cucullus on Tue, 22 Jan 2008 17:37:10 +0000
[feature request]
please add selective (like 1,2,5-9) uninstallation with -Qt
Comment by: wain on Tue, 22 Jan 2008 12:49:01 +0000
-version 0.8.9-
- bugfix show new orphans after install/remove if installed pkgname contains
'-' (ie: f-spot)
- compatibility fix:
- -Qt (http://bugs.archlinux.org/task/9144)
- ignorepkg support
- removed --rmdeps when building packages
- run testdb after each upgrade/remove/install
- install AUR dependencies with --asdeps
- support for --needed
- yaourt upgrades itself first then pacman

@buttons: yaourt -Qe stay as pacman in 2.9.8 -Qe.
See man yaourt for yaourt -Qt. Qtd/e switch are not supported
@cromo: http://bugs.archlinux.org/task/9299
@everybody: all other request are on my todolist

Please use the forum for feature request and bug report :-)
thanks to all yaourt's users !
Comment by: kamu on Sat, 19 Jan 2008 10:20:14 +0000
Sorry I was referring to updating yaourt itself.
Comment by: n8schicht on Sat, 19 Jan 2008 10:01:18 +0000
With the latest version, when executing yaourt -Syu --aur , it will check stuff from other repos, too. I think as soon as it meets a package that is newer than the version in AUR.

kdeicons-oxygen-svn: (local=755385-1 aur=716090-1)
kdemod-arts: not found on AUR
kdemod-gtk-qt-engine: not found on AUR
kdemod-icons-tango: not found on AUR
...

It then goes on and on...
Comment by: kamu on Sat, 19 Jan 2008 09:32:18 +0000
When doing a yaourt -Su --aur, if there is a yaourt update, I think it should take priority, just as pacman does.

Nice work.
Comment by: buttons on Fri, 18 Jan 2008 15:35:29 +0000
yaourt -Qtd produces the same output as pacman -Qt, which is incorrect.
Comment by: Zer0 on Thu, 17 Jan 2008 22:12:18 +0000
wain you could very easily add some bash-completion (with most of the command switches & local file support) by just doing the following ..
1) copy /etc/bash_completion.d/pacman (from pacman's package) to /etc/bash_completion.d/yaourt
2) edit /etc/bash_completion.d/yaourt and change the last line to..

complete -o filenames -F _pacman yaourt

It's a nice quick fix that's easy to implement. Sure comes in handy when using -R and trying to remember the name of a package :)

Thanks
Comment by: cromo on Thu, 17 Jan 2008 11:37:00 +0000
If you ^C the program while it's downloading the source file, next time you'll try to install the same package yaourt will fail the checksum validity check on that partially downloaded file. This is fine, but yaourt should check if the local and remote file size is mismatched and propose redownloading the file in such case.
Comment by: wain on Sat, 12 Jan 2008 18:39:31 +0000
-version 0.8.8-1-
fix for pacman 3.1
Comment by: byte on Thu, 10 Jan 2008 20:29:17 +0000
Yaourt isn't updated to work properly with Pacman 3.1, just be patient.
Comment by: donvla on Thu, 10 Jan 2008 19:16:55 +0000
hello,

same here but only on my x86_64 machine which i barely use. i noticed the same issue some weeks ago, when i upgraded the other machine. on my 686-machine it wirks just fine.

donvla
Comment by: SickHate on Mon, 07 Jan 2008 20:05:00 +0000
Im havig problms update packages from aur...dunno why since a few pacman updates it as been like this....it doenst spits any error..

-> yaourt -Su --aur
:: Replace gnome-kernel-manager with archlives/gnome-kernel-manager? [Y/n] n
Checking for package upgrades...

Remove: gnome-kernel-manager

Targets: gnome-kernel-manager-0.0.1-1

Total Package Size: 0,10 MB
Total Installed Size: 0,25 MB
==> Searching for new version on AUR

sickhate | Seg Jan 07 | 20:04:19 | ~ |
$ ->


what could it be?
Comment by: n8schicht on Sun, 06 Jan 2008 00:30:42 +0000
Ah, I see. Thank you!
Comment by: wain on Sun, 06 Jan 2008 00:14:37 +0000
This message is just an information, not an error. Before the build, yaourt looks for config file in /etc/customizepkg.d/. If a file exists for this package, the pkgbuild is modified (customized) by customizepkg.
If you don't use custom PKGBUILD, just uninstall customizepkg package to remove this message :-)
Comment by: n8schicht on Sat, 05 Jan 2008 23:24:34 +0000
Every time I am installing something with yaourt on my desktop machine I get an error message:

no configuration found for application in /etc/customizepkg.d/

But the application will be installed without any further error. On my laptop this doesn't happen.
Does somebody know why that is? I already reinstalled yaourt, but no change...
Comment by: beissemj on Tue, 01 Jan 2008 00:17:18 +0000
The colored output given by yaourt -Ss makes a yakuake console tab lag to a screaming halt
Comment by: headhunter on Mon, 03 Dec 2007 16:47:52 +0000
Please modify /usr/bin/yaourt script in order to run with dash.
Thanks ahead.
Comment by: grai on Fri, 09 Nov 2007 01:48:42 +0000
Ah, thanks, silly me. Please delete these few comments.
Comment by: wain on Thu, 08 Nov 2007 17:25:25 +0000
no, there is no problem with "_" but with inner_wolds's pkgbuild:

$ source PKGBUILD
bash: PKGBUILD: line 9: syntax error near unexpected token `>'
bash: PKGBUILD: line 9: `depends=(dosbox>=0.65)'

the depends line should be replaced by depends=('dosbox>=0.65')
Comment by: grai on Thu, 08 Nov 2007 15:32:50 +0000
yaourt -Su --aur fails with a return code of 1 when it gets to inner_worlds, but works after I uninstall that package. Aren't underscores allowed in package names? :-/
Comment by: wain on Sat, 03 Nov 2007 14:53:14 +0000
-version 0.8.7-1-
- improved yaourt -G (ask if PKGBUILD already exist)
- new pacdiffviewer: slocate is no more requierd
Comment by: wain on Thu, 01 Nov 2007 23:20:27 +0000
-version 0.8.6-1-
- Fix+improvements in -Qo
- Fixed outpout when PKGBUILD are in dos format
- Fixed "linux;" added when using out of X
- Doesn't search anymore for regexp in size or md5sum
- Fixed bug in yaourt -Qt with --lightbg colormod
Comment by: wizzomafizzo on Thu, 18 Oct 2007 15:32:05 +0000
The policy is there for a reason, we're not about to make an exception "just cause". unsupported is called unsupported for a reason and because community is now enabled by default any tool that completely bypasses the user checking a PKGBUILD before installing (and who does with a tool like this) is insane regardless of how many warnings there are beforehand.
Comment by: evdvelde on Thu, 18 Oct 2007 15:24:00 +0000
I do not think this plicy should be set in stone. yaourt warns enough for the AUR PKGBUILDs' safety and I can not see a reason why it can not be added to Community.
Comment by: wizzomafizzo on Thu, 18 Oct 2007 15:16:24 +0000
This package cannot be added to community, it's well known that any tool that is made for automatically installing PKGBUILDs from unsupported will never make it into community. This has been the policy in the past and should not change.

No matter how many votes it receives this will not go into a repo.
Comment by: nesl247 on Mon, 15 Oct 2007 22:13:15 +0000
If wain wants it to be in community, I will add it.
Comment by: wain on Tue, 09 Oct 2007 16:18:07 +0000
@donvla: yaourt can already use IgnorePkg= from pacman.conf when upgrading from AUR. (it works great for me)
Comment by: donvla on Tue, 09 Oct 2007 11:55:56 +0000
hello wain,

feature request:
a blacklist in yaourtrc (like in pacman.conf) would be convenient. there are some packages in aur i don't want to build everytime they're updated.
keep on the good work!
donvla
Comment by: wain on Sun, 30 Sep 2007 12:26:13 +0000
-version 0.8.5-2-
fixed backup=
Comment by: nesl247 on Sat, 29 Sep 2007 20:15:55 +0000
You have a typo. Instead of etc/yaourtc you should have etc/yaourtrc (in backup=())
Comment by: sinister99 on Wed, 19 Sep 2007 00:58:06 +0000
I had that updated before i tried to update aur. Anyways, I tried it again today and it worked.
Comment by: wain on Tue, 18 Sep 2007 18:18:33 +0000
@sinister99 try to -Syu with the new [core] repository
http://archlinux.org/news/345/
Comment by: sinister99 on Tue, 18 Sep 2007 01:12:39 +0000
yaourt suddenly seems to be searching aur for ALL my installed packages when I try to update my aur packages. Ex:

alsa-lib: not found on AUR
alsa-oss: not found on AUR
alsa-utils: not found on AUR
Comment by: wain on Sun, 16 Sep 2007 18:59:49 +0000
yaourt 0.8.5
- Some fixes for new [core] repository
- New option UpdateTerminalTitle, see yaourtrc(5)
- Added darcs and bzr support
- Regression fixed: showaurcomment doesn't work

Comment by: Cimi on Thu, 13 Sep 2007 10:49:31 +0000
you should update it by adding bazaar management under versionpkg, as it is supported by versionpkg...
Comment by: cucullus on Sat, 08 Sep 2007 14:57:39 +0000
"ShowAurComment no" does not work.
Comment by: SickHate on Mon, 03 Sep 2007 22:12:23 +0000
sudo yaourt -S -u --aur isnt upgrading packages from aur...it just upgrades from repos :P i tryed yaourt -Su --aur...it still checking on the repos...is this right ? ive allways used aurbuild...but i decided to give a try to yaourt....
Comment by: wain on Mon, 03 Sep 2007 20:19:44 +0000
- Better support for multiple instances runing (thanks to shining and nesl247)
- Resume previous build from AUR (great Vyazovoi's patch)

-version 0.8.4-1-
Comment by: dejari on Fri, 31 Aug 2007 16:17:54 +0000
The latest version (and the one right before it) break the 'yaourt <regex>' functionality for me.
Instead of searching for matches, I just get shown the usage.
Comment by: miggols99 on Sun, 19 Aug 2007 14:08:52 +0000
That doesn't seem to work. All it does is make it say

t [33[01;31m]u [33[01;34m]W $ [33[00m]

instead which is even worse!
Comment by: wain on Sun, 19 Aug 2007 10:00:57 +0000
it does not seem to be in relation with yaourtn but you can add this line in your .bashrc

PS1='\t \[\033[01;31m\]\u \[\033[01;34m\]\W \$ \[\033[00m\]'
Comment by: miggols99 on Sat, 18 Aug 2007 21:02:27 +0000
I have a bug here. When installing yaourt onto a fresh install, my terminals don't say host@username... they say "bash-3.2$" which is annoying, as I would like to know which folder I am currently in.
Comment by: olegfink on Tue, 31 Jul 2007 17:31:27 +0000
okay. so on my way to hack yaourt the way I want it to be I've began splitting (modularizing) it. The main idea is underlying system abstraction: i.e. if I want to install a package, I don't need to worry if it comes from aur or from a repo, it's a library duty to decide how to do it. It's still a work-in-progress, but I would like that wain and possibly others look at it.
http://bbs.archlinux.org/viewtopic.php?id=35772
Comment by: olegfink on Sun, 22 Jul 2007 03:59:49 +0000
Maybe it's worth copying the whole build tree on --export?
This is just one cp -R in the "if [ "$EXPORT" -eq 1]" section.
Comment by: wain on Fri, 20 Jul 2007 14:36:06 +0000

-version 0.8.3-1-
Comment by: cucullus on Thu, 19 Jul 2007 18:31:34 +0000
I have gnome-mplayer installed. It has updated recently.
When I did 'yaourt -Syu' I got:

==> Finished making: gnome-mplayer (Thu Jul 19 21:58:07 MSD 2007)
==> Exporting gnome-mplayer to /var/abs/local repository
cp: cannot stat `yaourt.install': No such file or directory
Error: Unable to copy yaourt.install to /var/abs/local/gnome-mplayer/ directory


But when I did 'yaourt -S gnome-mplayer' all was ok.
What's wrong?
Comment by: Nak on Thu, 12 Jul 2007 14:42:44 +0000
Hello, I'm very happy with this program but I have a little problem. I usually get wrong when I type the root password, it is possible that could leave at least three attempts? Thanks
Comment by: wain on Tue, 10 Jul 2007 20:15:18 +0000
new option PacmanBin in yaourtrc (to use pacman-color instead of pacman)
-version 0.8.2-1-
Comment by: cromo on Tue, 10 Jul 2007 08:52:26 +0000
I was about to update today and noticed a bug.
Previously I have compiled madwifi packages myself, so yaourt proposed to recompile madwifi package as it has just got updated in the repositories as well. Thing is that this madwifi update is due to the kernel update and the latter has to be installed first to make madwifi compile successfully. Otherwise you'll get:

/bin/sh: line 0: cd: /lib/modules/2.6.22-ARCH/build: No such file or directory
Makefile.inc:66: *** /lib/modules/2.6.22-ARCH/build is missing, please set KERNELPATH. Stop.
Comment by: wain on Mon, 09 Jul 2007 21:07:22 +0000
-version 0.8.1-1-
-new config file yaourtrc
-man pages: yaourt(8) and yaourtrc(5)
-detect wrong options (like -sy instead of -Sy)
-view content of the built package before installing
-quickly install package file without argument: yaourt /tmp/file.pkg.tar.gz
-improved input when asking for Y/n
-new options: "show AUR comments" and "Aur vote support" + a lot in yaourtrc file (see yaourtrc manpage for details)
-support for relative path with --tmp
-support double refresh (yaourt -Syy)
-bug fixed: searching for word "mail" gives wrong output

WARNING: new repositories link:
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
or
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
Comment by: byte on Mon, 02 Jul 2007 00:17:28 +0000
So what? I've never used /var/abs/local for anything. Its permissions are 755/root:root by default, that's one more thing to fiddle with.
Comment by: analfabeta on Sun, 01 Jul 2007 20:20:37 +0000
Isn't using /var/abs/local, but /tmp!
Comment by: RobNyc on Tue, 26 Jun 2007 13:55:14 +0000
I'm loving it great work guys keep improving it !!!
Hopefully its part of arch soon
Comment by: wain on Tue, 05 Jun 2007 17:19:31 +0000
eh that seems to me an excellent idea :-)
Comment by: cghislai on Mon, 04 Jun 2007 22:38:58 +0000
Ability to view package contents before installing from aur:

607c607
< prompt "Continue installing '$PKG'? [Y/n] [v]iew package contents"
---
> prompt "Continue installing '$PKG'? [Y/n] "
611,615d610
< if [ "$CONTINUE_INSTALLING" = "v" ] || [ "$CONTINUE_INSTALLING" = "V" ]; then
< tar -tvzf "./$pkgname-$pkgver-$pkgrel-$CARCH.pkg.tar.gz"
< prompt "Continue installing '$PKG'? [Y/n]"
< read -n 1 CONTINUE_INSTALLING
< echo
617d611
< fi

What do you think?
Comment by: wain on Thu, 31 May 2007 14:55:33 +0000
@evdvelde: you can add an alias in .bashrc:
alias yaourt='yaourt --export /path/' to save .pkg.tar.gz built from source.
Comment by: evdvelde on Thu, 31 May 2007 11:57:34 +0000
Could you please provide a way to keep packages that were build using yaourt? Now, if I build a AUR package, I cannot find the pkg.tar.gz anywhere on my system.
Comment by: wain on Sun, 27 May 2007 17:27:32 +0000
@dolby: with pacman 2.9, yaourt -Qe show packages explicitly installed; yaourt -Qt show orphans
This is exactly the same behaviour now with pacman3. I don't know why devs have removed old pacman -Qe behaviour. Some users just asked to me to reintroduce that in yaourt :-)
Comment by: dolby on Sat, 26 May 2007 23:38:01 +0000
is there a reason when u yaourt -Qe behaves like pacman 2.x.y.z ?
Comment by: wain on Fri, 25 May 2007 17:51:58 +0000
updated ! sorry
Don't forget this repositories for yaourt:

[archlinuxfr]
http://archlinux.fr/os/i686

and

[archlinuxfr]
http://archlinux.fr/os/x86_64
Comment by: dejari on Fri, 25 May 2007 17:40:28 +0000
Source code missing for latest.
Comment by: wain on Thu, 24 May 2007 22:02:29 +0000
- version 0.7.9-1 -

- fixed wget -c for aur's PKGBUILD (thanks to Florian Loitsch)
- yaourt -Sg show group without root/sudo (thanks to Marc Poiroud)
- yaourt -Si show "last update" for aur's package (Nak)
- new dynamic title for xterm/aterm/rxvt
- makedepends for makepkg are not removed until this bug is not fixed:
http://bugs.archlinux.org/task/7193
Comment by: Nak on Sat, 19 May 2007 11:51:19 +0000
Hello, this program is cool. Thanks for it! It would be great that the info about a package in aur (the -Si option) could give the date of the last modification of the package. It is possible? Thanks again.
Comment by: wain on Thu, 10 May 2007 11:43:38 +0000
-version 0.7.8-1-
new release for pacman3
Comment by: wain on Mon, 02 Apr 2007 21:50:45 +0000
Last release 0.7.2 for pacman3 only:
http://bbs.archlinux.org/viewtopic.php?pid=240290
Comment by: wain on Tue, 20 Mar 2007 22:20:50 +0000
Some fix and improvements in 0.7.0 version (only for pacman3):
http://bbs.archlinux.org/viewtopic.php?pid=237297
Comment by: cromo on Tue, 06 Mar 2007 08:32:00 +0000
==> Searching for new version on AUR
claws-rssyl: 0.11-1 => 0.8-1

wth? 0.11 is my self compiled package and 0.8 the one from the AUR.
Comment by: solstice on Sun, 25 Feb 2007 17:33:16 +0000
what bugs me with yaourt is the colors used. Try to use yaourt in a console with a white (or light) background and the colors make it unreadable.

how to change the colors ? i.e. customize them ?
i tried to do that in the source but that does not seem easy to me.
is there a single switch (or preference) to tell it i am using a light background ? (à la vim ? )
what if i only want bold instead of colors ?
Comment by: wain on Mon, 12 Feb 2007 19:24:37 +0000
thank you Zer0 !
I will work on it asap
Comment by: dejari on Sat, 10 Feb 2007 09:37:15 +0000
You are right. It was my fault, I\'m sorry!
Comment by: wain on Fri, 09 Feb 2007 21:10:12 +0000
Try to sync again, it works here:

yaourt -Si nwload
Repository : community
Name : nwload
...
Comment by: dejari on Fri, 09 Feb 2007 17:53:25 +0000
Hm.. doesn\'t yaourt look at [community]? For example, \'yaourt nwload\' didn\'t give me the package...
Comment by: wain on Sun, 04 Feb 2007 18:04:57 +0000
fixed: no makepkg
-version 0.6.5-1-
Comment by: wain on Tue, 23 Jan 2007 22:16:29 +0000
fixed: multiple build without sudo
-version 0.6.4-1-
Comment by: mutlu_inek on Fri, 19 Jan 2007 17:54:49 +0000
I have a strane problem with yaourt. I maintan a few packages in AUR and about a week ago the bibus PKGBUILD could not be read by yaourt. It installed fine with makepkg and pacman, but yaourt prompted \"bibus: Unable to read bibus\'s PKGBUILD\". I spent a lot of time trying to find the source of the error, but I could not. Then, after the yaourt upgrade it suddenly worked fine.

But a few minutes ago I updated another AUR package that I maintain, beagle-no-gnome. Again, makepkg and pacman are happy with it, but yaourt prompts \"beagle-no-gnome: Unable to read beagle-no-gnome\'s PKGBUILD\".

This seems to be a bug in yaourt?

Comment by: wain on Wed, 17 Jan 2007 16:58:00 +0000
improved --export + show summary after upgrade + versionpkg is now optional
-version 0.6.3-1-
Comment by: wain on Tue, 19 Dec 2006 15:36:19 +0000
@evdvelde, this is a bug in srcpac:
http://bugs.archlinux.org/task/5696
Comment by: evdvelde on Mon, 11 Dec 2006 21:37:34 +0000
When doing an empty update, I get the following message:

[root@localhost powersave]# yaourt -Su
error: no targets specified
usage: pacman {-S --sync} [options] [package]
options:
-c, --clean remove old packages from cache directory (use -cc for all)
-d, --nodeps skip dependency checks
-f, --force force install, overwrite conflicting files
-g, --groups view all members of a package group
-i, --info view package information
-l, --list list all packages belonging to the specified repository
-p, --print-uris print out download URIs for each package to be installed
-s, --search search remote repositories for matching regexps
-u, --sysupgrade upgrade all packages that are out of date
-w, --downloadonly download packages but do not install/upgrade anything
-y, --refresh download fresh package databases from the server
--ignore <pkg> ignore a package upgrade (can be used more than once)
--config <path> set an alternate configuration file
--noconfirm do not ask for any confirmation
--noprogressbar do not show a progress bar when downloading files
-v, --verbose be verbose
-r, --root <path> set an alternate installation root
-b, --dbpath <path> set an alternate database location


I like yaourt a lot, but this should be fixed perhaps ;-)
Comment by: dejari on Mon, 27 Nov 2006 21:16:59 +0000
You are right. My package cache was outdated. Sorry!
Comment by: Romashka on Mon, 27 Nov 2006 16:58:03 +0000
> Problem with packages that were moved to a binary repo and deleted from AUR
But there is no rar package in any binary repo.
It was removed from all repos.
Comment by: dejari on Mon, 27 Nov 2006 13:12:12 +0000
Problem with packages that were moved to a binary repo and deleted from AUR:

==> WARNING: It seems like rar was removed from AUR probably for security reason. Please Abort

yaourt should detect this situation.
Comment by: wain on Sun, 12 Nov 2006 17:16:16 +0000
user can choose his favorite sourceforge mirror
-version 0.6.2-1-
Comment by: wain on Thu, 09 Nov 2006 23:11:46 +0000
new option: clean database (obsolete repositories) + --tmp = directory for temporary files + improved interactiv search
-version 0.6.1-1-
Comment by: wain on Wed, 08 Nov 2006 19:16:26 +0000
faster ! => a lot of code rewritten
+ yaourt can remove packages from cache
+ show installed versions in search result
-version 0.6-1-
Comment by: dejari on Sun, 05 Nov 2006 18:32:11 +0000
Two suggestions:

- support for backspace, or readline if available (it should be since bash is in base)

- more detailed instructions on how to separate choices when doing \"yaourt PKGNAME\"
Comment by: wain on Sat, 28 Oct 2006 23:05:38 +0000
-better --help
-remove AUR deps if build process fails
-fixed error when runing yaourt as root first, then as user
-better dialogs, less verbose
-better search on AUR

-version 0.5-1-
Comment by: wain on Tue, 24 Oct 2006 11:10:10 +0000
--export option exports also built dependencies
-version 0.4.8-1-
Comment by: wain on Sun, 22 Oct 2006 14:36:10 +0000
new version compatible with new versionpkg 0.7.1. + fix cromo\'s bug
-version 0.4.7-1-
Comment by: wain on Fri, 20 Oct 2006 17:07:28 +0000
compatibility fix for new versionpkg 0.7
-version 0.4.6-1-
Comment by: wain on Thu, 19 Oct 2006 19:31:08 +0000
bug fixed in --export option
-version 0.4.5-1-
Comment by: wain on Tue, 17 Oct 2006 19:56:47 +0000
improved -Su --aur
-version 0.4.4-1-
Comment by: dejari on Fri, 13 Oct 2006 10:12:27 +0000
Hello wain,

thanks again for yaourt. Could you add a central variable for the temporary directory? My /tmp is a ramdisk and doesn\'t have enough memory for big packages, so I went to replace it with /var/tmp. I needed to update about 20 instances of it.
Comment by: wain on Thu, 05 Oct 2006 11:50:41 +0000
This is a known problem if you want to install:
yaourt -S packageA packageB

if packageB is a makedepends for packageA, packageB will be built twice :/
Isn\'t it this case there?

please continue the discussion here: http://bbs.archlinux.org/viewtopic.php?p=198881
Comment by: cromo on Wed, 04 Oct 2006 22:43:36 +0000
Also I noticed that yaourt builds every pacakge twice. For example, when compiling kpowersave, final stage (package generation):

==> Removing info/doc files...
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
==> Compressing package...
==> Finished making: kpowersave (Wed Oct 4 23:41:17 BST 2006)
==> Making package: kpowersave 0.6.2-1 (Wed Oct 4 23:41:17 BST 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...

It compiles the package again, immediately without any notice.
Comment by: cromo on Wed, 04 Oct 2006 22:37:33 +0000
versionpkg was up-to-date here.

cromo@kromka:/var/abs/local/unsermake-svn$ versionpkg -Sfw ./
==> Current revision number is 592113
==> Entering fakeroot environment
==> Making package: unsermake-svn 592113-1 (Wed Oct 4 23:36:21 BST 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Found unsermake.sh in build dir
==> Validating source files with MD5sums
unsermake.sh ... Passed
==> Extracting Sources...
==> Starting build()...
A unsermake/designer.um
(...)
A unsermake/destdir.um
U unsermake
Checked out revision 592494.
==> Removing info/doc files...
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Copying install script...
==> Generating .FILELIST file...
==> Compressing package...
==> Finished making: unsermake-svn (Wed Oct 4 23:36:29 BST 2006)

Worked nice.
Comment by: wain on Wed, 04 Oct 2006 19:42:13 +0000
@cromo:
please try to update versionpkg
and do:
$ wget http://aur.archlinux.org/packages/unsermake-svn/unsermake-svn.tar.gz
$ tar xfvz unsermake-svn.tar.gz
$ cd unsermake-svn
$ versionpkg -Sfw ./

??
Comment by: cromo on Wed, 04 Oct 2006 19:08:32 +0000
==> Finished making: unsermake-svn (Wed Oct 4 20:07:06 BST 2006)
==> Current revision number is 592113
==> ERROR: No newer revision, use versionpkg -f to force update.
Error: Makepkg was unable to build last cvs/svn/mercurial/git unsermake-svn package.

Comment by: veek on Mon, 02 Oct 2006 21:49:02 +0000
Glad to help, wain
Comment by: wain on Mon, 02 Oct 2006 18:18:45 +0000
thank you very much veek ! your patch is perfect: fixed -Qs bug with testing repository
-version 0.4.3-1-
Comment by: veek on Mon, 02 Oct 2006 17:42:07 +0000
wain, I discovered a bug in the highlighting for pacman -Qs.

The problem occurs in determining the repository a package was installed from if a package is in the testing repo. Most packages in testing have an earlier version in a different repository. For example, the package xfsprogs appears in both current and testing.

That causes pacman -Si to return package information for both versions of the package, and messes up this line of the script:

repository=`pacman -Si $package 2>/dev/null | grep \"^Repository\" | awk \'{print $3}\'`

I wrote a small patch that solves this issue by checking the output of pacman -Si for the correct version number of the package. I\'ll link to the patch so you can take a look at what I did. There may be a better way to do it, but glancing at the patch might save you some time :)

Using pacman -Si to find the correct repository is a really cool idea. Combined with the coloring, it makes pacman -Qs output much more readable.
Comment by: veek on Sun, 01 Oct 2006 22:34:18 +0000
wain, thanks a bunch for the changes!
Comment by: wain on Sun, 01 Oct 2006 15:59:29 +0000

-version 0.4.2-1-
Comment by: wain on Sun, 01 Oct 2006 15:57:53 +0000
thank you nut543 and veek for your feedbacks.
Version 0.4.2 has AUR comment support + safeflag support + colorized outpout for yaourt -Qs
I hope you will enjoy it !
Comment by: veek on Fri, 29 Sep 2006 20:55:42 +0000
Great pacman wrapper wain!

Like nut543 I wanted the output of yaourt -Qs to be colorized. I went ahead and did a slight modification to yaourt so it prints out the local package names in red like the package names in current when you do yaourt -Ss.

I created a patch that can be applied by makepkg via the package build.

wain, if you want the patch I could send it to you, even though it would be ridiculously easy for you to write the code yourself. I basically just copied your code for yaourt -Ss.

Then again, you might not want to add that feature so I could just post the patch in the forum for anyone else that wants it. I figured I\'d post here first since it\'s your utility :)

Anyway, thanks wain, yaourt is a hell of a crazy (and useful) script ;)
Comment by: nut543 on Wed, 27 Sep 2006 21:58:37 +0000
First I want to say: This is the best pacman-like tool out there! :D

Then to my wishes in order of want:

1. Colored output for yaourt -Qs package
2. The ability to have yaourt -Qo /foo/file work when there isn\'t a package installed containing that file(just use aur or webinterface) AND the ability to list contents of packages that isn\'t installed :)

I have already added comment grabbing from aur(i can give it to you, but it\'s not 100% done i think) and bash-completion(just changed one last word in current \"archlinux\" script) myself, so those are not so important :)

I\'d also wish you would not use pacman at all, but some find command and some sed or cut because i\'m pretty sure that that is faster on XFS, which is what i\'m using :) Also, maybe i will add this myself, if i dare :)
Comment by: wain on Thu, 21 Sep 2006 16:50:10 +0000
@cromo: humm... This is srcpac\'s job with srcpac.conf file :-)
Perhaps that a day, yaourt will be able to do it himself ;-)
Comment by: cromo on Wed, 20 Sep 2006 16:25:18 +0000
Would be nice if yaourt asked for PKBUILD edition when used with-Sb, just like it does now for --aur.
Comment by: Janitux on Sun, 17 Sep 2006 03:04:06 +0000
rocks :D
Comment by: wain on Sat, 16 Sep 2006 17:40:56 +0000
added option a to abort build for Janitux :-)
-version 0.4.1-1-
Comment by: Janitux on Sat, 16 Sep 2006 16:46:45 +0000
hi,yaourt is very good,but look this :
==> Do you want to edit the PKGBUILD? [Y/n]
==> ----------------------------------------------
==> y
==> Continue building \'glproto-git\'? [Y/n]
==> ----------------------------------------------
==> n
and this :
==> Do you want to edit the PKGBUILD? [Y/n]
==> ----------------------------------------------
==> n

==> Building and installing package
:S doesn\'t ask if you want to continue building the package when you put \"n\" to Do you want to edit the PKGBUILD?

sorry for my bad english :)
Comment by: wain on Fri, 15 Sep 2006 19:18:02 +0000
pacdiffviewer update for Zer0: fixed diff editors
-version 0.4-2-
Comment by: wain on Wed, 13 Sep 2006 11:20:43 +0000
some minor fix
-version 0.4-1-
Comment by: wain on Tue, 05 Sep 2006 21:48:50 +0000
-version 0.3.9-1-
now yaourt keep cvs/svn/git sources for faster upgrade. Be sure to give write access to /var/abs/local directory.

--svn option replaced by --devel (update all devel installed packages)
Comment by: wain on Wed, 30 Aug 2006 20:49:16 +0000
sorry for the link, it\'s fixed now :D

yaourt is available in my repo too:

[wain]
Server = http://archiwain.free.fr/os/i686
Comment by: detto on Wed, 30 Aug 2006 20:33:48 +0000
link to source broken :\\
Comment by: wain on Wed, 30 Aug 2006 18:02:06 +0000
fixed cromo\'s bug + support for mercurial(hg) last version build
-version 0.3.8-1-
Comment by: cromo on Wed, 30 Aug 2006 13:21:57 +0000
In case any of the PKGBUILDs is broken in aur, yaourt won\'t continue with updating the packages installed from aur, e.g.:

==> Searching for new version on AUR
aircrack-ng: up to date
knetworkmanager-svn: up to date
ksynaptics: up to date
libsynaptics: ./PKGBUILD: line 10: unexpected EOF while looking for matching `\'\'
./PKGBUILD: line 18: syntax error: unexpected end of file
Comment by: wain on Thu, 24 Aug 2006 20:20:16 +0000
@brazzmonkey:
just remove /tmp/yaourt-tmp directory and run as user
Comment by: brazzmonkey on Thu, 24 Aug 2006 17:57:39 +0000
i get permissions errors using the latest version as user. for instance :

Installing from AUR \'basket\'
mkdir: cannot create directory `/tmp/yaourt-tmp/aur-basket\': Permission denied
Error: Unable to create directory /tmp/yaourt-tmp/aur-basket. Please move to a writable directory.

Error: unable to build basket from AUR

/usr/bin/yaourt: line 631: /tmp/yaourt-tmp/orphans/orphans_after.5073.tmp: Permission denied
/usr/bin/yaourt: line 632: /tmp/yaourt-tmp/orphans/installed_after.5073: Permission denied
/usr/bin/yaourt: line 633: /tmp/yaourt-tmp/orphans/installed_after.5073.newonly: Permission denied
/usr/bin/yaourt: line 634: /tmp/yaourt-tmp/orphans/orphans_after.5073: Permission denied
comm: /tmp/yaourt-tmp/orphans/orphans_before.5073: No such file or directory

it works fine as root. fyi sudo is installed.
Comment by: matersci on Wed, 23 Aug 2006 20:09:15 +0000
you should add sudo to dependencies then.

Thanks! I will use it as root. Usually I install packages verified by TUs, so I don\'t have problem with this.
Comment by: wain on Wed, 23 Aug 2006 18:17:53 +0000
fixed build AUR\'s package as root if sudo is not installed
-version 0.3.7-1-
Comment by: wain on Wed, 23 Aug 2006 18:17:08 +0000
I\'m sorry matersci, but it will be very difficult to exclude sudo in this case.
Yaourt use makepkg -S for dependencies\'s auto install because it\'s the only way to install package \"as a dependency for another package
\".
using sudo is the best solution, but this new version should work for you as root.
Comment by: matersci on Wed, 23 Aug 2006 12:12:36 +0000
with 0.3.6-1 i get:

==> recordmydesktop dependencies:
- alsa-lib (already installed)
- zlib (already installed)
- libice (already installed)
- libvorbis (already installed)
- libxdamage (already installed)
- libxext (already installed)
- libtheora (already installed)

==> Do you want to edit the PKGBUILD? [Y/n]
==> ----------------------------------------------
==> n

==> Building and installing package
==> ERROR: Cannot find the sudo binary! Is sudo installed?
Error: Makepkg was unable to build recordmydesktop package.
Comment by: wain on Wed, 23 Aug 2006 11:30:50 +0000
fixed: error if sudo is not installed + warning if building aur\'s package as root
-version 0.3.6-1-
Comment by: wain on Tue, 15 Aug 2006 20:18:01 +0000
added -Qt option (searching for forgotten orphans) thanks to cromo
-version 0.3.3-1-
Comment by: wain on Sat, 12 Aug 2006 15:14:02 +0000
-version 0.2.9-1-
added \"quick search+install\" mode:

example:
$ yaourt fluxbox openbox
(without any option)
Comment by: wain on Sun, 09 Jul 2006 15:15:11 +0000
fix for sudo detection + better orphan detection after upgrade. I am thinking of a means of improving yaourt speed
-version 0.2.2-
Comment by: dejari on Sat, 08 Jul 2006 13:38:37 +0000
Here\'s another suggestion: yaourt is very slow compared to qpkg. I believe this is because qpkg generates a cache of package lists (which may be automated via a cronjob) and then uses this.

Would be great for yaourt, too.
Comment by: wain on Tue, 04 Jul 2006 20:37:58 +0000
wrapper for srcpac with aur support and more.

v1.6.0