Unable to migrate from SLES 12.4 -> 12.5

smwitsmwit New or Quiet Member

We have as server that was upgraded from 11.4 to 12.4 a while ago using ISO images. When I try to migrate to 12.5 using zypper migration, I get an error, It seems like there is some remains of the 11.4 SDK product somewhere that makes it fail, but I can´t seem to find it. Anyone who knows where zypper migration finds the installed products ?
I have checked /etc/products.d and it looks correct, only 12.4 products there. I have removed the ISO repos from the first upgrade and registered against our SMT server, regular patching and package installations work.

XXXXXX:~ # zypper migration --query -v

Executing 'zypper --verbose refresh'

Verbosity: 1
Initializing Target
Specified repositories:
Checking whether to refresh metadata for SLE-Module-Web-Scripting12-Pool
Retrieving: repomd.xml ....................................................................................................................................[done]
Repository 'SLE-Module-Web-Scripting12-Pool' is up to date.
Checking whether to refresh metadata for SLE-Module-Web-Scripting12-Updates
Retrieving: repomd.xml ....................................................................................................................................[done]
Repository 'SLE-Module-Web-Scripting12-Updates' is up to date.
Checking whether to refresh metadata for SLE-SDK12-SP4-Pool
Retrieving: repomd.xml ....................................................................................................................................[done]
Repository 'SLE-SDK12-SP4-Pool' is up to date.
Checking whether to refresh metadata for SLE-SDK12-SP4-Updates
Retrieving: repomd.xml ....................................................................................................................................[done]
Repository 'SLE-SDK12-SP4-Updates' is up to date.
Skipping disabled repository 'SLES12-SP4-Installer-Updates'
Checking whether to refresh metadata for SLES12-SP4-Pool
Retrieving: repomd.xml ....................................................................................................................................[done]
Repository 'SLES12-SP4-Pool' is up to date.
Checking whether to refresh metadata for SLES12-SP4-Updates
Retrieving: repomd.xml ....................................................................................................................................[done]
Repository 'SLES12-SP4-Updates' is up to date.
All repositories have been refreshed.

Executing 'zypper --verbose --no-refresh patch-check --updatestack-only'

Verbosity: 1
Autorefresh disabled.
Initializing Target
Loading repository data...
Reading installed packages...
Force resolution: No

0 patches needed (0 security patches)

Installed products:
SLES/12.4/x86_64
sle-sdk/12.4/x86_64
sle-module-web-scripting/12/x86_64
sle-sdk/11.4/

Can't get available migrations from server: SUSE::Connect::ApiError: Missing required parameter: arch
'/usr/lib/zypper/commands/zypper-migration' exited with status 1

Comments

  • malcolmlewismalcolmlewis Knowledge Partner

    Hi
    Have a look down in /etc/zypp directory and sub directories repos.d would be a likely place, but worth a find and/or fgrep to see.

  • smwitsmwit New or Quiet Member
    edited September 3

    Turned out to be the SMT server, The server had registered the new SLES 12 products, but failed to remove sle11-sdk for some reason. Deleted the server from SMT and re registered , and now it works.

Sign In or Register to comment.