Skip to content

Migration SLES4SAP 15SP7 to 16 - problem with product definition #349

@angelabriel

Description

@angelabriel

Starting with a SLES4SAP 15SP7 installation and following the description in https://confluence.suse.com/display/SLES16/SLES+16+Migration section 'Testing'.
zypper in suse-migration-sle16-activation
failed with

Problem: 1: nichts stellt 'product(SLES) >= 15.6' bereit, das vom zu installierenden suse-migration-sle16-activation-2.1.13-150700.1.1.noarch benötigt wird
 Lösung 1: suse-migration-sle16-activation-2.1.13-150700.1.1.noarch nicht installieren
 Lösung 2: suse-migration-sle16-activation-2.1.13-150700.1.1.noarch durch Ignorieren einiger Abhängigkeiten brechen

It seems the problem is that on SLES4SAP the SLES_SAP-release package is installed but on plain SLES sles-release.
And the SLES_SAP-release package does not provide product() = SLES but product() = SLES_SAP
Whereas e.g. the provide product(SUSE_SLE) = 15.7 is available in both packages

# rpm -q --provides SLES_SAP-release | more
SLES_SAP-release = 15.7-150700.28.1
SLES_SAP-release(x86-64) = 15.7-150700.28.1
SLES_SAP-release-15.7
config(SLES_SAP-release) = 15.7-150700.28.1
displayorder(300)
distribution-release
product() = SLES_SAP
product(SLES_SAP) = 15.7-0
product(SLES_SAP-SP7) = 15.7-150700.28.1
product(SUSE_SLE) = 15.7
product(SUSE_SLE) = 15.7-150700.28.1
product(SUSE_SLE-SP7) = 15.7
product(SUSE_SLE-SP7) = 15.7-150700.28.1
product-cpeid() = cpe%3A%2Fo%3Asuse%3Asles_sap%3A15%3Asp7
product-endoflife()
product-label() = SLE%2D15%2DSP7%2DSAP
product-register-target() = sle%2D15%2Dx86_64
product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%
3ASLE%2DINSTALLER%3A15%2DSP7%3Ax86_64%2Fupdate
product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%
3ASLE%2DProduct%2DSLES_SAP%3A15%2DSP7%3Ax86_64%2Fupdate
product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%
3ASLE%2DProduct%2DSLES_SAP%3A15%2DSP7%3Ax86_64%2Fupdate_debug
.....

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions