Is it safe to rm -rf /var/cache/zypp/ ? some subdirs of this? I don’t want opensuse to ‘forget’ the state of the system, like what rpm’s are installed…
It should be. But I’m not totally sure. Cache file will normally re-create themselves as you use whatever creates them.