You are not logged in.

#1 2013-11-02 09:42:06

oggio88
Member
Registered: 2013-09-10
Posts: 4

Yaourt package cache

I have a small LAN with three pc running arch linux, since my network connection is very slow, I set up a common package cache folder via NFS, changing CacheDir="Path_to_my_NFS_folder" in /etc/pacman.conf. In this way when I do a packge upgrade via pacman, before downloading a package, it checks in the shared folder whether the same package has been already downloaded by another pc and when available, it's installed directly from there. I would really like to be able to do the same thing for yaourt, I tried to modify /etc/yaourtrc with EXPORT=2 but in that way the packages built by yaourt go in /var/cache/pacman/pkg, even if that's not the pacman cache folder anymore. I tried with EXPORT=1 and EXPORTDIR="Path_to_my_NFS_folder" and in this way the package get copied to the cahe folder after having been built but they are subsequently ignored when I call yaourt -S

e.g.
yaourt -S catayst --> download the package from AUR, build the package, copy the packge to $EXPORTDIR and install
yaourt -R catalyst
yaourt -S catalyst -->download the package again from AUR, rebuild the package, copy the packge to $EXPORTDIR overwriting the previous package and reinstall

how can I persuade yaourt to install directly from EXPORTDIR if the package is already built and ready?

Offline

Board footer

Powered by FluxBB