OpenSuSE Update cmdlines

Aus Schlafhacking
Wechseln zu: Navigation, Suche

11.3 -> 11.4

zypper modifyrepo --all --disable
zypper addrepo --name "openSUSE-11.4 OSS" http://download.opensuse.org/distribution/11.4/repo/oss/ repo-11.4-oss
zypper addrepo --name "openSUSE-11.4 Non-OSS" http://download.opensuse.org/distribution/11.4/repo/non-oss/ repo-11.4-non-oss
zypper addrepo --refresh --name "openSUSE-11.4 Updates" http://download.opensuse.org/update/11.4/ repo-11.4-update
zypper ref
zypper dup --download "in-advance"

11.4 -> 12.1

zypper modifyrepo --all --disable
zypper addrepo --name "openSUSE-12.1 OSS" http://download.opensuse.org/distribution/12.1/repo/oss/ repo-12.1-oss
zypper addrepo --name "openSUSE-12.1 Non-OSS" http://download.opensuse.org/distribution/12.1/repo/non-oss/ repo-12.1-non-oss
zypper addrepo --refresh --name "openSUSE-12.1 Updates" http://download.opensuse.org/update/12.1/ repo-12.1-update
zypper ref
zypper dup --download "in-advance"

12.1 -> 12.2

zypper modifyrepo --all --disable
zypper addrepo --name "openSUSE-12.2 OSS" http://download.opensuse.org/distribution/12.2/repo/oss/ repo-12.2-oss
zypper addrepo --name "openSUSE-12.2 Non-OSS" http://download.opensuse.org/distribution/12.2/repo/non-oss/ repo-12.2-non-oss
zypper addrepo --refresh --name "openSUSE-12.2 Updates" http://download.opensuse.org/update/12.2/ repo-12.2-update
zypper ref
zypper dup --download "in-advance"

12.2 -> 12.3

zypper modifyrepo --all --disable
zypper addrepo --name "openSUSE-12.3-OSS" http://download.opensuse.org/distribution/12.3/repo/oss/ repo-12.3-oss
zypper addrepo --name "openSUSE-12.3-Non-OSS" http://download.opensuse.org/distribution/12.3/repo/non-oss/ repo-12.3-non-oss
zypper addrepo --check --refresh --name "openSUSE-12.3-Updates" http://download.opensuse.org/update/12.3/ repo-12.3-updates
zypper addrepo --check --refresh --name "openSUSE-12.3-Updates-Non-Oss" http://download.opensuse.org/update/12.3-non-oss/ repo-12.3-updates-non-oss
zypper ref
zypper dup --download "in-advance"

# ggf. zypper lr; reboot

12.3 -> 13.1

zypper modifyrepo --all --disable
zypper addrepo --name "openSUSE-13.1-OSS" http://download.opensuse.org/distribution/13.1/repo/oss/ repo-13.1-oss
zypper addrepo --name "openSUSE-13.1-Non-OSS" http://download.opensuse.org/distribution/13.1/repo/non-oss/ repo-13.1-non-oss
zypper addrepo --check --refresh --name "openSUSE-13.1-Updates" http://download.opensuse.org/update/13.1/ repo-13.1-updates
zypper addrepo --check --refresh --name "openSUSE-13.1-Updates-Non-Oss" http://download.opensuse.org/update/13.1-non-oss/ repo-13.1-updates-non-oss
zypper ref
zypper dup --download "in-advance"

12.x -> 42.1

zypper modifyrepo --all --disable
zypper addrepo --name "openSUSE-42.1-OSS" http://download.opensuse.org/distribution/leap/42.1/repo/oss/ repo-42.1-oss
zypper addrepo --name "openSUSE-42.1-Non-OSS" http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ repo-42.1-non-oss
zypper addrepo --check --refresh --name "openSUSE-42.1-Updates" http://download.opensuse.org/update/leap/42.1/oss repo-42.1-updates
zypper addrepo --check --refresh --name "openSUSE-42.1-Updates-Non-Oss" http://download.opensuse.org/update/leap/42.1/non-oss/ repo-42.1-updates-non-oss
zypper ref
zypper dup --download "in-advance"

Anmerkungen

yast verhaut oft die grub/grub2 config bei mdraid-Configs. Daher muss man vor dem Reboot nach zypper dup die grub config prüfen und ggf. fixen, damit das device für root korrekt ist.

hosts 12.1 -> 42.1
- Schritt auf 12.2 problemlos
- Schritt auf 12.3 braucht hardreset
- 12.3->42.1 direkt geht, aber fstab anpassen, xfs delaylog gibt es nicht mehr als mount option