You are not logged in.

#251 2008-03-15 13:31:03

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

Re: yaourt: pacman frontend

hello wain,

nice release, though some confusion here:
yaourt --stats shows:

-----------------------------------------------
Theorical space used by installed packages: 3492Mo                               
Real space used by installed packages: 2335Mo

why this difference?

vlad

Offline

#252 2008-03-15 14:02:25

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

Re: yaourt: pacman frontend

DonVla wrote:

hello wain,

nice release, though some confusion here:
yaourt --stats shows:

-----------------------------------------------
Theorical space used by installed packages: 3492Mo                               
Real space used by installed packages: 2335Mo

why this difference?

vlad

thanks ;)
- Theorical space uded by package is the size return by .PKGINFO (pacman -Qi <pkg>)
- Real space is the one calculated by adding the size of each file provided by pkg (pacman -Ql <pkg>) returned by "du".
Depending the blocksize of the filesystem you use, or if you run 'localepurge' sometimes, it could make a big difference.
I'm sure this method of counting can be improved because I'm not a specialist of 'du'.

Last edited by wain (2008-03-15 14:02:56)

Offline

#253 2008-03-16 14:48:57

hybrid
Member
Registered: 2007-02-05
Posts: 261

Re: yaourt: pacman frontend

That's funny, I was gonna ask the same thing. I guess I would have expected the real disk space usage to be higher than the theoretical one and I too was surprised, when yaourt reported the real usage to be less (2843Mo vs. 2142Mo).

Great release though, thanks for adjusting -Qdt behaviour to match pacman's behaviour again and thanks for reviving pacstats. :>
If that fricken regression bug (8905) in pacman is getting fixed then I'd be a happy camper again (finally things would be working again as they were before pacman3).

Offline

#254 2008-03-18 00:30:51

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: yaourt: pacman frontend

Just wondering, when it asks something like 'previous build of .. detected, do you want to use it (faster..)?' what that really mean? It just creates a new package of the current build of something like from *-svn inside the folder anyway right. Whats the difference between answering yes or no to the question, because even if i say yes it has to create a new package, does it mean something about the source files?

Offline

#255 2008-03-18 03:02:13

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: yaourt: pacman frontend

You have a folder meant for compiling your own packages, /var/abs/local. Yaourt creates a directory called yaourtbuild in it and compiles all packages from AUR in there. Old svn/git/whatever source trees are stored there and if you choose to use these previous builds, not the whole tree has to be imported, but only the changes, therefore saving bandwidth, speeding up the downloading process and thus the total build time.

Last edited by mutlu_inek (2008-03-18 03:02:59)

Offline

#256 2008-04-10 06:26:46

Purch
Member
From: Finland
Registered: 2006-02-23
Posts: 229

Re: yaourt: pacman frontend

Hi, I started using yaourt some time ago. One language thing keeps irritating me is the message language. Could it be possible to read LC_MESSAGES for used language. Now I have english and finnish in yaourt output.

$ locale
LANG=fi_FI.utf8
LC_CTYPE=fi_FI.utf8
LC_NUMERIC=fi_FI.utf8
LC_TIME=fi_FI.utf8
LC_COLLATE=fi_FI.utf8
LC_MONETARY=fi_FI.utf8
LC_MESSAGES=en_US.utf8
LC_PAPER=fi_FI.utf8
LC_NAME=fi_FI.utf8
LC_ADDRESS=fi_FI.utf8
LC_TELEPHONE=fi_FI.utf8
LC_MEASUREMENT=fi_FI.utf8
LC_IDENTIFICATION=fi_FI.utf8
LC_ALL=

Last edited by Purch (2008-04-10 06:27:07)

Offline

#257 2008-04-10 18:03:48

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

Re: yaourt: pacman frontend

As you kown, for some basic operation like install or remove package, yaourt just acts as a pacman wrapper.
Actually, yaourt just supports itself english language. Since pacman 3.0 (with multi-language support), yaourt runs pacman in your native language when it's possible. Supporting multiple languages in yaourt (with gettext) is not a priority for me, but if you want, I can add an option to force the output in english.

