You are not logged in.

#1 2009-11-21 00:20:22

jmss
Member
From: Lisboa, Portugal
Registered: 2006-10-24
Posts: 42

yaourt (don't remove temporary files)

Hi,

Is there a way to make yaourt not remove temporary files, so that the build can be resumed if something happens during it?

I was installing octave-suitesparse, it took 1 or 2 h in my laptop to build and in the end yaourt said it conflicted with octave and now I have to make it all again...

Does yaourt, like pacman, allows for resuming?

Thanks.


João M. S. Silva

Offline

#2 2009-11-21 00:50:25

ploub
Member
Registered: 2007-05-16
Posts: 132

Re: yaourt (don't remove temporary files)

In your /etc/yaourtrc or /home/user/.yaourtrc set

TmpDirectory </where/you/want>
         Specify the folder to save tempory files (default is /tmp)

Your /tmp dir will get wiped when you shut down.

Offline

#3 2009-11-21 01:18:20

jmss
Member
From: Lisboa, Portugal
Registered: 2006-10-24
Posts: 42

Re: yaourt (don't remove temporary files)

Hum, but yaourt won't resume anyway...


João M. S. Silva

Offline

#4 2009-11-21 01:30:13

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: yaourt (don't remove temporary files)

Usually yaourt saves the compiled package somewhere and tells you the location in case you want to install it later.


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#5 2009-11-22 00:03:26

jmss
Member
From: Lisboa, Portugal
Registered: 2006-10-24
Posts: 42

Re: yaourt (don't remove temporary files)

Hum, that could be right.

But I do:

  locate octave-suitesparse

and get nothing.

For instance, I found the previous octave version in /var/cache/pacman/pkg/octave-3.2.3-1-i686.pkg.tar.gz but no sign of octave-suitesparse (because octave was installed by pacman and octave-suitesparse by yaourt?...)

Maybe I'll ask the yaourt developer...   ?


João M. S. Silva

Offline

#6 2009-11-22 00:19:42

spiky25
Member
Registered: 2009-09-29
Posts: 134

Re: yaourt (don't remove temporary files)

yaourt -R package (but don't remove the config, I'm looking also for that now ...)


English isn't my native langage

Offline

#7 2009-11-22 01:24:11

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: yaourt (don't remove temporary files)

Like ploub said you can edit /etc/yaourtrc to change the directory it works in TmpDirectory /home/user/yaourt

Or if you happen to mount /tmp as tmpfs so you can compile packages in ram then what i do is yaourt -S package name then once it's finished building the package and ask's if you want to install it say no, then it will say you package is stored in /tmp/yaourt-tmp......

Then i move the package to a folder in my home directory (or to /var/cache/pacman/pkg if you don't want to keep yaourt packages and pacman packages seperate) then do a pacman -U package name

That way if you upgrade to a new package and it has a bug you can just remove it and install the previous version
Packages don't seem to get added to pacman cache when you do a pacman -U so you will have to move them there your self

Last edited by guzz46 (2009-11-22 01:27:27)

Offline

#8 2009-11-22 01:44:55

owain
Member
Registered: 2009-08-24
Posts: 251

Re: yaourt (don't remove temporary files)

jmss wrote:

Hum, that could be right.

But I do:

  locate octave-suitesparse

and get nothing.

Try running 'sudo updatedb' first, to update the database used by locate.

Offline

#9 2010-05-20 19:00:32

SiegeMachine
Member
Registered: 2009-03-26
Posts: 157

Re: yaourt (don't remove temporary files)

@guzz46
I had been wondering about that, so it seems the only way to save the built packages that yaourt makes from the aur is to manually save them in case you need to roll back?

Offline

#10 2010-05-20 19:05:59

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: yaourt (don't remove temporary files)

Check "man yaourtrc", there is an option to copy packages into a specified directory after build.

Offline

Board footer

Powered by FluxBB