On 18/12/2018 07.33, David C. Rankin wrote:
On 12/17/2018 08:59 AM, Carlos E.R. wrote:
You mean to purge the /var/cache/zypp/packages cache, when using in the repo definition "keep downloaded packages"?
No.
Yes, Carlos, that was what I meant. Bummer. I'll keep using the script (one of these days I may also update it, since it is the same one I have used since 2008 -- ugly....)
It would be nice if zypper would grep the /etc/zypp/repos.d dir for "keeppackages=1" and preserve the currently installed package for those repos. Seems like a fairly straight forward solution. Here's to hoping...
The real solution would be to have a zypper proxy daemon, as other distributions have, but they don't want to create it. There are zypper operations that can delete that cache. I reported that in bugzilla once, and was told that the cache usage was not supported. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)