update sources not added correctly due to missing product metadata

  • 7009363
  • 15-Sep-2011
  • 30-Apr-2012

Environment

SUSE Linux Enterprise Server 10 (all Service Packs)
SUSE Linux Enterprise Server 11 (all Service Packs)
SUSE Linux Enterprise Desktop 10 (all Service Packs)
SUSE Linux Enterprise Desktop 11 (all Service Packs)
SUSE Linux Enterprise Point of Service
SUSE Linux Enterprise Real Time Extension
Subscription Management Tool (SMT) for SUSE Linux Enterprise 11
Subscription Management Tool (SMT) for SUSE Linux Enterprise 10
Novell Open Enterprise Server 2 (OES 2) Linux (all Support Packs)

Situation

Update sources are not added correctly after registering the system due to missing product metadata. As an example you have added the Software Development Kit (SDK) as add-on product to a SUSE Linux Enterprise system, however after registering the product the SDK update catalogs do not show up.

Resolution

For SLE 10 and OES go ahead as follows:

Check the product metadata via the "rug products" command. The output may be as follows:

# rug products

S | Name          | Version | Category
--+---------------+---------+---------
i | SUSE_SLES_SP4 | 10.4-1  | base    

In this example the SDK product metadata is not correctly installed - only the base product is shown.

Use the following commands to correct the metadata (in this example the SLE 10 SDK SP4 was added):

rug in -t product SLE_10_SP4_SDK
suse_register -L /root/.suse_register.log



For SLE 11 go ahead as follows:

Check the product metadata via the "zypper products" command. The output may be as follows:

# zypper products
Loading repository data...
Reading installed packages...
S | Repository                                            | Internal Name | Name                                                  | Version    | Arch   | Is Base
--+-------------------------------------------------------+---------------+-------------------------------------------------------+------------+--------+--------
i | @System                                               | SUSE_SLES     | SUSE Linux Enterprise Server 11 SP1                   | 11.1-1.152 | x86_64 | Yes
i | @System                                               | SUSE_SLES     | SUSE Linux Enterprise Server 11 SP1                   | 11.1-1.152 | x86_64 | Yes
  | SUSE Linux Enterprise Software Development Kit 11 SP1 | sle-sdk       | SUSE Linux Enterprise Software Development Kit 11 SP1 | 11.1-1.57  | x86_64 | No

In this example the SDK product metadata is not correctly installed - there  is a missing "i" (for installed) in front of the corresponding line.

Use the following commands to correct the metadata:

zypper in -t product sle-sdk
suse_register -L /root/.suse_register.log

Additional Information

The metadata for SLE 10 and SLE 11 base- and addon-products are named as follows:


SLE 10 based products:

SUSE_SLES_SP1 (for SLES10 SP 1)
SUSE_SLES_SP2 (for SLES10 SP 2)
SUSE_SLES_SP3 (for SLES10 SP 3)
SUSE_SLES_SP4 (for SLES10 SP 4)
OPEN_ENTERPRISE_SERVER (for OES2)
OPEN_ENTERPRISE_SERVER_SP1 (for OES2 SP1)
OPEN_ENTERPRISE_SERVER_SP2 (for OES2 SP2)
OPEN_ENTERPRISE_SERVER_SP3 (for OES2 SP3)
SLE_10_SP2_SMT (for SMT 10 SP2)
SLE_10_SP3_SMT (for SMT 10 SP3)
SLE_10_SP1_SDK (for SLE 10 SDK SP1)
SLE_10_SP2_SDK (for SLE 10 SDK SP2)
SLE_10_SP3_SDK (for SLE 10 SDK SP3)
SLE_10_SP4_SDK (for SLE 10 SDK SP4)

SLE 11 based products:

SUSE_SLES (for all SLES 11 service packs)
SUSE_SLES_SAP (for all "SLES for SAP Applications" service packs)
sle-sdk (for all SLE 11 SDK service packs)
sle-smt (for all SLE 11 Subscription Management Tool service packs)
sle-hae (for all SLE 11 High Availability Extension service packs)
sle-pos (for all SLE 11 Point of Service service packs)