OpenSuse upgrade naar Tumbleweed (vanuit Leap 42.2)
Hoewel ik er niet specifiek documentatie over vond, heb ik de algemene documentatie gebruikt (zoals voor upgrade naar Tumbleweed vanuit Leap 42.1).
Deze keer ging het echt heel vlot: naar root gebruiker gaan, een blik op de harde schijven, en de commando’s om de oude repo’s uit te schakelen, de nieuwe toe te voegen, en de upgrade uit te voeren.
kort samengevat (voor knip en plak):
su
mkdir /etc/zypp/repos.d/old
mv /etc/zypp/repos.d/*.repo /etc/zypp/repos.d/old
zypper ar -f -c http://download.opensuse.org/tumbleweed/repo/oss
zypper ar -f -c http://download.opensuse.org/tumbleweed/repo/non-oss
zypper ar -f -c http://download.opensuse.org/tumbleweed/repo/debug repo-debug
zypper ar -f -c http://download.opensuse.org/update/tumbleweed/ repo-update
zypper ar -f -d -c http://download.opensuse.org/tumbleweed/repo/src-oss
zypper ar -f -d -c http://download.opensuse.org/tumbleweed/repo/src-non-oss
zypper dup
Hele console log:
su
Password:
linux-u6ln:~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 74.5G 0 disk
├─sda1 8:1 0 2G 0 part [SWAP]
├─sda2 8:2 0 29.2G 0 part /usr/local
└─sda3 8:3 0 43.3G 0 part /home
sr0 11:0 1 1024M 0 rom
linux-u6ln:~ # mkdir /etc/zypp/repos.d/old
linux-u6ln:~ # mv /etc/zypp/repos.d/*.repo /etc/zypp/repos.d/old
linux-u6ln:~ # zypper ar -f -c http://download.opensuse.org/tumbleweed/repo/oss repo-ossAdding repository 'repo-oss' .....................................................[done]
Repository 'repo-oss' successfully added
Enabled : Yes
Autorefresh : Yes
GPG Check : Yes
Priority : 99
URI : http://download.opensuse.org/tumbleweed/repo/oss
linux-u6ln:~ # zypper ar -f -c http://download.opensuse.org/tumbleweed/repo/non-oss repo-non-oss
Adding repository 'repo-non-oss' .................................................[done]
Repository 'repo-non-oss' successfully added
Enabled : Yes
Autorefresh : Yes
GPG Check : Yes
Priority : 99
URI : http://download.opensuse.org/tumbleweed/repo/non-oss
linux-u6ln:~ # zypper ar -f -c http://download.opensuse.org/tumbleweed/repo/debug repo-debug
Adding repository 'repo-debug' ...................................................[done]
Repository 'repo-debug' successfully added
Enabled : Yes
Autorefresh : Yes
GPG Check : Yes
Priority : 99
URI : http://download.opensuse.org/tumbleweed/repo/debug
linux-u6ln:~ # zypper ar -f -c http://download.opensuse.org/update/tumbleweed/ repo-update
Adding repository 'repo-update' ..................................................[done]
Repository 'repo-update' successfully added
Enabled : Yes
Autorefresh : Yes
GPG Check : Yes
Priority : 99
URI : http://download.opensuse.org/update/tumbleweed/
linux-u6ln:~ # zypper ar -f -d -c http://download.opensuse.org/tumbleweed/repo/src-oss repo-src-oss
Adding repository 'repo-src-oss' .................................................[done]
Repository 'repo-src-oss' successfully added
Enabled : No
Autorefresh : Yes
GPG Check : Yes
Priority : 99
URI : http://download.opensuse.org/tumbleweed/repo/src-oss
linux-u6ln:~ # zypper ar -f -d -c http://download.opensuse.org/tumbleweed/repo/src-non-oss repo-src-non-oss
Adding repository 'repo-src-non-oss' .............................................[done]
Repository 'repo-src-non-oss' successfully added
Enabled : No
Autorefresh : Yes
GPG Check : Yes
Priority : 99
URI : http://download.opensuse.org/tumbleweed/repo/src-non-oss
linux-u6ln:~ # zypper lr -u
# | Alias | Name | Enabled | GPG Check | Refresh | URI
--+------------------+------------------+---------+-----------+---------+---------------------------------------------------------
1 | repo-debug | repo-debug | Yes | ( p) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/debug
2 | repo-non-oss | repo-non-oss | Yes | ( p) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/non-oss
3 | repo-oss | repo-oss | Yes | ( p) Yes | Yes | http://download.opensuse.org/tumbleweed/repo/oss
4 | repo-src-non-oss | repo-src-non-oss | No | ---- | Yes | http://download.opensuse.org/tumbleweed/repo/src-non-oss
5 | repo-src-oss | repo-src-oss | No | ---- | Yes | http://download.opensuse.org/tumbleweed/repo/src-oss
6 | repo-update | repo-update | Yes | ( p) Yes | Yes | http://download.opensuse.org/update/tumbleweed/
linux-u6ln:~ # zypper dup
linux-u6ln:~ # shutdown -r now