# SP5 to SP6 migration exiting

**URL:** <https://forums.suse.com/t/sp5-to-sp6-migration-exiting/44319>\
**Category:** Support\
**Created:** [October 16, 2024, 6:15pm UTC](https://forums.suse.com/t/sp5-to-sp6-migration-exiting/44319 "2024-10-16T18:15:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ketter](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@ketter](https://forums.suse.com/u/ketter)\
**Post date:** [October 16, 2024, 6:15pm UTC](https://forums.suse.com/t/sp5-to-sp6-migration-exiting/44319/1 "2024-10-16T18:15:28Z")

</div>

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](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](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](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

---

<div class="post-metadata">

**Author:** ![ketter](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@ketter](https://forums.suse.com/u/ketter)\
**Post date:** [October 16, 2024, 8:57pm UTC](https://forums.suse.com/t/sp5-to-sp6-migration-exiting/44319/2 "2024-10-16T20:57:53Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ukahlert](https://avatars.discourse-cdn.com/v4/letter/u/f08c70/32.png) [@ukahlert](https://forums.suse.com/u/ukahlert)\
**Post date:** [January 14, 2025, 1:36pm UTC](https://forums.suse.com/t/sp5-to-sp6-migration-exiting/44319/3 "2025-01-14T13:36:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ketter](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@ketter](https://forums.suse.com/u/ketter)\
**Post date:** [January 14, 2025, 2:11pm UTC](https://forums.suse.com/t/sp5-to-sp6-migration-exiting/44319/4 "2025-01-14T14:11:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ukahlert](https://avatars.discourse-cdn.com/v4/letter/u/f08c70/32.png) [@ukahlert](https://forums.suse.com/u/ukahlert)\
**Post date:** [January 22, 2025, 9:02am UTC](https://forums.suse.com/t/sp5-to-sp6-migration-exiting/44319/5 "2025-01-22T09:02:08Z")

</div>

Thanks a lot for your help!
