You are not logged in.
Pages: 1
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
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
Hum, but yaourt won't resume anyway...
João M. S. Silva
Offline
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
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
yaourt -R package (but don't remove the config, I'm looking also for that now ...)
English isn't my native langage
Offline
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
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
@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
Check "man yaourtrc", there is an option to copy packages into a specified directory after build.
Offline
Pages: 1