You are not logged in.

#201 2007-12-14 01:23:36

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: yaourt: pacman frontend

Use srcpac for that.


1000

Offline

#202 2007-12-14 13:48:59

Fatsobob
Member
From: Colorado
Registered: 2006-06-27
Posts: 126

Re: yaourt: pacman frontend

Maybe I am not looking in the right place, but whats up with yaourt renaming whatever terminal you have open xterm when it finishes it's operation?

Offline

#203 2007-12-14 19:56:05

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

emphire wrote:

Is there a way to compile/install a package from abs (not aur) from yaourt?  I thought -Sb might do it, but it looks like I'm wrong.

ex.

$ yaourt -Sb computertemp
==> Downloading computertemp PKGBUILD from AUR...
Error: computertemp not found in AUR.

$ find /var/abs/ -name computertemp
/var/abs/community/gnome/computertemp

It works great for me:

yaourt -Sb computertemp
==> Building computertemp from sources
==> Searching Community AUR page for computertemp
Version 1.4.1

      Last Updated: Fri, 09 Nov 2007 12:01:05 +0000
  First Submitted: Sun, 11 Jun 2006 03:01:01 +0000

==> Retrieving PKGBUILD and local sources...
   -> Downloading ChangeLog in build dir
--20:52:59--  http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/gnome/computertemp/ChangeLog?rev=1.2&cvsroot=AUR
           => `ChangeLog'
Resolving cvs.archlinux.org... 66.211.213.17
Connecting to cvs.archlinux.org|66.211.213.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]

    [ <=>                                 ] 166           --.--K/s             

20:53:00 (21.56 MB/s) - `ChangeLog' saved [166]

   -> Downloading PKGBUILD in build dir
--20:53:00--  http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/gnome/computertemp/PKGBUILD?rev=1.12&cvsroot=AUR
           => `PKGBUILD'
Resolving cvs.archlinux.org... 66.211.213.17
Connecting to cvs.archlinux.org|66.211.213.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]

    [ <=>                                 ] 1,141         --.--K/s             

20:53:00 (270.57 KB/s) - `PKGBUILD' saved [1141]

   -> Downloading computertemp.install in build dir
--20:53:00--  http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/gnome/computertemp/computertemp.install?rev=1.4&cvsroot=AUR
           => `computertemp.install'
Resolving cvs.archlinux.org... 66.211.213.17
Connecting to cvs.archlinux.org|66.211.213.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]

    [ <=>                                 ] 300           --.--K/s             

20:53:01 (35.09 MB/s) - `computertemp.install' saved [300]

==> computertemp 0.9.6.1-3 
no configuration found for computertemp in /etc/customizepkg.d/

==> computertemp dependencies:
 - gnome-panel (already installed)
 - gnome-python-desktop (already installed)
 - hddtemp (package found)
 - gconf (already installed)
 - intltool (already installed)
 - gnome-doc-utils (already installed)
==>  Edit the PKGBUILD ? [y/N] ("A" to abort)
==>   ----------------------------------------------
==>

yaourt + customizepkg are better than srcpac wink

Offline

#204 2007-12-14 19:59:05

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

Fatsobob wrote:

Maybe I am not looking in the right place, but whats up with yaourt renaming whatever terminal you have open xterm when it finishes it's operation?

2 solutions:
- set  UpdateTerminalTitle to "no" in yaourtrc  (man yaourtrc)
- add dynamic title in your bashrc file:

PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"

Offline

#205 2007-12-14 19:59:35

Thrillhouse
Member
From: Arlington, VA, USA
Registered: 2007-05-29
Posts: 175

Re: yaourt: pacman frontend

Fatsobob wrote:

Maybe I am not looking in the right place, but whats up with yaourt renaming whatever terminal you have open xterm when it finishes it's operation?

I've run into this issue as well.

Still love yaourt, though.  Good job.


For the strength of the pack is the wolf, and the strength of the wolf is the pack.

Offline

#206 2007-12-14 20:25:59

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

Re: yaourt: pacman frontend

wain wrote:

It works great for me:

yaourt -Sb computertemp
...

yaourt + customizepkg are better than srcpac wink

Sorry, I had a mis-configured pacman.conf.  Works like a charm.  Thanks!

Offline

#207 2008-01-13 01:48:29

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: yaourt: pacman frontend

hi wain,
new yaourt with new pacman release seems to ignore the IgnorePkg entry in pacman.conf.

vlad

Offline

