xbps icon indicating copy to clipboard operation
xbps copied to clipboard

Feature request - keep /var/cache/xbps/ cleaner!

Open guayaseal opened this issue 2 years ago • 5 comments

Something like 'pacman -Sc' in Arch: https://archlinux.org/pacman/pacman.8.html#_sync_options_apply_to_em_s_em_a_id_so_a would be welcome

guayaseal avatar Jan 27 '23 08:01 guayaseal

xbps-remove -O

Vaelatern avatar Jan 27 '23 17:01 Vaelatern

No! If I install a package then uninstall it then "xbps-remove -O" won't remove the package file. If I install, let's say, KDE and GNOME then remove them and decide to install XFCE I will still have several GBs of xbps files for KDE and GNOME. "xbps-remove -O" won't clean them up!

guayaseal avatar Jan 27 '23 18:01 guayaseal

xbps-remove -o uninstall packages, an issue is about

Remove [compressed, unextracted] packages that are no longer installed from the cache

Chocimier avatar Jan 30 '23 18:01 Chocimier

? https://man.voidlinux.org/xbps-remove.1 says:

-o, --remove-orphans Removes installed package orphans that were installed automatically (as dependencies) and are not currently dependencies of any installed package. See --mode auto in xbps-pkgdb(1)

guayaseal avatar Feb 09 '23 20:02 guayaseal

#530

classabbyamp avatar Feb 09 '23 20:02 classabbyamp