"old" rpm's

The title might not be that descriptive, what id like to ask is what happens with the rpms that are downloaded when for instance an update is done. So when there is a (patch) update some rpms are dowloaded and then applied. I remember there was an option at 10.3 to deleted the downloaded rpms after installation. i cant find such an option at yast in 11.1 Are they been deleted automatically in 11.1? if not is there a way to delete them? (im looking for something like apt-get clean or apt-get autoclean in the debian way).

Thnx a lot in advance

they get downloaded somewhere in /var/lib and I believe after install, they get deleted

They are keep or not on a per-repo basis:

$ fgrep keeppackages /etc/zypp/repos.d/*

And stored wherever you say, /var/cache/zypp/packages by default.

$ fgrep -B6 packagesdir /etc/zypp/zypp.conf
## Path where the repo packages are downloaded and kept.
## Valid values: A directory
## Default value: {cachedir}/packages
# packagesdir = /var/cache/zypp/packages

Yes, it’s the default.

Read “man zypper” and search for the options of “clean”.

ok, i got it. thnx for your answers!!!