Zypper package cache

I just want to know where YaST and/or Zypper store the downloaded rpms. I’m using sles 11 sp3 (VMware version)

Thanks in advance.

Googled for “where is zypper cache” and the first hit was this forum
thread, which I believe is accurate:

http://forums.opensuse.org/showthread.php?threadid=386918

I’m including steps to find it, as well as that post, since there was
other discussion in there that may be useful, depending on why you are
asking this question in the first place.

Sneak peek: /var/cache/zypp/packages

Good luck.

It works for for Opnesuse I had to edit each .repo on /etc/zypp/repos.d and change the keeppackages variable to 1. It seems to there is no option for SLES 11 (Vmware version).

thx

Just checking the sles 11

On 29/09/2013 03:24, shevary wrote:
[color=blue]

Ok, it is my fault it is under /etct/zypp/repos.d and I edited all the
file and change change the keeppackages variable to 1[/color]

Rather than editing files (which has risks) better to use “zypper
modifyrepo --keep-packages ” for each repository you want
to keep packages (use “–all” for if you want to do all)
as noted in a reply to the thread ab linked.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.