You are not logged in.
hi all :>
yaourt's search engine was working quite nice until i booted up my computer this morning -.-
does anyone have an idea to solve this problem!? downloading + building from aur works great with yaourt just the search thingy is kinda broken -.-
can it be possible that it has to do something with my changes in sysctl.conf? i added several rules:
# Disable packet forwarding
net.ipv4.ip_forward=0
# Disable the magic-sysrq key
kernel.sysrq = 0
# Enable TCP SYN Cookie Protection
net.ipv4.tcp_syncookies = 1
# Source Address verification
net.ipv4.conf.all.rp_filter = 1
# Block Ping
net.ipv4.icmp_echo_ignore_all = 1
net.ipv4.tcp_timestamps = 0
net.ipv4.conf.all.accept_source_route=0
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.icmp_ignore_bogus_error_responses=1
best regards :>
Last edited by arch0r (2008-12-29 19:37:54)
Offline
Recently some updates for the AUR website have been deployed. Probably something has changed, breaking yaourt's search feature.
I can confirm yaourt searching doesn't work anymore.
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
ok , that's good to hear. are there any official information that i didn't get!?
Offline
I confirm, doesn't work for me too
Offline
mee too, and some other guys on the italian forum are experiencing this problem too.
Offline
So do I in my two computers
Last edited by Kérer (2008-12-25 18:19:05)
Offline
confirmed, doesn't work on my laptop (didn't test on the desktop, running gentoo there atm).
but I wouldn't put a happy smiley there, though
Only the best is good enough.
Offline
Same here, although I use the git version. We'll see, I guess the developer will see this problem fast and update it ... at least I hope
Offline
Edit /usr/bin/yaourt
in function search_on_aur
change this line
wget -q "${AUR_URL}${1}" -O - | grep -A 2 "<a href='/packages.php?ID=" \
to
wget -q "${AUR_URL}${1}" -O - | grep -A 2 "<a href='packages.php?ID=" \
but description is missing. So waiting yaourt update...
Offline
It's stopped for me as well. *sigh*
Offline
with the temporary solution found by hubertstar, I almost can search the packages names... I'm sure the mantainers will solve this problem as fast as they can ( it's christmas time so we'll have to be patient)
Offline
I've come up with a workaround. It's quick and probably dirty, but it enables me to search the packages and view the descriptions.
--- yaourt.orig 2008-12-26 13:12:42.000000000 +0100
+++ /usr/bin/yaourt 2008-12-26 13:23:45.000000000 +0100
@@ -1253,9 +1253,9 @@
_pkg=`echo $1 | sed 's/ AND / /'`
title $(eval_gettext 'searching for $_pkg on AUR')
[ "$MAJOR" = "interactivesearch" ] && i=$(($(wc -l $searchfile | awk '{print $1}')+1))
- wget -q "${AUR_URL}${1}" -O - | grep -A 2 "<a href='/packages.php?ID=" \
+ wget -q "${AUR_URL}${1}" -O - | grep -A 3 "<a href='packages.php?ID=" \
| sed -e "s/<\/span>.*$//" -e "s/^.*packages.php?ID=.*span class.*'>/aur\//" -e "s/^.*span class.*'>//" \
- | grep -v " " | grep -v "^--" |
+ | grep -v " " | grep -v "^--" | grep -v "^$" |
while read line; do
if [ "${line%\/*}" = "aur" ]; then
package=$(echo $line | awk '{ print $1}' | sed 's/^.*\///')
Offline
why not use:
http://aur.archlinux.org/rpc.php?type=search&arg=xxx
return json string and parse it ?
I notice get aur package info use http://aur.archlinux.org/rpc.php?type=info&arg=xxx,I think rpc.php search will better than html hack.
Offline
Install yaourt-git from aur. This solved the problem for me.
Offline
Install yaourt-git from aur. This solved the problem for me.
not for me.. compiled now yaourt-git from scratch. BTW, i will use the first suggestion by huberstar for now.
Offline
I can confirm yaourt-git does not work, but changing the line:
wget -q "${AUR_URL}${1}" -O - | grep -A 2 "<a href='/packages.php?ID=" \
to
wget -q "${AUR_URL}${1}" -O - | grep -A 4 "<a href='packages.php?ID=" \
as metioned in the above post does - including descriptions - for the time being at least
Last edited by mykey (2008-12-27 12:54:59)
Offline
I am using yaourt version 0.9.1-1 and not having the problem, rebuilding yaourt may solve the problem
Offline
I can confirm yaourt-git does not work, but changing the line:
wget -q "${AUR_URL}${1}" -O - | grep -A 2 "<a href='/packages.php?ID=" \
to
wget -q "${AUR_URL}${1}" -O - | grep -A 4 "<a href='packages.php?ID=" \
as metioned in the above post does - including descriptions - for the time being at least
Are you sure that -A 4 is necessary? I've had no problems with -A 3 so far.
kgas: I also have 0.9.1-1, but the problem persists after reinstalling. Are you sure you tested this with packages in AUR? Because for packages that are not in AUR but in the normal repositories, Yaourt works without problems.
Offline
I also can confirm that search function in yaourt does not work for some time. But the salvation provided by hubertstar works at least for me. Thank you man.
Offline
The new tupac's version works very fine .
Offline
yaourt output is a bit better if after changing the line:
wget -q "${AUR_URL}${1}" -O - | grep -A 2 "<a href='/packages.php?ID=" \
to
wget -q "${AUR_URL}${1}" -O - | grep -A 3 "<a href='packages.php?ID=" \
change also the line:
| grep -v " " | grep -v "^--" |
to
| grep -v " " | grep -v "^--" | sed '/^$/d' |
It suppress empty lines in the yaourt output.
Last edited by angrycore (2008-12-28 22:22:49)
Offline
I just wanted to say that the newest yaourt-git solved the problem for me. I was wrong earlier in this thread.
Offline
yaourt has been updated on the french repo. problem solved :>
Offline
I confirm that. Problem solved on last update from official repository
Regards
Offline