Offline

#258 2008-04-11 09:54:08

Purch
Member
From: Finland
Registered: 2006-02-23
Posts: 229

Re: yaourt: pacman frontend

I forgot that it was not the pacman, but actually it is wget and fakeroot/makepkg that print messages in finnish. Compiling manually (makepkg) and using wget results only english messages in my console.

ctrl-c during yaourt -S --aur smplayer

/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I.moc -I.ui -o .obj/basegui.o basegui.cpp
make[1]: *** Poistetaan tiedosto ".obj/basegui.o"
make[1]: *** [.obj/basegui.o] Keskeytys
make: *** [src/smplayer] Keskeytys
/usr/bin/fakeroot: line 168: kill: (1903) - Prosessia ei ole

==> ERROR: Aborted by user! Exiting...
Error: Makepkg was unable to build smplayer package.

Offline

#259 2008-04-11 17:11:32

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

Re: yaourt: pacman frontend

Purch wrote:

I forgot that it was not the pacman, but actually it is wget and fakeroot/makepkg that print messages in finnish. Compiling manually (makepkg) and using wget results only english messages in my console.

This is exactly the same behaviour as for pacman. I can force makepkg to speak english if you want.

Offline

#260 2008-04-11 17:50:42

Purch
Member
From: Finland
Registered: 2006-02-23
Posts: 229

Re: yaourt: pacman frontend

I would like that, thanks.

Offline

#261 2008-04-24 00:35:23

aRcHaTe
Member
Registered: 2006-10-24
Posts: 646

Re: yaourt: pacman frontend

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...


Its a sick world we live in....

Offline

#262 2008-04-24 00:41:48

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: yaourt: pacman frontend

aRcHaTe wrote:

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...

It uses the CVS repository, I guess. I've noticed that new packages have appeared, yet the CVS repository shows no changes.

Offline

#263 2008-04-25 02:31:07

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: yaourt: pacman frontend

Wain, I am using ccache since I (re)compile large programs quite regularly. The downside of using packages from the AUR is that to not have the cached (they are too many and fill more of the cache than I would like them to), I need to edit every single PKGBUILD. Is there a way to generally disable ccache specifically for yaourt? That would solve my issues by doing it once.

Offline

#264 2008-04-25 13:31:11

autonymous
Member
Registered: 2008-02-24
Posts: 31

Re: yaourt: pacman frontend

Feature Request: ( I couldn't put this on the archlinux.fr website, because I don't speak French. Sorry)

/etc/yaourtrc has an option for "ExportToLocalRepository /blah/blah/blah" < --- This is good.
BUT!
When I use yaourt to create a package, what yaourt does it creates the source build directory and the package file like this:

/blah/blah/blah
       |
      - sourcedir (pkgname)
      - pkgname.vers.pkg.tar.gz

What I'd like to see happen (if its possible) is an extra configuration option to separate the build dir and the package destination
(essentially for yaourt to honor what is set in the /etc/makepkg.conf settings)
So, when I use yaourt to build a package, I can do this:

/blah/blah/blah
    |
    - builddir
    |   |
    |    - pkgname.dir
    |
    - pkgsdir
        |
      - pkgname.vers.pkg.tar.gz

Does that make sense to anyone besides me?

Offline

#265 2008-04-25 17:55:02

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

Re: yaourt: pacman frontend

mutlu_inek wrote:

Wain, I am using ccache since I (re)compile large programs quite regularly. The downside of using packages from the AUR is that to not have the cached (they are too many and fill more of the cache than I would like them to), I need to edit every single PKGBUILD. Is there a way to generally disable ccache specifically for yaourt? That would solve my issues by doing it once.

that seems to me justified and realizable. Added to my todolist cool


