You are not logged in.

#1 2007-02-12 03:24:09

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

having pacman use /tmp

Hi,
well I would like to configure pacman to use /tmp to download packages to and install from (btw, does pacman first untar and then copy all the files or does it unpack the package directly into the system?).
Can I configure that via some configuration file (can't find anything like that in /etc/pacman.conf) or would I have to link certain directories to /tmp? wink

thx in advance
Stefan

Last edited by hybrid (2007-02-12 03:27:08)

Offline

#2 2007-02-12 07:56:51

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: having pacman use /tmp

as to the cache_dir; you could always symlink them

export z=/var/cache/pacman/pkg;rm -R $z;ln -s /tmp $z

The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#3 2007-02-12 15:03:12

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: having pacman use /tmp

We just added a --cachedir option to pacman3, interesting that it was missing considering you could already specify the installation root and everything else on the command line.

Offline

#4 2007-02-12 16:18:18

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: having pacman use /tmp

Yeah, hybrid, thanks for this - you made me add it to pacman3.  For the record, though, pacman 3 accepts "CacheDir /blah" in the config file, so pacman 2 might as well (I could check the source later on).

Offline

Board footer

Powered by FluxBB