[arch-general] Pacman cache directory
From /etc/pacman.conf:
CacheDir = /drawer/system/pacman/cache/pacman/pkg/ This is a convenient place to me as my root system is a not too large 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. google.com/+arnaudgabourygabx
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? It should be CacheDir = /var/cache/pacman/pkg/
This is a convenient place to me as my root system is a not too large 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.
google.com/+arnaudgabourygabx
If you have no free space, use pacman -Sc to clean the old versions or change it on another partition with enough disk space. What is abd?
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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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
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? pacman.conf). However, some AUR helpers do that. You (the OP) are the one who selected a directory (/drawer/system/pacman/cache/pacman/pkg/) which was in a temporary directory (/drawer/system/pacman->/tmp/asd-gabx/drawer/system/pacman/). With abd do you mean abs (Arch Build System)? To answer your question properly, we need more information on what you're trying to do and how (what tools (abd?), non-standard config files). Regards, João Miguel
Hi João, 2016-08-17 15:23 GMT-03:00 João Miguel via arch-general < arch-general@archlinux.org>:
With abd do you mean abs (Arch Build System)?
I believe he meant "and" like: "Pacman is working like a charm, but I would like to understand why AND by what the pacman directory is a symlink to a volatile dir?" Regards, Rafael Fontenelle
On Wed, Aug 17, 2016 at 8:23 PM, João Miguel via arch-general <arch-general@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.
You (the OP) are the one who selected a directory (/drawer/system/pacman/cache/pacman/pkg/) which was in a temporary directory (/drawer/system/pacman->/tmp/asd-gabx/drawer/system/pacman/).
With abd do you mean abs (Arch Build System)?
Typo from myself. Nothing to do with abd, sorry.
To answer your question properly, we need more information on what you're trying to do and how (what tools (abd?), non-standard config files).
Regards, João Miguel
-- google.com/+arnaudgabourygabx
On Wed, Aug 17, 2016 at 8:57 PM, arnaud gaboury <arnaud.gaboury@gmail.com> wrote:
On Wed, Aug 17, 2016 at 8:23 PM, João Miguel via arch-general <arch-general@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. [0]https://wiki.archlinux.org/index.php/Anything-sync-daemon -- google.com/+arnaudgabourygabx
On Wed, Aug 17, 2016 at 9:00 PM, arnaud gaboury <arnaud.gaboury@gmail.com> wrote:
On Wed, Aug 17, 2016 at 8:57 PM, arnaud gaboury <arnaud.gaboury@gmail.com> wrote:
On Wed, Aug 17, 2016 at 8:23 PM, João Miguel via arch-general <arch-general@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
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. Aah, so the «abd» was *not* a typo for «ABS» nor «and», it was «asd». See I would've never guessed that, in the future you should spell out such uncommon acronyms (in this case Anything Sync Daemon).
Glad that's sorted out, João Miguel
On Wed, Aug 17, 2016 at 6:17 PM, Alex Theotokatos via arch-general <arch-general@archlinux.org> wrote:
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?
It is my configuration to place the cache directory where I think it is best for my machine. Is it forbidden ?
It should be CacheDir = /var/cache/pacman/pkg/
The default is CacheDir = /var/cache/pacman/pkg/, that's different
This is a convenient place to me as my root system is a not too large 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.
google.com/+arnaudgabourygabx
If you have no free space, use pacman -Sc to clean the old versions or change it on another partition with enough disk space. What is abd?
-- google.com/+arnaudgabourygabx
participants (4)
-
Alex Theotokatos
-
arnaud gaboury
-
João Miguel
-
Rafael Fontenelle