FS#70916 - Get realpath of cache directory
Attached to Project:
Pacman
Opened by Allan McRae (Allan) - Monday, 17 May 2021, 06:59 GMT
Last edited by Allan McRae (Allan) - Friday, 23 December 2022, 13:31 GMT
Opened by Allan McRae (Allan) - Monday, 17 May 2021, 06:59 GMT
Last edited by Allan McRae (Allan) - Friday, 23 December 2022, 13:31 GMT
|
Details
Despite the existence of CacheDir in pacman.conf, people
insist on changing /var/cache/pacman/pkg/ to a symlink. Then
the next time they update pacman they get the following when
the symlink gets removed:
error: could not open file /var/cache/pacman/pkg/pacman-5.2.2-4-x86_64.pkg.tar.zst: No such file or directory To avoid this, we could look at taking the realpath of any cache dir and use that throughout the transaction. |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 23 December 2022, 13:31 GMT
Reason for closing: Deferred
Additional comments about closing: Bug transferred to gitlab:
https://gitlab.archlinux.org/pacman/pacm an/-/issues/5
Friday, 23 December 2022, 13:31 GMT
Reason for closing: Deferred
Additional comments about closing: Bug transferred to gitlab:
https://gitlab.archlinux.org/pacman/pacm an/-/issues/5