Feature changed by: Donovan Cameron (saultdon) Feature #313375, revision 2 Title: Have zypper clean cached packages intelligently - openFATE: Unconfirmed + openSUSE Distribution: Unconfirmed Priority Requester: Desirable Requested by: Donovan Cameron (saultdon) Partner organization: openSUSE.org Description: When you tell zypper to clean the cached packages with the command: zypper clean This removes ALL cached packages. Over time, zypper will keep all versions of a package RPM file. This can result in a bloated - /var/cache/zypp folder. It would be nice to be able to remove all OLD - cached packages and keep the latest one, or even have more - functionality like being able to specify how many previous versions (to - control rollback ability when using the --force flag). Or if it finds - that a package is the only one, just keep it. - Pseudo code example: If package is installed then If package names are - the same keep the newest version Else if package has no matches do not - delete Else package is no longer installed delete cached package + /var/cache/zypp folder. + It would be nice to be able to remove all OLD cached packages and keep + the latest one, or even have more functionality like being able to + specify how many previous versions (to control rollback ability when + using the --force flag). + Or if it finds that a package is the only one, just keep it. + Pseudo code example: If package is installed then ..If package names + are the same ....keep the newest version ..Else if package has no + matches ....do not delete Else package is no longer installed ..delete + cached package -- openSUSE Feature: https://features.opensuse.org/313375