On 2021/02/25 23:07, Werner LEMBERG wrote:
Folks,
triggered by my desktop problems reported in previous mails, I wonder how can I save the list of currently installed packages so that a complete reinstallation (i.e., not using `zypper dup`) of 15.2 makes use this list?
Would a list of all the rpms help? Something like (all one line) rpm -qa --last --qf "%25{NVRA}\t%20{DISTRIBUTION}/%20{DISTURL}\n"
/tmp/rpm-qa-dists.txt
Shows me the repo URI as well. Takes about 2 seconds to produce a 4742 rpm package listing. With output something like: Mesa-gallium-18.1.6-205.1.x86_64 openSUSE Tumbleweed/obs://build.opensuse.org/openSUSE:Factory/standard/d998fb3813604f820cc1088f8d7548ee-Mesa-drivers Seems with the proper repos available, giving zypper the rpm list, it should just reinstall all of the ones you list.