@autonymous: ExportToLocalRepository has been done like this to be compatible with the old gensync. Now with repo-add, the "sourcedir" is not required anymore and maybe this option should evolve ?
1. completly remove ExportToLocalRepository (and use only PKGDEST from makepkg.conf)
2. split ExportToLocalRepository in two seperate options: ExportPkgTo and ExportSrcTo
I don't have really an opinion roll

Offline

#266 2008-04-26 03:05:31

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: yaourt: pacman frontend

wain wrote:

that seems to me justified and realizable. Added to my todolist

You are awesome! Thanks again for this great piece of software! smile

Offline

#267 2008-05-01 05:03:23

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: yaourt: pacman frontend

Recently after upgrading I have a problem where yaourt cannot find packages in ABS.

 $ yaourt -Sb nvidia
==> Building nvidia from sources
nvidia was not found on abs

I am running testing
Any ideas on how to solve this?


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#268 2008-05-01 05:44:08

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

Re: yaourt: pacman frontend

kishd wrote:

Recently after upgrading I have a problem where yaourt cannot find packages in ABS.

 $ yaourt -Sb nvidia
==> Building nvidia from sources
nvidia was not found on abs

I am running testing
Any ideas on how to solve this?

This is due to migration from CVS to SVN (see repos.archlinux.org). You can give a try to this yaourt's release (git):

git clone http://projects.archlinux.fr/yaourt.git yaourt
cd yaourt/test
makepkg -i

Last edited by wain (2008-05-01 05:44:56)

Offline

#269 2008-05-01 07:24:46

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: yaourt: pacman frontend

Works like a charm. Thank you Wain


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#270 2008-05-03 14:28:30

furester
Member
From: italy
Registered: 2004-12-22
Posts: 25
Website

Re: yaourt: pacman frontend

there is a little problem in version control: if I installed yaourt-0.9.1-1 I suppose that is newer than yaourt-0.9-2, while yaourt asks me if I want to update .. I notice this problem now because I compiled yaourt from git to use new AUR (new) support.

Offline

#271 2008-05-03 14:32:52

furester
Member
From: italy
Registered: 2004-12-22
Posts: 25
Website

Re: yaourt: pacman frontend

Feature Request:

a method to pass sudo passphrase so when we run yaourt -Syu --aur --noconfirm it could compile and install all programs while I go to drink some cofee wink even if sudo password timeout occurs!

Offline

#272 2008-05-08 18:17:23

Zer0
Member
From: Windsor, ON, Canada
Registered: 2006-08-25
Posts: 299

Re: yaourt: pacman frontend

Possible Bug?  Yaourt v0.9-2

I tired to grab up core/gettext but yaourt fails with this error message.  pacman & pacman-color work as expected and download it just fine.

yaourt -Sy gettext
:: Synchronizing package databases...
==> Installing from a list of a packages (gettext)
cat: gettext: No such file or directory

Thanks Wain

Offline

#273 2008-05-09 15:28:04

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

Re: yaourt: pacman frontend

Zer0 wrote:

Possible Bug?  Yaourt v0.9-2

Sure, it's a bug.
You can found a fix by using the git release:

git clone http://projects.archlinux.fr/yaourt.git yaourt
cd yaourt/test
makepkg -i

Offline

#274 2008-05-12 21:20:36

tomato
Member
Registered: 2007-09-20
Posts: 72

Re: yaourt: pacman frontend

found a bug

for some reason yaourt does not work with proxys needing authorisation (i have http_proxy set up in /etc/profile, so it's kind of weird...)

does it use special runtime environment (eg a different user?) for downloading?


sorry for my miserable english, it's my third language ; )

Offline

#275 2008-05-13 01:39:21

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: yaourt: pacman frontend

AFAIK that is not related to yaourt directly, but to pacman. The config file pacman.conf supports proxy using these variables:

ProxyServer = proxy.server.com
ProxyPort = 1111

But proxy authentication is not supported. You can work around this by specifying the download manager, that is by setting the "XferCommand=" line in the same file. Yaourt should honor these settings since it calls pacman.

Offline

Board footer

Powered by FluxBB