This wiki was updated to MediaWiki 1.37. If you notice any issues, please report them to admin[at]

Tumbleweed zypper dist-upgrade as a systemd service

Jump to: navigation, search

The suggested procedure requires some considerations:

By far the easiest and most convenient way of running the command is creating a systemd service. Users may want to perform the upgrade in two steps:

Download and cache pending packages locally

 erlangen:~ # systemctl cat dup
 # /etc/systemd/system/dup.service
 Description=Dist Upgrade download
 ExecStart=/usr/bin/zypper dup --no-confirm --download-only
 erlangen:~ #

Install cached packages

 erlangen:~ # systemctl cat dupa
 # /etc/systemd/system/dupa.service
 Description=Dist Upgrade install
 ExecStart=/usr/bin/zypper dup --no-confirm
 erlangen:~ #