You are not logged in.
yaourt doesn't show AUR searching results. When I type for instance:
$ yaourt splashy
I get:
1 archlinuxve/splashy 0.3.10-1 [installed]
A next-generation user-space boot splashing system for Linux systems
2 archlinuxve/splashy-themes 0.4-1 [installed]
Splashy Themes
google_ad_client="pub-3170555743375154";google_ad_width=468;google_ad_height=60;google_ad_format="468x60_as";google_color_border=
"ffffff";google_color_bg="ffffff";google_color_link="0771A6";google_color_url="99AACC";google_color_text="000000";//-->
</script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div><div
id="sub_nav"><ul><li><a href="http://archlinux.org/mailman/listinfo/aur-general">Discussion</a></li> <li><a href="http://bugs.archlinux.org/
index.php?tasks=all&project=2">Bugs</a></li> <li><a href="packages.php">Packages</a></li> <li><a href="account.php">Accounts</a></
li> <li><a href="index.php">AUR Home</a></li></ul></div></div><div id="lang_login_sub"><span id="lang_bar"><ul><li>Lang: </
li><li><a href="/packages.php?setlang=en" title="English">EN</a></li> <li><a href="/packages.php?setlang=pl" title="Polski">PL</a></li>
<li><a href="/packages.php?setlang=it" title="Italiano">IT</a></li> <li><a href="/packages.php?setlang=ca" title="Català">CA</a></li>
<li><a href="/packages.php?setlang=pt" title="Português">PT</a></li> <li><a href="/packages.php?setlang=es" title="Español">ES</a></li>
<li><a href="/packages.php?setlang=de" title="Deutsch">DE</a></li> <li><a href="/packages.php?setlang=ru" title="Русский">RU</a></li>
<li><a href="/packages.php?setlang=fr" title="Français">FR</a></li></ul>
==> Enter n° (separated by blanks, or a range) of packages to be installed
==> ----------------------------------------------
==>
It doesn't matter what I type after the command. I always get the header of AUR site as a result. How can i solve the problem? I have already done:
yaourt -Syu
and
pacman -Sc
few times.
The problem concerns 0.9-2 and 0.9.1-1 as well.
Offline
do you have something special in wgetrc file ? something particular with sed/awk or grep ?
Last edited by wain (2008-08-19 21:29:40)
Offline
do you have something special in wgetrc file ? something particular with sed/awk or grep ?
No, I have default wgetrc file that came with wget package.
Offline
wain wrote:do you have something special in wgetrc file ? something particular with sed/awk or grep ?
No, I have default wgetrc file that came with wget package.
can you pastebin the output of this command ?
wget -q "http://aur.archlinux.org/packages.php?setlang=en&do_Search=SeB=nd&L=2&C=0&PP=100&K=pacman" -O -
Offline
can you pastebin the output of this command ?
wget -q "http://aur.archlinux.org/packages.php?setlang=en&do_Search=SeB=nd&L=2&C=0&PP=100&K=pacman" -O -
Sure, here it is.
Offline
ok your output is ok...
Please, try this:
wget -q "http://aur.archlinux.org/packages.php?setlang=en&do_Search=SeB=nd&L=2&C=0&PP=100&K=pacman" -O - | grep -A 2 "<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 "^--"
it should be like that.
Offline
ok your output is ok...
Please, try this:wget -q "http://aur.archlinux.org/packages.php?setlang=en&do_Search=SeB=nd&L=2&C=0&PP=100&K=pacman" -O - | grep -A 2 "<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 "^--"
it should be like that.
I tried that and I got:
google_ad_client="pub-3170555743375154";google_ad_width=468;google_ad_height=60;google_ad_format="468x60_as";google_color_border="ffffff";google_color_bg="ffffff";google_color_link="0771A6";google_color_url="99AACC";google_color_text="000000";//--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div><div id="sub_nav"><ul><li><a href="http://archlinux.org/mailman/listinfo/aur-general">Discussion</a></li> <li><a href="http://bugs.archlinux.org/index.php?tasks=all&project=2">Bugs</a></li> <li><a href="packages.php">Packages</a></li> <li><a href="account.php">Accounts</a></li> <li><a href="index.php">AUR Home</a></li></ul></div></div><div id="lang_login_sub"><span id="lang_bar"><ul><li>Lang: </li><li><a href="/packages.php?setlang=en" title="English">EN</a></li> <li><a href="/packages.php?setlang=pl" title="Polski">PL</a></li> <li><a href="/packages.php?setlang=it" title="Italiano">IT</a></li> <li><a href="/packages.php?setlang=ca" title="Català">CA</a></li> <li><a href="/packages.php?setlang=pt" title="Português">PT</a></li> <li><a href="/packages.php?setlang=es" title="Español">ES</a></li> <li><a href="/packages.php?setlang=de" title="Deutsch">DE</a></li> <li><a href="/packages.php?setlang=ru" title="Русский">RU</a></li> <li><a href="/packages.php?setlang=fr" title="Français">FR</a></li></ul>
instead of right output.
I have the same problem on my two diffrent mashines. I don't recall that I changed anything in config files. Btw, thanks for interest.
Offline
Do you have "core/grep 2.5.3-3" and "core/sed 4.1.5-3" installed ?
Offline
Do you have "core/grep 2.5.3-3" and "core/sed 4.1.5-3" installed ?
Yes. I reinstalled that packages but nothing has changed.
Offline
wain wrote:Do you have "core/grep 2.5.3-3" and "core/sed 4.1.5-3" installed ?
Yes. I reinstalled that packages but nothing has changed.
The problem came from grep:
wget -q "http://aur.archlinux.org/packages.php?setlang=en&do_Search=SeB=nd&L=2&C=0&PP=100&K=pacman" -O - | grep -A 2 "<a href='/packages.php?ID="
should be like this: http://pastebin.com/de40b728
try to add -F like this:
wget -q "http://aur.archlinux.org/packages.php?setlang=en&do_Search=SeB=nd&L=2&C=0&PP=100&K=pacman" -O - | grep -A 2 -F "<a href='/packages.php?ID="
Offline
wget -q "http://aur.archlinux.org/packages.php?setlang=en&do_Search=SeB=nd&L=2&C=0&PP=100&K=pacman" -O - | grep -A 2 "<a href='/packages.php?ID="
wget -q "http://aur.archlinux.org/packages.php?setlang=en&do_Search=SeB=nd&L=2&C=0&PP=100&K=pacman" -O - | grep -A 2 -F "<a href='/packages.php?ID="
Both commands give the same and it looks like this.
I think that the problem is that the wget output has only one long line.
Last edited by kanpio (2008-08-23 16:34:04)
Offline
I know what may cause the problem. I use PCI express modem (via hsdpa). My provider (orange) uses Optimisation Service Node technology which modify the code of html files and compress images for faster download. I'll check on Monday if the problem occurs on another connection.
Offline
I know what may cause the problem. I use PCI express modem (via hsdpa). My provider (orange) uses Optimisation Service Node technology which modify the code of html files and compress images for faster download. I'll check on Monday if the problem occurs on another connection.
ok... I really don't know how to solve this problem from the yaourt's side
Offline
I know what may cause the problem. I use PCI express modem (via hsdpa). My provider (orange) uses Optimisation Service Node technology which modify the code of html files and compress images for faster download. I'll check on Monday if the problem occurs on another connection.
I was right. It's my ISP's fault. The problem doesn't occur on wireless or ethernet connection. wain, thanks for your help and good intentions.
Offline