My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

During Registration or Migration/Upgrade the wrong architecture is added for repositories

This document (7015056) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 1 (SLES 11 SP1)
SUSE Linux Enterprise Server 11 Service Pack 2 (SLES 11 SP2)
SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)
SUSE Linux Enterprise Desktop 11 Service Pack 1 (SLED 11 SP1)
SUSE Linux Enterprise Desktop 11 Service Pack 2 (SLED 11 SP2)
SUSE Linux Enterprise Desktop 11 Service Pack 3 (SLED 11 SP3)

Situation

While performing a registration or migration/upgrade the wrong repo architectures are returned.  The following was taken from a SLES 11 SP2 x86_64 registration log exhibiting the issue (the output has been edited so that only the information related to the issue is shown):

---------------- currentSources --------------------

URL' => 'https://nu.novell.com/repo/$RCE/SLE11-SP2-Debuginfo-Core/sle-11-i586?credentials=NCCcredentials',
URL' => 'https://nu.novell.com/repo/$RCE/SLE11-WebYaST-SP2-Pool/sle-11-s390x?credentials=NCCcredentials',
URL' => 'https://nu.novell.com/repo/$RCE/SLE11-WebYaST-SP2-Updates/sle-11-ppc64?credentials=NCCcredentials',
URL' => 'https://nu.novell.com/repo/$RCE/SLES11-SP1-Updates/sle-11-s390x?credentials=NCCcredentials',
URL' => 'https://nu.novell.com/repo/$RCE/SLES11-Extras/sle-11-ia64?credentials=NCCcredentials',
URL' => 'https://nu.novell.com/repo/$RCE/SLES11-SP2-Core/sle-11-x86_64?credentials=NCCcredentials',
URL' => 'https://nu.novell.com/repo/$RCE/SLE11-SP1-Debuginfo-Updates/sle-11-x86_64?credentials=NCCcredentials',
URL' => 'https://nu.novell.com/repo/$RCE/SLES11-SP1-Pool/sle-11-i586?credentials=NCCcredentials',
URL' => 'https://nu.novell.com/repo/$RCE/SLES11-SP2-Extension-Store/sle-11-i586?credentials=NCCcredentials',
URL' => 'https://nu.novell.com/repo/$RCE/SLE11-SP2-Debuginfo-Updates/sle-11-i586?credentials=NCCcredentials',
URL' => 'https://nu.novell.com/repo/$RCE/SLES11-SP2-Updates/sle-11-ppc64?credentials=NCCcredentials',
URL' => 'https://nu.novell.com/repo/$RCE/SLE11-SP1-Debuginfo-Pool/sle-11-ppc64?credentials=NCCcredentials',

Note that repositories with i586, ppc64, and s390x architectures have been added to a system that is running an x86_64 architecture.

Resolution

The problem is caused by a missing baseproduct symbolic link in the /etc/products.d/ subdirectory.  Listing the contents of the /etc/products.d/ we see the following:

:/etc/products.d # l
total 20
drwxr-xr-x     2 root root  4096    Feb  6 07:10  ./
drwxr-xr-x 103 root root 12288   Feb  6 07:09  ../
-rw-r--r--        1 root root   2805   Feb  6  2012  SUSE_SLES.prod

which should look like this:

:/etc/products.d # l
total 20
drwxr-xr-x     2 root root   4096 Feb 6    07:09   ./
drwxr-xr-x 103 root root 12288 Feb 6    07:09   ../
lrwxrwxrwx   1 root root       30 Feb 6    07:09   baseproduct -> /etc/products.d/SUSE_SLES.prod
-rw-r--r--        1 root root   2805 Feb 6  2012     SUSE_SLES.prod

To resolve the issue do the following:

1. recreate the symbolic link
 
             ln -s /etc/products.d/SUSE_SLES.prod /etc/products.d/baseproduct

2. Remove the repo files:

             rm /etc/zypp/repos.d/nu*

3. Refresh the registration

             suse_register -r -d 3

The repos should then be returned with the correct architecture.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7015056
  • Creation Date:14-MAY-14
  • Modified Date:14-MAY-14
    • SUSESUSE Linux Enterprise Desktop
      SUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center