# SLES 15.3 to 15.4 Zypper Migration and Python

**URL:** <https://forums.suse.com/t/sles-15-3-to-15-4-zypper-migration-and-python/38953>\
**Category:** SLES Updates\
**Created:** [September 13, 2022, 4:10pm UTC](https://forums.suse.com/t/sles-15-3-to-15-4-zypper-migration-and-python/38953 "2022-09-13T16:10:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MATT](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@MATT](https://forums.suse.com/u/MATT)\
**Post date:** [September 13, 2022, 4:10pm UTC](https://forums.suse.com/t/sles-15-3-to-15-4-zypper-migration-and-python/38953/1 "2022-09-13T16:10:18Z")

</div>

I was just trying to migrate some SLES 15 SP3 VMs to SP4 (zypper migration). On all of them, I’m getting this warning:

All repositories have been refreshed.  
Can’t get available migrations from server: SUSE::Connect::ApiError: There are activated extensions/modules on this system that cannot be migrated.  
Deactivate them first, and then try migrating again.  
The product(s) are ‘Python 2 Module 15 SP3 x86\_64’.  
You can deactivate them with:  
SUSEConnect -d -p sle-module-python2/15.3/x86\_64  
‘/usr/lib/zypper/commands/zypper-migration’ exited with status 1

What would be the proper way to deal with that? I did the deactivation on one test VM and it seems to work fine, but I’m not sure if anything is broken. This seems to happen on all the SLES 15 SP3 VMs I’ve tested on.

Thanks.

Matt

---

<div class="post-metadata">

**Author:** ![Newbi\_Suse](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/newbi_suse/32/8523_2.png) [@Newbi\_Suse](https://forums.suse.com/u/Newbi_Suse)\
**Post date:** [October 5, 2022, 7:29am UTC](https://forums.suse.com/t/sles-15-3-to-15-4-zypper-migration-and-python/38953/2 "2022-10-05T07:29:14Z")

</div>

Hi Matt

This helped for us:

Before you start the upgrade process you must deactive the Python 2 module (`sle-module-python2` ) on the old 4.1.x or 4.2.x SUSE Manager Server. On the command line, as root, run:

SUSEConnect -d -p sle-module-python2/15.3/x86\_64

This deactivation step is necessary because the Python 2 module is no longer available on the new SUSE Manager 4.3. On SUSE Manager Server 4.3, the Python 3 module (`sle-module-python3`) will get installed.

For more information, see the SUSE Manager 4.3 release notes.

[Server - Minor Version Upgrade (Y Upgrade) :: SUSE Manager Documentation](https://documentation.suse.com/suma/4.3/en/suse-manager/installation-and-upgrade/server-y.html)

best regards
