[arch-general] Pacman cache directory

arnaud gaboury arnaud.gaboury at gmail.com
Wed Aug 17 19:39:30 UTC 2016


On Wed, Aug 17, 2016 at 9:00 PM, arnaud gaboury
<arnaud.gaboury at gmail.com> wrote:
> On Wed, Aug 17, 2016 at 8:57 PM, arnaud gaboury
> <arnaud.gaboury at gmail.com> wrote:
>> On Wed, Aug 17, 2016 at 8:23 PM, João Miguel via arch-general
>> <arch-general at archlinux.org> wrote:
>>> A 2016-08-17T19:17:43 +0300, Alex Theotokatos via arch-general escreveu:
>>>> On 08/17/2016 02:32 PM, arnaud gaboury via arch-general wrote:
>>>> > > From /etc/pacman.conf:
>>>> >
>>>> > CacheDir    = /drawer/system/pacman/cache/pacman/pkg/
>>>> Where did you found this line?
>>> Ahm... (see below)
>>>> It should be
>>>> CacheDir  = /var/cache/pacman/pkg/
>>>>
>>>> >
>>>> > This is a convenient place to me as my root system is a not too large
>>> Here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>
>>> Why not make /var a separate filesystem (and even /var/{cache,log} etc.
>>> if necessary), as traditional, instead of creating a new directory in /,
>>> only to get programs confused and to have to create weird
>>> configurations?
>> That's in fact one convenient solution. Will may be go this way as I
>> don't like this symlink I don't understand.
>>
>>>> > SSD. When doing some cleaning on my machines, I found this:
>>>> >
>>>> > $ ls -al /drawer/system
>>>> > .....
>>>> > lrwxrwxrwx  1 gabx users   34 Aug 12 21:10 pacman ->
>>>> > /tmp/asd-gabx/drawer/system/pacman/
>>>> >
>>>> > Pacman is working like a charm, but I would like to understand why abd
>>>> > by what the pacman directory is a symlink to a volatile dir?
>>>> >
>>>> > Thank you for any hints on how investigate.
>>
>>> I have never heard of pacman keeping packages in temporary directories
>>> (not even after a quick search in the AW and manual pages for pacman and
>>> pacman.conf). However, some AUR helpers do that.
>
> Well, I found Anything-sync-daemon[0] is at the origin of this
> symlink. Will investigate deeper this daemon. I am quite sure I
> misconfigured it.

The drawer/system/pacman is indeed in my /etc/asd.conf. This is then
not an error and has nothing to do with choosing a non default folder
to contain my pacman packages.

>
>
>
> [0]https://wiki.archlinux.org/index.php/Anything-sync-daemon
>


-- 

google.com/+arnaudgabourygabx


More information about the arch-general mailing list