-
-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paru -Scc fails to remove directories #1302
Comments
When running paru -Scc, ensure subdirectories in the pacman package cache are properly removed using sudo. Use the cache directory from pacman's configuration instead of hardcoding the path to respect user settings. closes Morganamilo#1302
the issue is that Do you have any idea what you did to get these folders? I have created a PR and hope that the author of But on the other hand, it is probably user-friendlier just to clean the cache dir instead of failing. |
We just shell out to pacman for the regular cache dirs so this is a pacman issue. Unrelated but paru won't remove directories when cleaning aur stuff unless -d is also passed. But yeah this situation is just pacman. |
Affected Version
paru v2.0.3.rebuild.1.r1.g90656a9 - libalpm v15.0.0
Description
I ran
paru -Scc
and got the following output (full output below):I expected paru to remove all files (including directories) or filter out directories so as not to produce an error.
Output
Include the FULL output of any relevant commands/configs
Don't cut parts of the input always include the FULL thing
paru.conf and pacman.conf are usually always relevant
paru.conf
pacman.conf
The text was updated successfully, but these errors were encountered: