Bugzilla – Bug 1224213
[doc] Issue in "Listing installed packages and repositories"
Last modified: 2024-05-27 09:23:32 UTC
Listing installed packages and repositories: https://documentation.suse.com/sles/15-SP5/html/SLES-all/cha-update-preparation.html#sec-update-preparation-packagelist 2. Also create a file named installed-software.bak containing a list of all installed packages: rpm -qa --queryformat '%{NAME}\n' > installed-software.bak ^^ wrong command: either have it on one line or use '\'
Plus, I'm sorry but point 3. (see below) does not have, IMO, logic in the flow. ---%>--- 3. Back up both files. The repositories and installed packages can be restored with the following commands: zypper ar repositories.bak.repo zypper install $(cat installed-software.bak) ---%<--- If you want to provide a procedure how to rollback, it should be not inside a numbered list of 'Listing installed packages and repositories' section but somewhere else.
Thank you for reporting this bug! It is being tracked and processed as part of our queue. Thank you for reporting this bug! It is being tracked and processed as part of our queue.
Fixed in main: https://github.com/SUSE/doc-sle/commit/86c4eb92 maintenance/SLE15SP5: https://github.com/SUSE/doc-sle/commit/7dd7c5a0 maintenance/SLE15SP4: https://github.com/SUSE/doc-sle/commit/09dfec07 maintenance/SLE15SP3: https://github.com/SUSE/doc-sle/commit/1ff311f7 maintenance/SLE15SP2: https://github.com/SUSE/doc-sle/commit/ed75b8d4 SLE 12 SP5 is not affected.