You are not logged in.

#1 2010-10-26 22:19:02

thisab
Member
From: Brazil
Registered: 2008-04-04
Posts: 10

Yaourt doesn't work with AUR anymore

All of a sudden whatever I search with "yaourt -Ss something" no aur packages appear.

I also tried "package-query -A" it just returns a blank line..

Everything else works. -Syu  -Su etc. And my network connection is fine.

What could be the problem?

Offline

#2 2010-10-26 22:28:25

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: Yaourt doesn't work with AUR anymore

You should read this: aur website default ssl
Until it's fixed in yaourt, you can use another AUR helper such as cower, slurpy or packer.

Offline

#3 2010-10-27 00:09:49

shemz
Member
Registered: 2010-04-23
Posts: 135

Re: Yaourt doesn't work with AUR anymore

Its fixed already. I just upgraded package-query and yaourt, and everything started working again.

Offline

#4 2010-10-27 02:10:44

thisab
Member
From: Brazil
Registered: 2008-04-04
Posts: 10

Re: Yaourt doesn't work with AUR anymore

confirmed, its fixed. That was fast smile

Offline

#5 2010-10-27 10:18:23

swiftscythe
Member
Registered: 2009-04-28
Posts: 131

Re: Yaourt doesn't work with AUR anymore

While the AUR package isn't updated, you can download yaourt and package-query from here:
http://repo.archlinux.fr/$arch

Offline

#6 2010-10-27 11:07:08

akurei
Member
From: Bochum, NRW, Germany
Registered: 2009-05-25
Posts: 152
Website

Re: Yaourt doesn't work with AUR anymore

swiftscythe wrote:

While the AUR package isn't updated, you can download yaourt and package-query from here:
http://repo.archlinux.fr/$arch

Just use package-query-git from AUR:

rm -rf /tmp/lol/ && mkdir -p /tmp/lol/ && cd /tmp/lol/ && wget https://aur.archlinux.org/packages/package-query-git/package-query-git/PKGBUILD && makepkg -fi && rm -rf /tmp/lol/

Offline

#7 2010-10-27 16:03:37

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Yaourt doesn't work with AUR anymore

swiftscythe wrote:

While the AUR package isn't updated, you can download yaourt and package-query from here:
http://repo.archlinux.fr/$arch

I confirm that that works.

Jay

Offline

#8 2010-10-27 17:18:17

silent
Member
Registered: 2008-08-05
Posts: 57

Re: Yaourt doesn't work with AUR anymore

.

Last edited by silent (2013-08-21 08:45:36)

Offline

#9 2010-10-27 18:08:58

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Yaourt doesn't work with AUR anymore

silent wrote:

When I run "yaourt -Syu --aur" it no longer shows all the installed packages from AUR, just counting in one line "Foreign packages: / 37 / 37". Is this normal?

It appears that yaourt has been considerably rewritten. There is no AUR package listing here anymore as well. Frankly, I do miss it.

Also the yaurtrc configuration appears to have changed. And the colors module in /usr/lib/yaourt/color.sh is totally rewritten. Unfortunate because previously I adapted the colors to a better readable light background terminal display. These changes are not valid anymore, pitifully.

Last edited by bernarcher (2010-10-27 18:10:10)


To know or not to know ...
... the questions remain forever.

Offline

#10 2010-10-27 18:38:27

tuxce
Member
Registered: 2008-02-19
Posts: 56
Website

Re: Yaourt doesn't work with AUR anymore

For the old output, you can have a similar one with

yaourt -Qma

About colors, I think, it's easier to set some user defined color with the new version:

YAOURT_COLORS="core=1;36" yaourt -Ss pacman

see man package-query, section environment var to have the list of keys.

Offline

#11 2010-10-27 20:43:27

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Yaourt doesn't work with AUR anymore

@tuxce
Thanks for the explanation. I do now export my custom YAOURT_COLORS definitions in ~/.bashrc.

And, just to be clear, "yaourt -Qma" only lists the currently installed AUR packages. Upgrading needs "yaourt -Syu --aur" of course which lists the counts only. But I can live with this.


To know or not to know ...
... the questions remain forever.

Offline

#12 2010-10-27 22:26:18

mangus
Member
From: Bologna, Italy
Registered: 2007-04-07
Posts: 289

Re: Yaourt doesn't work with AUR anymore

bernarcher wrote:

@tuxce
But I can live with this.

me not. Can we have back the old behaviour? tongue

Offline

#13 2010-10-27 23:20:25

tuxce
Member
Registered: 2008-02-19
Posts: 56
Website

Re: Yaourt doesn't work with AUR anymore

The old code was not removed, you can revert the change by replacing

    DETAILUPGRADE=0 classify_pkg $(pacman -Qqm | wc -l)< <(eval $cmd)

by

    classify_pkg < <(eval $cmd)

in /usr/lib/yaourt/abs.sh, line 196

in future release, I will see to add an additional variable to switch between the two behaviors (me, I don't like all the detailled progression smile)

Last edited by tuxce (2010-10-27 23:32:20)

Offline

#14 2010-10-28 23:04:10

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 163
Website

Re: Yaourt doesn't work with AUR anymore

I vote for the old bahaviour, with detailed progression. In such a way I can watch and control packages from AUR.

Offline

#15 2010-11-08 07:24:58

zivziv
Member
From: Florida, USA
Registered: 2010-02-05
Posts: 49
Website

Re: Yaourt doesn't work with AUR anymore

tuxce,

Meanwhile, yaourt 0.9.5.1 has been released, and I can't see anything like

DETAILUPGRADE=0 classify_pkg $(pacman -Qqm | wc -l)< <(eval $cmd)

to be replaced any more. But I want my list of AUR packages back!
What should I do?

Last edited by zivziv (2010-11-08 07:25:18)

Offline

#16 2010-11-10 12:28:12

hanlin
Member
Registered: 2010-05-14
Posts: 21

Re: Yaourt doesn't work with AUR anymore

You can now set it in the /etc/yaourtrc file. Set DETAILUPGRADE=2

Offline

#17 2010-11-10 13:06:02

zivziv
Member
From: Florida, USA
Registered: 2010-02-05
Posts: 49
Website

Re: Yaourt doesn't work with AUR anymore

hanlin wrote:

You can now set it in the /etc/yaourtrc file. Set DETAILUPGRADE=2

It works, thanks!

Offline

#18 2010-11-10 14:21:56

Chrysalis
Member
Registered: 2008-07-07
Posts: 155

Re: Yaourt doesn't work with AUR anymore

While you are at it can we have an option to change "-G" the way it was (dropping files in current dir)?  I am tired of copying things back. I already have a dir tree, i dont need it creating subdirs.

Offline

Board footer

Powered by FluxBB