Novell Home

My Favorites

Close

Please to see your favorites.

Migrating from YUP to SMT

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

Environment

Novell SUSE Linux Enterprise Server 10
Novell SUSE Linux Enterprise Desktop 10
Novell SUSE Linux Enterprise 10 Software Development Kit (SLE SDK 10)
Subscription Management Tool

Situation

You have used YUP (Yum Update Proxy, see TID 3065146) to mirror package updates for SLE 10 from the Novell update service and want to switch to SMT (Subscription Management Tool, see http://www.novell.com/linux/smt/). You want to reuse the existing software repositories that have been downloaded via YUP. Payoff is to save time and bandwith during the initial syncronisation of patches with the Novell update server.

Resolution

In order to reuse SLE10 patches that have been previously downloaded via YUP please go ahead as follows:
  1. Complete the installation of SMT.
  2. Enable the catalogs to be mirrored with SMT – e.g. :

    smt-catalogs -e SLES10-SP2-Online sles-10-i586
    smt-catalogs -e SLES10-SP2-Updates sles-10-i586

  3. Perform a dry-run of smt-mirror to get the repo directories created:

    smt-mirror -d --dryrun -L /var/log/smt-mirror.log

    This will - using the two catalogs above and if using the default MirrorTo - create:

    /srv/www/htdocs/repo/repoindex.xml
    /srv/www/htdocs/repo/$RCE/SLES10-SP2-Online/
    /srv/www/htdocs/repo/$RCE/SLES10-SP2-Updates/

  4. Now you can copy over the repositories from your YUP repository to the SMT repository - e.g. :

    cp -va /SLE10_YUP/SLES10-SP2-Online/* \ /srv/www/htdocs/repo/\$RCE/SLES10-SP2-Online/
    cp -va /SLE10_YUP/SLES10-SP2-Updates/* \ /srv/www/htdocs/repo/\$RCE/SLES10-SP2-Updates/

  5. Perform a normal run of "smt-mirror" in order to get the repodata fixed up:

    smt-mirror -d -L /var/log/smt-mirror.log

    This will show errors like

    repomd.xml is the same, but repo is not valid. Start mirroring.

      Please note, that some of the RPMs that have been mirrored with YUP may get overwritten, but reusing previously downloaded catalogs  will saves quite some time during the initial mirroring anyway.


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:7000848
  • Creation Date:04-JUL-08
  • Modified Date:30-APR-12
    • SUSESubscription Management Tool
      SUSE Linux Enterprise Desktop
      SUSE Linux Enterprise Server
      SUSE Linux Enterprise Software Development Kit

Did this document solve your problem? Provide Feedback