`-Cc` clear Pacman's cache, but not Aura's
When running `aura -Scc` and `aura -Cc <n>`, Pacman's cache is cleared, but not `~/.cache/aura/cache`, despite being supposed to be cleared according to the user manual.
```
$ aura stats
Host : [...]
User : [...]
Distribution : Arch Linux
Editor : vi
Installed packages : 1065
Pacman Package Cache : 524KiB
Aura Package Cache : 12KiB
Aura Build Cache : 41.34GiB
/tmp Directory : 7.03KiB
$ aura -Scc
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove ALL files from cache? [y/N]
Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n]
removing unused sync repositories...
$ aura -Cc 0
aura :: Current cache size: 0B
aura :: 0 of each package file will be kept. The rest will be deleted.
aura :: Proceed? [Y/n]
aura :: 0B freed.
$ aura stats
Host : [...]
User : [...]
Distribution : Arch Linux
Editor : vi
Installed packages : 1065
Pacman Package Cache : 524KiB
Aura Package Cache : 12KiB
Aura Build Cache : 41.34GiB
/tmp Directory : 7.03KiB
```
(I ran these commands before, which is why it cleared 0B)
关闭于 2025-12-30 2 条评论