You are not logged in.

#1 2012-01-31 02:18:35

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

By default a diferent folder to cache of pacman

I try understand if it's possible.

I've installed arch with a 10Gb partition, and  now I'm having troubles with free space. There's some way that could I use change default place of pacman's cache?

It'll be in /home/user folder. I've created a folder there....but, I forget use the "default dir option" on pacman.

Another issue.... does yaourt will use the same folder to?

Offline

#2 2012-01-31 02:21:49

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,493
Website

Re: By default a diferent folder to cache of pacman

Look in pacman.conf...

Offline

#3 2012-01-31 02:28:40

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: By default a diferent folder to cache of pacman

oh yeah..... Just look close......

no problem doing this? does arch won't be "confused"?

Offline

#4 2012-01-31 11:52:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: By default a diferent folder to cache of pacman

pacman devs explicitly created an option to do this, so I think pacman can handle it.

Look in yaourt's config and man page to find out how it works.

Offline

#5 2012-01-31 12:01:58

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,493
Website

Re: By default a diferent folder to cache of pacman

I use that option in all my installs, so it works...    No idea what yaourt will do, but given it is a wrapper to pacman, it should work too.

Offline

#6 2012-01-31 12:06:52

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: By default a diferent folder to cache of pacman

Allan wrote:

No idea what yaourt will do, but given it is a wrapper to pacman, it should work too.

It will not store the .xz files created my makepkg in the pacman cache. It puts them into /tmp, where they are safe…

Offline

#7 2012-01-31 12:11:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: By default a diferent folder to cache of pacman

Awebb wrote:
Allan wrote:

No idea what yaourt will do, but given it is a wrapper to pacman, it should work too.

It will not store the .xz files created my makepkg in the pacman cache. It puts them into /tmp, where they are safe…

It will store them where you tell it to store ...

Offline

#8 2012-01-31 13:55:24

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: By default a diferent folder to cache of pacman

Yeah, sure. I should have added "if you only specify the location in the pacman.conf and not in yaourt's config file".

Offline

#9 2012-01-31 13:57:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: By default a diferent folder to cache of pacman

makepkg has its own config file.

Offline

#10 2012-01-31 14:56:03

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: By default a diferent folder to cache of pacman

okay.... thanks so much pals
solved by while

Offline

Board footer

Powered by FluxBB