SP5 to SP6 migration exiting

I just patched three servers up to SP6. I was working on the fourth and I get the response below when running “zypper migration”. Problems at SUSE? Or am I missing something on my end?

Building repository ‘SLE-Module-Server-Applications15-SP5-Pool’ cache […done]
Retrieving repository ‘SLE-Module-Server-Applications15-SP5-Updates’ metadata […done]
Building repository ‘SLE-Module-Server-Applications15-SP5-Updates’ cache […done]
patch pre-check failed: command ‘/usr/bin/zypper patch-check --updatestack-only’ failed
Error: zypper returned 4 with ‘Problem retrieving the repository index file for service ‘Desktop_Applications_Module_15_SP5_x86_64’:
File ‘./repo/repoindex.xml’ not found on medium ‘https://scc.suse.com/access/services/2387?cookies=0&credentials=Desktop_Applications_Module_15_SP5_x86_64
Check if the URI is valid and accessible.
Problem retrieving the repository index file for service ‘SUSE_Package_Hub_15_SP5_x86_64’:
File ‘./repo/repoindex.xml’ not found on medium ‘https://scc.suse.com/access/services/2459?cookies=0&credentials=SUSE_Package_Hub_15_SP5_x86_64
Check if the URI is valid and accessible.
Problem retrieving the repository index file for service ‘Web_and_Scripting_Module_15_SP5_x86_64’:
File ‘./repo/repoindex.xml’ not found on medium ‘https://scc.suse.com/access/services/2403?cookies=0&credentials=Web_and_Scripting_Module_15_SP5_x86_64
Check if the URI is valid and accessible.’ (exit status 4)
‘/usr/lib/zypper/commands/zypper-migration’ exited with status 1

I opened a case with tech support. Ended up using SUSE Connect to deregister and cleanup everything, deleted a few files and then reregistered and all is good.

1 Like

Hi, could you specify what these few files have been that you had to delete? :slight_smile:
Thank you

Here are the exact steps I took:

SUSEConnect --de-register
SUSEConnect --cleanup
rm -f /etc/SUSEConnect
rm -rf /etc/zypp/credentials.d/*
rm -rf /etc/zypp/repos.d/*
rm -f /etc/zypp/services.d/*
SUSEConnect -r reg_code -e email_address

SUSEConnect --status-text
The following three were listed as not registered:
SUSE Package Hub 15 (PackageHub/15.5/x86_64)
Desktop Applications Module (sle-module-desktop-applications/15.5/x86_64)
Web and Scripting Module (sle-module-web-scripting/15.5/x86_64)

SUSEConnect -p PackageHub/15.5/x86_64
SUSEConnect -p sle-module-desktop-applications/15.5/x86_64
SUSEConnect -p sle-module-web-scripting/15.5/x86_64

after these steps I was able to run zypper migration and it completed without any issues