I’m on 15.4, but this time with already installed several “production” programs which would be very time consuming to reinstall and configure again if installing 15.5 from scratch.
Thus I’d like to try the upgrade way for the first time; problem is, I found the openSUSE docs regarding this a bit complicated, and even risky as they warn themselves. I thought it was just a matter of changing the installed repositories then upgrade, but this seems to not be the case…
The repositories I currently have:
user1@localhost:~> zypper lr -d
| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
—±----------------------------±--------------------------------------------------------------------------------------------±--------±----------±--------±---------±-------±------------------------------------------------------------------------±-------
1 | mozilla | mozilla | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/mozilla/openSUSE_Leap_15.4/ |
2 | openSUSE-Leap-15.4-1 | openSUSE-Leap-15.4-1 | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/oss/ |
3 | packman | packman | Yes | (r ) Yes | Yes | 99 | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.4/ |
4 | repo-backports-debug-update | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/update/leap/15.4/backports_debug/ |
5 | repo-backports-update | Update repository of openSUSE Backports | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.4/backports/ |
6 | repo-debug | Debug Repository | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.4/repo/oss/ |
7 | repo-debug-non-oss | Debug Repository (Non-OSS) | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.4/repo/non-oss/ |
8 | repo-debug-update | Update Repository (Debug) | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.4/oss/ |
9 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.4/non-oss/ |
10 | repo-non-oss | Repositorio Non-OSS | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/non-oss/ |
11 | repo-oss | Repositorio principal | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/oss/ |
12 | repo-sle-debug-update | Update repository with debuginfo for updates from SUSE Linux Enterprise 15 | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.4/sle/ |
13 | repo-sle-update | Update repository with updates from SUSE Linux Enterprise 15 | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.4/sle/ |
14 | repo-source | Source Repository | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.4/repo/oss/ |
15 | repo-update | Repositorio principal de actualizaciones | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.4/oss |
16 | repo-update-non-oss | Repositorio de actualizaciones (código no abierto) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.4/non-oss/ |
17 | wine | wine | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/Emulators:/Wine/15.4/ |
user1@localhost:~>
Could someone please guide with how to properly upgrade everything without consequences?
Thanks very much.
EDIT: forgot I also have the NVIDIA repository because I use the proprietary Prime drivers (an Optimus laptop…)
Please post your output from Terminal into Code-Tags, its better readable.
zypper lr -d
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Serv->
---+----------------------------------+---------------------------------------------------------------------------------------------+-----------+-----------------+----------------+-----------+----------+---------------------------------------------------------------------------------------------+-------
1 | Enlightenment | Enlightenment | Nein | ---- | ---- | 60 | rpm-md | https://mirrorcache-eu.opensuse.org/repositories/X11:/Enlightenment:/Factory/15.5/ |
2 | Geo | Geo | Nein | ---- | ---- | 120 | NONE | https://mirrorcache-eu.opensuse.org/download/repositories/Application:/Geo/15.5/ |
3 | KDE-Extra | KDE-Extra | Ja | (r ) Ja | Ja | 50 | rpm-md | https://mirrorcache-eu.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_15.5/ |
4 | Nvidia | nVidia Graphics Drivers | Ja | (r ) Ja | Ja | 99 | rpm-md | https://download.nvidia.com/opensuse/leap/15.5 |
5 | Packman_Aachen | Packman_Aachen | Ja | (r ) Ja | Ja | 35 | rpm-md | http://ftp.halifax.rwth-aachen.de/packman/suse/openSUSE_Leap_15.5/ |
6 | Packman_Goettingen | Packman_Goettingen | Nein | ---- | ---- | 35 | NONE | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.5/ |
7 | Programme | Programme-rpm | Ja | ( p) Ja | Ja | 99 | plaindir | dir:/home/stephan/Programme86x64/Programme |
8 | RPMS | Rpmbuild | Ja | ( p) Ja | Ja | 30 | plaindir | dir:/home/stephan/rpmbuild/RPMS |
.
.
.
.
Use the </> Button of the forums Editor and paste the output between the"````````“and” ```````"
Post:
zypper --releasever=00000 lr -d
to see if there are Repo-URL’s hardcoded with 15.4…
t_neo
June 22, 2023, 5:39pm
4
Have you followed the wiki to upgrade? SDB:System upgrade - openSUSE Wiki
For hardcoded repos you need to replace that value with {releasever}, by executing:
sed -i 's/15.4/${releasever}/g' /etc/zypp/repos.d/*.repo
1 Like
@Sauerland :
Yes, I completely forgot to properly format the output, I’m sorry…
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+-----------------------------+---------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------+--------
1 | mozilla | mozilla | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/mozilla/openSUSE_Leap_15.4/ |
2 | nvidia | nvidia | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.nvidia.com/opensuse/leap/15.4 |
3 | openSUSE-Leap-15.4-1 | openSUSE-Leap-15.-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/oss/ |
4 | packman | packman | Yes | (r ) Yes | Yes | 99 | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.4/ |
5 | repo-backports-debug-update | Update repository-> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/update/leap/15.4/backports_debug/ |
6 | repo-backports-update | Update repository-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.4/backports/ |
7 | repo-debug | Debug Repository | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.4/repo/oss/ |
8 | repo-debug-non-oss | Debug Repository -> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.4/repo/non-oss/ |
9 | repo-debug-update | Update Repository-> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.4/oss/ |
10 | repo-debug-update-non-oss | Update Repository-> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.4/non-oss/ |
11 | repo-non-oss | Repositorio Non-OSS | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/non-oss/ |
12 | repo-oss | Repositorio princ-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/oss/ |
13 | repo-sle-debug-update | Update repository-> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.4/sle/ |
14 | repo-sle-update | Update repository-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.4/sle/ |
15 | repo-source | Source Repository | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.4/repo/oss/ |
16 | repo-update | Repositorio princ-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.4/oss |
17 | repo-update-non-oss | Repositorio de ac-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.4/non-oss/ |
18 | wine | wine | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/Emulators:/Wine/15.4/ |
When using the --releasever=00000 option, virtually the only difference in whole output is, in terms of sed command, s/15.4/00000/ in the URLs. Does this say something?
Thanks again.
releasever ist only temporary variable, only for that givenn command…
So I do not know, if you use my command with releasever or only zypper lr -d.
Next time please post the complete output incl. the complete commandline wirh the command…
If you use the releasever Version, you have hardcoded 15.4 in all of you URLs…
But for example there is no wine Repo for 15.5.
I would also delete the debug and source Repos.
They are disabled. It is standard setup which allows enabling them when needed.
I do that because it is a better readable list.
You can add them if you are need them, but as a “normal” User I think you do not use them.
user1@localhost:~> zypper --releasever=00000 lr -d
Warning: Enforced setting: $releasever=00000
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+-----------------------------+--------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------------+--------
1 | mozilla | mozilla | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/mozilla/openSUSE_Leap_00000/ |
2 | nvidia | nvidia | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.nvidia.com/opensuse/leap/00000 |
3 | openSUSE-Leap-15.4-1 | openSUSE-Leap-15-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/oss/ |
4 | packman | packman | Yes | (r ) Yes | Yes | 99 | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_00000/ |
5 | repo-backports-debug-update | Update repositor-> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/update/leap/00000/backports_debug/ |
6 | repo-backports-update | Update repositor-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/00000/backports/ |
7 | repo-debug | Debug Repository | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/00000/repo/oss/ |
8 | repo-debug-non-oss | Debug Repository-> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/00000/repo/non-oss/ |
9 | repo-debug-update | Update Repositor-> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/00000/oss/ |
10 | repo-debug-update-non-oss | Update Repositor-> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/00000/non-oss/ |
11 | repo-non-oss | Repositorio Non--> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/00000/repo/non-oss/ |
12 | repo-oss | Repositorio prin-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/00000/repo/oss/ |
13 | repo-sle-debug-update | Update repositor-> | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/00000/sle/ |
14 | repo-sle-update | Update repositor-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/00000/sle/ |
15 | repo-source | Source Repository | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/00000/repo/oss/ |
16 | repo-update | Repositorio prin-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/00000/oss |
17 | repo-update-non-oss | Repositorio de a-> | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/00000/non-oss/ |
18 | wine | wine | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/Emulators:/Wine/00000/ |
user1@localhost:~>
Is this better?
F_style:
Is this better?
Remove #3 on that list. It has “15.4” showing. You don’t need it, because it is a duplicate of #12 .
Removed #3 .
Now, back to OP, could someone please guide with how to properly upgrade everything without consequences?
Thanks again.
Nobody can say if something is going wrong or not.
And as I said, there is no wine Repo for Leap 15.5…
So disable and derefresh it.
After that as root:
zypper --releasever=15.5 ref
zypper releasever=15.5 dup
And crossing fingers…
Ran the following yesterday:
3400g:~ # zypper --releasever 15.5 --reposd-dir /mnt/@/etc/zypp/repos.d/ repos --show-enabled-only
Warning: Enforced setting: $releasever=15.5
# | Alias | Enabled | GPG Check | Priority | URI
---+-----------------------+---------+-----------+----------+------------------------------------------------------------------
3 | repo-backports-update | Yes | ( p) Yes | 99 | http://download.opensuse.org/update/leap/15.5/backports/
8 | repo-non-oss | Yes | (r ) Yes | 99 | http://download.opensuse.org/distribution/leap/15.5/repo/non-oss/
9 | repo-oss | Yes | (r ) Yes | 99 | http://download.opensuse.org/distribution/leap/15.5/repo/oss/
11 | repo-sle-update | Yes | ( p) Yes | 99 | http://download.opensuse.org/update/leap/15.5/sle/
13 | repo-update | Yes | (r ) Yes | 99 | http://download.opensuse.org/update/leap/15.5/oss
14 | repo-update-non-oss | Yes | ( p) Yes | 99 | http://download.opensuse.org/update/leap/15.5/non-oss/
3400g:~ #
24 minutes download and 5 minutes install:
3400g:~ # journalctl --directory /mnt/@/var/log/journal/ --unit dup155 -g 'Started|Checking|Deactivated'
Jun 20 22:10:29 leap154 systemd[1]: Started Dist Upgrade.
Jun 20 22:44:08 leap154 zypper[24720]: Checking for file conflicts: [.............done]
Jun 20 22:49:47 leap154 systemd[1]: dup155.service: Deactivated successfully.
3400g:~ #
Why still no wine repo? Or is it just a “matter of time” due to how recent the new release is?
On more specific doubts:
https://en.opensuse.org/SDB:System_upgrade#Extra_repositories_handling
—Are mozilla, wine, packman, nvidia all “arbitrary OBS repositories”? Must I remove them first before any upgrade attempt?
—If I fully update whole system current additional repos first, do I still need to manually import the new 4096 RSA key?
Thanks.
In case you haven’t seen this…
I’ve just upgraded from 15.3 to 15.4, with a few bumps…
Good luck
Pedro
Bumping specific doubts:
https://en.opensuse.org/SDB:System_upgrade#Extra_repositories_handling
—Are mozilla, wine, packman, nvidia all “arbitrary OBS repositories”? Must I remove them first before any upgrade attempt?
—If I fully update whole system current additional repos first, do I still need to manually import the new 4096 RSA key?
—Why still no wine repo? Or is it just a “matter of time” due to how recent the new release is?
Its not there. Why? I do not know. Maybe ask here:
PS: you can use wine from the OSS Repo. Or use the Emulators Repo.
F_style:
—Are mozilla, wine, packman, nvidia all “arbitrary OBS repositories”? Must I remove them first before any upgrade attempt?
I have done an Upgrade with the enabled Packman and Nvidia Repos without Problems.
But that will not say anything, You can get trouble.
Best is to backup your data before Upgrade.
this is what I did and it went well:
----------------upgrade online from 15.4 to 15.5
uodate all packages yast>software management>Package>All Packages>Update if newer version available
backup with luckybackup
repositories backup zypper repos -d > “/dati/impo-conf/packages-and-repos/tuxedo-red1/TW/repositories.txt”
packages backup zypper se -si > “/dati/impo-conf/packages-and-repos/tuxedo-red1/TW/list_of_all_installed_packages.txt” and rpm -qa > “/dati/impo-conf/packages-and-repos/tuxedo-red1/TW/packagelist.txt”
yast modify repositories from 15.4 to 15.5 or use $releasever instead
disable repositories that doesn’t exist in 15.5
close yast
change version with:
zypper --releasever=15.5 refresh
launch konsole and run:
zypper --releasever=15.5 dup --dry-run --download-only --auto-agree-with-licenses --allow-vendor-change
if everything goes well:
ctrl>alt>F2
login as root and run
init 3
login as root and run
zypper --releasever=15.5 dup --download-in-heaps --auto-agree-with-licenses --allow-vendor-change
reboot
with yast>software management> packman repository and other where is necessary
switch to system packages and click OK
update all packages yast>software management>Package>All Packages>Update if newer version available