On 26/02/2021 08.37, Mathias Homann wrote:
Am Freitag, 26. Februar 2021, 08:07:26 CET schrieb Werner LEMBERG:
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?
run the following command, doesn't even have to be root: rpm -qa --queryformat=%{NAME}\\n > packages.txt
then, install your system. after that, run "zypper in $(<packages.txt)"
That can leave you with some stuff installed that you did not have before the reinstall - create a new list of installed packages, and compare the two lists after sorting them both alphabetically. Kompare works well for this.
The problem is that this procedure doesn't consider packages that can be installed from more than one repository. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)