OpenSUSE update naar 15.5 (van 15.4)
Check de hudige versie:
cat /etc/os-release
NAME=”openSUSE Leap”
VERSION=”15.4″
ID=”opensuse-leap”
ID_LIKE=”suse opensuse”
VERSION_ID=”15.4″
PRETTY_NAME=”openSUSE Leap 15.4″
…
- alle updates huidig systeem bijwerken
- overbodige repo’s afzetten
- check releasever gebruik in repo’s
- repo’s over naar nieuwe releasever
- upgrade
- reboot
- eventueel terug aan te zetten repo’s
1. Updates bijwerken: foutmelding gb3
zypper ref
zypper up
Retrieving repository ‘home:munix9Gb3’ metadata ——————————————————————[\]
Warning: Digest verification failed for file ‘327090e2e7480eab1952ae5782979551cf04b046502ec8620de3852f80d77c27-primary.xml.gz’
[/var/tmp/AP_0xctCzEb/repodata/327090e2e7480eab1952ae5782979551cf04b046502ec8620de3852f80d77c27-primary.xml.gz]expected 327090e2e7480eab1952ae5782979551cf04b046502ec8620de3852f80d77c27
but got f5b2b13e0208bef2cad0e68885430e4b801d8cf3897b0fa9cc2ff07167f6a4d7Accepting packages with wrong checksums can lead to a corrupted system and in extreme cases even to a system compromise.
However if you made certain that the file with checksum ‘f5b2..’ is secure, correct
and should be used within this operation, enter the first 4 characters of the checksum
to unblock using this file on your own risk. Empty input will discard the file.Unblock or discard? [f5b2/…? shows all options] (discard):
Retrieving repository ‘home:munix9Gb3’ metadata ……………………………………………………..[error]
Repository ‘home:munix9Gb3′ is invalid.
[https-download.opensuse.org-c09d2c08|https://download.opensuse.org/repositories/home:/munix9/15.4/] Valid metadata not found at specified URL
History:
– 327090e2e7480eab1952ae5782979551cf04b046502ec8620de3852f80d77c27-primary.xml.gz has wrong checksum
– Can’t provide ./repodata/327090e2e7480eab1952ae5782979551cf04b046502ec8620de3852f80d77c27-primary.xml.gzPlease check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository ‘home:munix9Gb3’ because of the above error.
2. Check huidige repo’s
zypper repos --uri >~/Leap154-repos-uri.txt
Links
https://en.opensuse.org/Package_repositories#Official_Repositories
https://gist.github.com/oleksis/63f835f8df61f2e99eaf31c20672dfdb
Release variabele gebruikt?
sudo cat /etc/zypp/repos.d/repo-oss.repo
[repo-oss]
name=Main Repository
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/distribution/leap/$releasever/repo/oss/
type=rpm-md
keeppackages=0
Check naar 15.5:
sudo zypper --releasever=15.5 lr -uE
Warning: Enforced setting: $releasever=15.5
Repository priorities are without effect. All enabled repositories share the same priority.# | Alias | Name | Enabled | GPG Check | Refresh | URI
—+————————————–+————————————————————–+———+———–+———+——————————————————————
1 | Science_Espeak-ng | Science_Espeak-ng | Yes | (r ) Yes | Yes | https://download.opensuse.org/repositories/science/15.4/
6 | https-download.opensuse.org-49d59322 | home:Sauerland | Yes | (r ) Yes | Yes | https://download.opensuse.org/repositories/home:/Sauerland/15.4/
10 | https-download.opensuse.org-c09d2c08 | home:munix9Gb3 | Yes | (r ) Yes | Yes | https://download.opensuse.org/repositories/home:/munix9/15.4/
16 | repo-backports-update | Update repository of openSUSE Backports | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.5/backports/
21 | repo-non-oss | Non-OSS Repository | Yes | (r ) Yes | Yes | http://download.opensuse.org/distribution/leap/15.5/repo/non-oss/
22 | repo-oss | Main Repository | Yes | (r ) Yes | Yes | http://download.opensuse.org/distribution/leap/15.5/repo/oss/
24 | repo-sle-update | Update repository with updates from SUSE Linux Enterprise 15 | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.5/sle/
26 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.5/oss/
27 | repo-update-non-oss | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.5/non-oss/
Er zijn er een paar niet mee (die blijven hier 15.4 tonen: munix, Sauerland, science).
– voor sience bestaat 15.5.
– munix ook.
Dus munix en science kunnen omgezet worden naar $releasever.
Sauerland heeft iets vreemd gedaan met zijn directorie-naam:
https://download.opensuse.org/repositories/home:/Sauerland/openSUSE_Leap_15.5/. Ik zet hem even af en zal hem nadien manueel aanpassen voor ik hem terug aanzet..
Update:
sudo zypper --releasever=15.5 ref
sudo zypper --releasever=15.5 dup -y
Kernel is nu 5.14.21
Na de upgrade werkt het netwerk niet meer?
Zie ook Upgrade verliest netwerk