You are not logged in.
I currently have two cachedirs in my /etc/pacman.conf
CacheDir = /mnt/pkgcache/ /var/cache/pacman/pkg/The first one is on my home server, mounted via ssh, the second one is local.
I expected this to work as following:
- if the package is on my home server, grab that, else download to my server
- if my home server is down, download to the local cachedir
The second part doesn't seem to work: if the server is down, I get an error about not being able to access remote directory.
Any way I could solve that?
On another computer running testing, I'd want pacman to behave as following:
- check if the package is available on the server, if yes, grab that
- always download to the local cachedir
Would reversing the order of the cache dirs to
CacheDir = /var/cache/pacman/pkg/ /mnt/pkgcache/achieve that?
[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]
Offline