#208 2008-01-13 09:40:38

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: yaourt: pacman frontend

DonVla wrote:

hi wain,
new yaourt with new pacman release seems to ignore the IgnorePkg entry in pacman.conf.

vlad

Did you try with pacman first? The behavior has changed slightly.
The IgnorePkg entries are ignored when you explicitly ask for the targets (IgnorePkg is more useful
when the targets are implicit : either pulled dependencies, or with -Su operation).


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#209 2008-01-13 13:21:15

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

DonVla wrote:

hi wain,
new yaourt with new pacman release seems to ignore the IgnorePkg entry in pacman.conf.

vlad

You are right, yaourt find ignorepkg by parsing "pacman --debug" output.

This output has change in pacman 3.1.

pacman 3.0 wrote:

debug: config: ignorepkg: kernel26

debug: config: IgnorePkg: kernel26

pacman 3.1 wrote:

debug: config: IgnorePkg: kernel26

Problem fixed in next release ;)

other known problem:
- searching for orphans give wrong output (see http://bugs.archlinux.org/task/9144)

Offline

#210 2008-01-13 13:27:53

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: yaourt: pacman frontend

wain wrote:

You are right, yaourt find ignorepkg by parsing "pacman --debug" output.

Ohh, that's odd. Just curious, why does it need to do that?
And what does yaourt do with IgnorePkg entries?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#211 2008-01-13 13:47:11

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

shining wrote:
wain wrote:

You are right, yaourt find ignorepkg by parsing "pacman --debug" output.

Ohh, that's odd. Just curious, why does it need to do that?
And what does yaourt do with IgnorePkg entries?

Some users use multiple Include=/file to split  pacman.conf. Instead of parsing all this files in bash (the case in firsts yaourt's releases), I let pacman doing that.
yaourt has to know ignorepkg when upgrading packages from AUR (yaourt -Su --aur) smile

Offline

#212 2008-01-13 14:21:20

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: yaourt: pacman frontend

wain wrote:

Some users use multiple Include=/file to split  pacman.conf. Instead of parsing all this files in bash (the case in firsts yaourt's releases), I let pacman doing that.
yaourt has to know ignorepkg when upgrading packages from AUR (yaourt -Su --aur) smile

Ah ok, thanks for the clarification.
The parsing of pacman.conf for external tools might not be ideal though tongue


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#213 2008-01-14 09:11:56

Shirakawasuna
Member
Registered: 2007-03-09
Posts: 94

Re: yaourt: pacman frontend

With 0.8.8, there's still an issue with installing dependencies of aur packages which are in the repos.  What I mean by this is if I install btanks from the aur and it needs to install lua, I will get this message after btanks has compiled: "Do you want to remove these packages? [Y/n]", with lua as the listed package.  pacman 3.1.0, which was just released in [core], can now use --asdeps to avoid problems with these kinds of things, and I just wanted to give a friendly reminder.

Thanks!

Offline

#214 2008-01-14 09:43:14

bionnaki
Member
Registered: 2006-09-05
Posts: 289

Re: yaourt: pacman frontend

yaourt isnt accepting my passwords after the upgrade...

Offline

#215 2008-01-14 10:16:15

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: yaourt: pacman frontend

Password_s_? It should be using sudo which uses your normal login pw.


1000

Offline

#216 2008-01-14 10:49:54

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: yaourt: pacman frontend

bionnaki wrote:

yaourt isnt accepting my passwords after the upgrade...

same here

EDIT: added my name to the sudoers file with visudo, and it works now big_smile

Last edited by ibendiben (2008-01-14 12:12:05)

Offline

#217 2008-01-16 21:09:35

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: yaourt: pacman frontend

hello wain,
i've discovered the --asdeps flag for pacman (installs packages and flags them as dependency for another package).
does the new version of yaourt use this flag for installing aur dependencies?

vlad

Offline

#218 2008-01-16 21:12:07

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

DonVla wrote:

hello wain,
i've discovered the --asdeps flag for pacman (installs packages and flags them as dependency for another package).
does the new version of yaourt use this flag for installing aur dependencies?

vlad

Hi DonVla,

Yes yaourt use --asdeps since 0.8.8.

Offline

#219 2008-01-16 21:31:16

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: yaourt: pacman frontend

thanks wain!
and how did you manage this for packages installed (and built) as deps from aur? does yaourt "remember" the installing order?

vlad

Last edited by DonVla (2008-01-16 21:33:17)

Offline

#220 2008-01-16 21:33:37

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

DonVla wrote:

thanks wain!
and how did you manage this for packages installed as deps from aur? does yaourt "remember" the installing order?

vlad

not for the moment. --asdeps is only used whith makepkg to build the package, but that's on my TODOLIST big_smile

Offline

#221 2008-01-28 11:39:47

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: yaourt: pacman frontend

noticed something:

[root@ibendiben-pc ibendiben]# pacman -Si extra/jre
Repository     : extra
Name           : jre
Version        : 6u3-2
URL            : None
Licenses       : None
Groups         : None
Provides       : j2re  java-runtime  
Depends On     : gcc  glibc  libstdc++5  
Optional Deps  : None
Conflicts With : j2re  java-runtime  
Replaces       : j2re  
Download Size  : 36815,63 K
Installed Size : 36815,63 K
Packager       : None
Architecture   : None
Build Date     : None
MD5 Sum        : 84fe22719647ba57419275940399cbd8
Description    : Sun's java runtime environment

[root@ibendiben-pc ibendiben]# yaourt -Si extra/jre
extra/jre not found in repos nor in AUR
[root@ibendiben-pc ibendiben]# yaourt -Si aur/tupac
aur/tupac not found in repos nor in AUR
[root@ibendiben-pc ibendiben]# yaourt -S aur/tupac <-----works!

Would this be hard to fix?

Offline

#222 2008-01-28 12:30:48

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

ibendiben wrote:

Would this be hard to fix?

No, it's already done. Can you wait for the next release ?

Otherwise download this (same as yaourt 0.8.9 + this fix): http://archiwain.free.fr/yaourt/yaourt

Offline

#223 2008-01-28 15:03:59

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: yaourt: pacman frontend

ah thanks smile
Another question:
Is the --nocolor option meant to not-output those codes:
yaourt --nocolor -Si aur/tupac >/tmp/test; kwrite /tmp/test:

]0;yaourt: Searching info on AUR for tupacRepository    : AUR Unsupported
Name        : tupac
Version        : 0.5.1.2-1
url        : http://lapacaloca.com/arch/pajman
Provides    : None
Depends On    : pacman yaourt php libxml2
Conflicts With    : None
Replaces    : None
Description    : A cached pacman implementation that boosts some pacman operations: faster searches, AND searches, aur support, colored output, system sanity check, frontend friendly and more...
Last update    : 2008-01-28 01:22

(B[m]0;xterm(B[m

I'd like to have yaourt ouput just the descriptions so I can pipe them to a dialog... (tupac frontend)
It would cost me some code...

Also I wanted to ask why there are so many spaces in yaourts output. I find them a bit annoying cause I have to scroll up all the time to read all messages. There are a lot of empty spaces that aren't needed. Lastly could you explain why you choose to have yaourt react immediately at users imput. I'd prefer having to hit return after awnsering a question... sometimes you hit the wrong button and: %#@& smile. Same thing could count for yaourt -S <package>. pacman normally asks for a confirmation on displaying all targetpackages, before actually installing them... I like that.

Offline

#224 2008-01-28 18:40:19

wain
Member
From: France
Registered: 2005-05-01
Posts: 289
Website

Re: yaourt: pacman frontend

ibendiben wrote:

Also I wanted to ask why there are so many spaces in yaourts output. I find them a bit annoying cause I have to scroll up all the time to read all messages. There are a lot of empty spaces that aren't needed. Lastly could you explain why you choose to have yaourt react immediately at users imput. I'd prefer having to hit return after awnsering a question... sometimes you hit the wrong button and: %#@& smile. Same thing could count for yaourt -S <package>. pacman normally asks for a confirmation on displaying all targetpackages, before actually installing them... I like that.

yaourt is built to be very fast !  not "fast" as tupac with complex cache system (I find this useless) but fast for the final user with functions like interactiv search. I like colors and clean output with additional informations and many space lines and I like to press less possible keys. That's why I choose this behaviour for yaourt.
But it's easy to implement an option to use classic behaviour "Press enter to valid" for the next release.
Look at http://bugs.archlinux.fr/index.php?do=d … task_id=99

--nocolor switch is a bit crapy (because I prefer colors). It will be fixed too:
http://bugs.archlinux.fr/index.php?do=d … task_id=98

Offline

#225 2008-01-28 21:34:01

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: yaourt: pacman frontend

That'd be great thank you cool

Offline

Board footer

Powered by FluxBB