FS#4995 - improve behaviour of pacman -Sc

Attached to Project: Pacman
Opened by Roman Kyrylych (Romashka) - Saturday, 08 July 2006, 10:39 GMT
Last edited by Xavier (shining) - Tuesday, 15 January 2008, 18:38 GMT
Task Type Feature Request
Category
Status Closed
Assigned To Dan McGee (toofishes)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

pacman -Sc removes all old versions of packages from cache.
When there are downgraded packages pacman removes them and leaves only the latest versions.
IMHO this should be corrected. Either pacman -Sc should leave both downgraded (currently installed) and the latest packages in cache, or even better - pacman -Sc should leave only installed packages in cache.
This task depends upon

Closed by  Xavier (shining)
Tuesday, 15 January 2008, 18:38 GMT
Reason for closing:  Duplicate
Additional comments about closing:  dup of 8061.
Comment by Roman Kyrylych (Romashka) - Monday, 10 July 2006, 15:00 GMT
It would be good also to have an option for removing all packages from cache that are currently not installed.
pacman -Sc leaves those package in cache, and to remove them user must use some script that scans /var/cache/pacman/pkg and finds uninstalled packages and removes them.
IMHO this feature will be very useful for newbies to make their package cache clean after installing and removing a lot of packages.
Comment by Aaron Griffin (phrakture) - Tuesday, 05 December 2006, 07:57 GMT
Switched to a feature request - I will implement this, but want to close out bugs first and foremost.

Loading...