[Bug 1174067] New: "zypper migration" on Leap 15.1
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067 Bug ID: 1174067 Summary: "zypper migration" on Leap 15.1 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Upgrade Problems Assignee: screening-team-bugs@suse.de Reporter: Ulrich.Windl@rz.uni-regensburg.de QA Contact: jsrain@suse.com Found By: --- Blocker: --- Trying the easy way to upgrade Leap 15.1 to 15.2, this is what I get: # zypper migration Executing 'zypper patch-check --updatestack-only' Loading repository data... Reading installed packages... Considering 0 out of 5 applicable patches: 0 patches needed (0 security patches) Executing 'zypper refresh' Repository 'nVidia Graphics Drivers' is up to date. Repository 'openSUSE-Leap-15.1-1' is up to date. Repository 'Packman Repository' is up to date. Repository 'Non-OSS Repository' is up to date. Repository 'Main Repository' is up to date. Repository 'Main Update Repository' is up to date. Repository 'Update Repository (Non-Oss)' is up to date. All repositories have been refreshed. Can't get available migrations from server: SUSE::Connect::CannotBuildBasicAuth: Cannot read username and password from /etc/zypp/credentials.d/SCCcredentials. '/usr/lib/zypper/commands/zypper-migration' exited with status 1 --- Is this the way it is intended to be? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067#c1
--- Comment #1 from Ulrich Windl
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067#c2
--- Comment #2 from Ulrich Windl
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067#c4
--- Comment #4 from Ulrich Windl
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067#c5
--- Comment #5 from Ulrich Windl
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067#c6
Vladimir Nadvornik
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067#c7
Thomas Schmidt
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067#c8
--- Comment #8 from Ulrich Windl
@Ulrich: Before running "zypper dup", you need to change your local repositories to point to the Leap version you want to upgrade to.
I got that from comment #6. The challenge is to swap the repositories. One could guess to replace just any "15.1" to "15.2", but that wouldn't cover any new repositories. I don't know where zypper gets the correct repositories, but some comfort would be right in place (That's why I wanted to try "zypper migration": It would offer the possible upgrades, and then do the necessary steps). Even if you know the correct repository paths, doing the change with YaST or zypper is still somewhat time-consuming, changing or editing the repositories one by one. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067#c9
Thomas Schmidt
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067
http://bugzilla.opensuse.org/show_bug.cgi?id=1174067#c10
--- Comment #10 from Ulrich Windl
sudo sed -i 's/15.1/15.2/g' /etc/zypp/repos.d/*
I guess the line should really be sudo sed -i 's/15\.1/15.2/g' /etc/zypp/repos.d/* -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com