SUSE Support

Here When You Need Us

SMT does not mirror src rpms

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

Environment

SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 11 Service Pack 2

Situation

On the SMT server src rpms are not being mirrored.

The configuration file /etc/smt.conf has option MirrorSRC set to true.

Resolution

Remove local repomd.xml file from the affected repository.

Example:
rm /srv/www/htdocs/repo/\$RCE/SLES11-SP1-Updates/sle-11-x86_64/repodata/repomd.xml

Then "smt-mirror" will download correct repomd.xml and src rpms will be mirrored.

Cause

The repository repomd.xml file may be corrupt. During the "smt-mirror" command a HEAD request is done and field "Last-Modified" is being checked for modifications. This value is not changing for the repositories of products that are not supported anymore. Therefore the correct copy of repomd.xml is not being downloaded.

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:7011978
  • Creation Date: 19-Mar-2013
  • Modified Date:28-Sep-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

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

tick icon

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.

tick icon

Open an Incident

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