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

  • 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/

  • 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/

  • 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.


Additional Information


Disclaimer

This Support Knowledgebase provides a valuable tool for 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-2008
  • Modified Date:03-Mar-2020
    • Subscription Management Tool
    • SUSE Linux Enterprise Server
    • SUSE Linux Enterprise Software Development Kit

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

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