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
Dependencies diffutils pacman>=3.2.0 wget
Required by tupac zenity_pacgui
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".
(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
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.
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
CARCH variable problem confirmed here.
yaourt just crash when it reaches this variable on the PKGBUILD of the package being installed
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.
ava1ar, thanks for your great work. I have installed it. I'll try it more.
TheChessPlayer, man yaourtrc contains all this options
tocer, just added this to yaourt-abs (http://aur.archlinux.org/packages.php?ID=31320)
u r welcome for more proposals :)
Do you mind adding option --skipinteg into yaourt to switch makepkg?
The man page for yaourt command should link to yaourtrc's corresponding options. As an example, --aur should link to AlwaysUpgradeAur.
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)
Would it be possible to change arch array to arch=(any) ? yaourt is just a set of bash scripts, so architecture independent.
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).
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
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...
Here is a rapidshare mirror for the source of this package:
http://rapidshare.com/files/300005403/yaourt-0.9.2.6.src.tar.gz
I just snagged the youart-git build, that's not blocked.
Duh. I'm an idiot. My work proxy was blocking 'archiwain.free.fr is categorized as security.proxy' ... Sorry. :-)
Yaourt isn't passing validity checks. Did you update the md5?
correction: seems to be working OK also with community packages
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.
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.
yeah same problem here downgrading dont work anymore...
some possibility to fix this problem?
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 :/
@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
Please add "make" as a build dependency. Make may be not yet installed on a clean system. Thanks for this great tool!
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
First stable version of Paktahn is done: http://blog.viridian-project.de/2009/09/19/announcement-paktahn-a-successor-to-yaourt/
yaourt -Su --downgrade does not work anymore :/
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
Same problem as blasse, regardless of "b" flag. VERY blocking, VERY frustrating.
There is a problem when building community pkg from source with yaourt -Sb - yaourt search pkgbuid on AUR instead of new community repo.
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.
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.
Can someone provide instructions to use yaour + powerpill for concurrent downloads ?
Updating packages with "+" in their names now works with yaourt 0.9.2.6 :D
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.
http://bbs.archlinux.org/viewtopic.php?pid=598292#p598292
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.
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).
@dejari: is something ready for consumption?
Sincerely,
Gour
Language is Common Lisp, expect usable release with public source (GPL) this weekend.
dejari, please tell us more. Implementation language? Public source repo available somewhere? Is it already somewhat usable?
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
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.
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...
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.
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/
Can NOT search/build 'py++' on aur, but it is really on aur.
yaourt's version is 0.9.2.5
Suggestion: automodification of VCS AUR packages with date in the name so no need to modify them manually.
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.
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
@cvsitlik:
My problem was with wget: I modified it recently to use a proxy and forgot to bring it back to normal :D
@csvitlik
same problem for me...
@csvitlik
I've just upgraded bin32-wine.
is it just me or can anyone else not install anything from aur recently?
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
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
thanks byte.
piyushbhatt: That's nothing to do with yaourt; you're supposed to have the 'base-devel' group installed before building anything with makepkg/yaourt.
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
When will enter this package in community?
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.
http://wiki.archlinux.org/index.php/Community_repo_candidates
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.
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.
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
It would be nice too a kind of sorting the search ("yaourt -Ss") output by votes.
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.
@Finkregh, please install base-devel before compiling stuff on Archlinux. Then you'll see, that make does NOT have to be a makedep!!!
please add make as makedep()
:)
It is the same package.
Yaourt shows community packages wich are also AUR packages logicaly. Probably a yaourt bug.
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?
Typo in PKGBUILD
'customizepkg: automatically modify PKGUILD during install/upgrade'
PKGUILD => PKGBUILD
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.
Yaourt does not fit with ne Coreutils 7.1
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.
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')
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
hmm... AUR search results are no longer sorted after 0.9.1...
nice bug:
[harvie@harvie-ntb ~]$ yaourt -Ss "frostwire|ls /"
arch/arch
bin/bin
boot/boot
...
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
Sorry, I'm wrong. I tried uncommenting the HTTP proxy section in .bash_profile and it works.
it works here :-)
Hi.
Why don't yaourt work today?
$ yaourt -Syu --aur
==> Searching for new version on AUR
[cut]
yaourt: not found on AUR
[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
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?
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.
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: Ðет такого файла или каталога
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.
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
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)
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.
I just realized that this is the number of vote between brackets on AUR search in v0.9.2.3...
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?
dejari: maybe post that here- http://bbs.archlinux.org/viewtopic.php?id=25718&p=14
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"
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.
firecat53: I get that error a lot too. I find running pacman -Syyu and installing any updates makes yaourt work again when it happens.
Try to switch to other mirrors for pacman in /etc/pacman.d/mirrorlist
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
Fixed my previous problem... The problem was actually that my tar was broken...
Now to figure out how that happened...
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.
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.
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.
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...
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.
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...
I also don't like the new behaviour.
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.
It still doesn't work for AUR packages here.
I prefer the previous behaviour when there is no need to use the NOPASSWD flag and it still will use the sudo command.
I've made an updated package: http://files.teaman.org/pkgbuilds/yaourt.tar.gz
@net147
WOW! it's really works! Very big thenks!
I rewrite line 32 and further on the text.
I edit /usr/bin/yaourt
@net147
Thanks for the fix! Oh, the line you mention is actually line 32, not line 33 - line 33 is a different URL variable.
Well, maybe u can create a patch file?
I edited the line rebuild yaourt but it doesn't work.
Well, haven't looked at the source package. ;-)
@cyberpatrol: yaourt.sh is the source file
@net147: I guess you mean /usr/bin/yaourt, because there's no yaourt.sh. ;-)
It works again:) Thank you very much:)
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"; }' |
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.
Stop commenting about yaourt not finding any AUR packages, I gues wain knows about the problem by now.
It doesn't find any AUR package... why???
I can´t search anymore for apps on AUR via Yaourt. What happend?
New AUR breaks yaourt - seems that yaourt shouldn't be scraping html anymore, per wizzo on IRC.
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.
after finishing it's work yaourt changes my gnome-terminal's title to xterm
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.
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?
all the output functions are gone? had to add functions like "colorizedoutputline()" and "claenoutput()" myself from an old yaourt-script.
@toomanymirrors: did you export the var?
eg export EDITOR=vim
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:
yaourt -Su --devel does no longer update any git/svn packages.. This is the case since the last yaourt update
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.
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.
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++
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.
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 ~]$
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.
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.
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.
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
I've added "yaourt-git" to AUR.
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?
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?
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?
Thanx for the link! Works perfectly now :)
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
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?
Army... have you upgraded yaourt? There was a new release a while ago to deal with abs version 2.
$ 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 ;)
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
license=('GPL')
license is an array
yaourt -G
doesn't create a separate directory, which is quite annoying.
It would be great to have that fixed, Wain. :)
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?
The sum is incorrect on the tarball and needs to be updated. :)
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.
I think its bettle to use sed script directly in customizepkg. then we can add multi lines, or apply patchs ...
Here's the link to the Yaourt forum thread for feature requests, bug reports etc..
http://bbs.archlinux.org/viewtopic.php?id=25718
Please use the forum for feature request and bug report :-)
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...
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"
yaourt -Sb perl-text-kakasi
==> Installing from a list of a packages (perl-text-kakasi)
cat: perl-text-kakasi: Is a directory
bug??
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.
is it possible to skip packages allready build in local repo? is there that option?
yaourt -S packages.txt is only installing the first package for me...hope this gets fixed :D
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 ;)
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
When I installed community/compiz-core, yaourt tells me that both aur/compiz && aur/compiz-kde have been installed, too. That's wierd.
new features simple awesome!! WAIN UROCK!
-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 :-)
Regarding the last comment:
Yaourt should either have #!/bin/bash as first line or explicitly call /bin/echo.
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
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/
I'd just like to confirm that yaourt builds on PPC. It would be nice to have that added to the ARCH=() array.
yaourt.tar.gz is the source tarball, not the package.
Just add [archlinuxfr] repository in your pacman.conf and pacman -Sy yaourt
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)
-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
@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 :-)
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.
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).
- 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
-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 :-)
I have a simple feature request: ask the user to mount /boot when installing a kernel package.
=====================
==> 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'
=====================
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? :)
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.
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?
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...
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!!
[feature request]
please add selective (like 1,2,5-9) uninstallation with -Qt
-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 !
Sorry I was referring to updating yaourt itself.
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...
When doing a yaourt -Su --aur, if there is a yaourt update, I think it should take priority, just as pacman does.
Nice work.
yaourt -Qtd produces the same output as pacman -Qt, which is incorrect.
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
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.
-version 0.8.8-1-
fix for pacman 3.1
Yaourt isn't updated to work properly with Pacman 3.1, just be patient.
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
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?
Ah, I see. Thank you!
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 :-)
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...
The colored output given by yaourt -Ss makes a yakuake console tab lag to a screaming halt
Please modify /usr/bin/yaourt script in order to run with dash.
Thanks ahead.
Ah, thanks, silly me. Please delete these few comments.
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')
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? :-/
-version 0.8.7-1-
- improved yaourt -G (ask if PKGBUILD already exist)
- new pacdiffviewer: slocate is no more requierd
-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
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.
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.
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.
If wain wants it to be in community, I will add it.
@donvla: yaourt can already use IgnorePkg= from pacman.conf when upgrading from AUR. (it works great for me)
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
-version 0.8.5-2-
fixed backup=
You have a typo. Instead of etc/yaourtc you should have etc/yaourtrc (in backup=())
I had that updated before i tried to update aur. Anyways, I tried it again today and it worked.
@sinister99 try to -Syu with the new [core] repository
http://archlinux.org/news/345/
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
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
you should update it by adding bazaar management under versionpkg, as it is supported by versionpkg...
"ShowAurComment no" does not work.
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....
- 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-
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.
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!
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\]'
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.
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
Maybe it's worth copying the whole build tree on --export?
This is just one cp -R in the "if [ "$EXPORT" -eq 1]" section.
-version 0.8.3-1-
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?
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
new option PacmanBin in yaourtrc (to use pacman-color instead of pacman)
-version 0.8.2-1-
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.
-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
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.
Isn't using /var/abs/local, but /tmp!
I'm loving it great work guys keep improving it !!!
Hopefully its part of arch soon
eh that seems to me an excellent idea :-)
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?
@evdvelde: you can add an alias in .bashrc:
alias yaourt='yaourt --export /path/' to save .pkg.tar.gz built from source.
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.
@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 :-)
is there a reason when u yaourt -Qe behaves like pacman 2.x.y.z ?
updated ! sorry
Don't forget this repositories for yaourt:
[archlinuxfr]
http://archlinux.fr/os/i686
and
[archlinuxfr]
http://archlinux.fr/os/x86_64
Source code missing for latest.
- 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
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.
-version 0.7.8-1-
new release for pacman3
Last release 0.7.2 for pacman3 only:
http://bbs.archlinux.org/viewtopic.php?pid=240290
Some fix and improvements in 0.7.0 version (only for pacman3):
http://bbs.archlinux.org/viewtopic.php?pid=237297
==> 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.
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 ?
thank you Zer0 !
I will work on it asap
You are right. It was my fault, I\'m sorry!
Try to sync again, it works here:
yaourt -Si nwload
Repository : community
Name : nwload
...
Hm.. doesn\'t yaourt look at [community]? For example, \'yaourt nwload\' didn\'t give me the package...
fixed: no makepkg
-version 0.6.5-1-
fixed: multiple build without sudo
-version 0.6.4-1-
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?
improved --export + show summary after upgrade + versionpkg is now optional
-version 0.6.3-1-
@evdvelde, this is a bug in srcpac:
http://bugs.archlinux.org/task/5696
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 ;-)
You are right. My package cache was outdated. Sorry!
> 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.
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.
user can choose his favorite sourceforge mirror
-version 0.6.2-1-
new option: clean database (obsolete repositories) + --tmp = directory for temporary files + improved interactiv search
-version 0.6.1-1-
faster ! => a lot of code rewritten
+ yaourt can remove packages from cache
+ show installed versions in search result
-version 0.6-1-
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\"
-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-
--export option exports also built dependencies
-version 0.4.8-1-
new version compatible with new versionpkg 0.7.1. + fix cromo\'s bug
-version 0.4.7-1-
compatibility fix for new versionpkg 0.7
-version 0.4.6-1-
bug fixed in --export option
-version 0.4.5-1-
improved -Su --aur
-version 0.4.4-1-
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.
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
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.
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.
@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 ./
??
==> 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.
Glad to help, wain
thank you very much veek ! your patch is perfect: fixed -Qs bug with testing repository
-version 0.4.3-1-
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.
wain, thanks a bunch for the changes!
-version 0.4.2-1-
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 !
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 ;)
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 :)
@cromo: humm... This is srcpac\'s job with srcpac.conf file :-)
Perhaps that a day, yaourt will be able to do it himself ;-)
Would be nice if yaourt asked for PKBUILD edition when used with-Sb, just like it does now for --aur.
rocks :D
added option a to abort build for Janitux :-)
-version 0.4.1-1-
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 :)
pacdiffviewer update for Zer0: fixed diff editors
-version 0.4-2-
some minor fix
-version 0.4-1-
-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)
sorry for the link, it\'s fixed now :D
yaourt is available in my repo too:
[wain]
Server = http://archiwain.free.fr/os/i686
link to source broken :\\
fixed cromo\'s bug + support for mercurial(hg) last version build
-version 0.3.8-1-
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
@brazzmonkey:
just remove /tmp/yaourt-tmp directory and run as user
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.
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.
fixed build AUR\'s package as root if sudo is not installed
-version 0.3.7-1-
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.
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.
fixed: error if sudo is not installed + warning if building aur\'s package as root
-version 0.3.6-1-
added -Qt option (searching for forgotten orphans) thanks to cromo
-version 0.3.3-1-
-version 0.2.9-1-
added \"quick search+install\" mode:
example:
$ yaourt fluxbox openbox
(without any option)
fix for sudo detection + better orphan detection after upgrade. I am thinking of a means of improving yaourt speed
-version 0.2.2-
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.
wrapper for srcpac with aur support and more.
v1.6.0