SUSE Support

Here When You Need Us

Bootstrap repo creation fails with error

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

Environment

SUSE Manager Server 4.3
SUSE Manager Server 4.2

Situation

Running the command "mgr-create-bootstrap-repo --with-parent-channel=ubuntu-18.04-pool-amd64" results in the following error:
 
Creating bootstrap repo for ubuntu-18.04-amd64
copy 'python3-immutables-0.11-1.all-deb'
copy 'python3-contextvars-2.4-1.all-deb'
ERROR: '/srv/www/htdocs/pub/repositories/ubuntu/18/4/bootstrap.tmp/debs/libnorm1-1.5r6+dfsg1-6.amd64-deb.deb' cannot be included as 'pool/main/n/norm/libnorm1_1.5r6+dfsg1-6_amd64.deb'.
Already existing files can only be included again, if they are the same, but:
md5 expected: d9655108be5fb233f9bdefd6546d11df, got: e91364a226017cd085ffc66be398caac
sha1 expected: b83c8fcc3d4cfb9fae149769006c3e0af43b4dbb, got: effc39d89cae0bb7ae51ec7f25ab48f739c7f28b
sha256 expected: d1a2ea0ca27834bf135382d733ef004f0817c37fa06cf505ab50f75c3ef82c36, got: d16894811280faa258b132786870b9adfc264d50bf844c0ee990291114652da9
size expected: 224464, got: 224492

Resolution

Use the following command to flush the target bootstrap repository folder and regenerate the contents:
 
# mgr-create-bootstrap-repo --create ubuntu-18.04-amd64 --with-custom-channels --flush

Cause

The bootstrap repository folder contained corrupted or otherwise invalid files.

Status

Top Issue

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:000021120
  • Creation Date: 28-Jun-2023
  • Modified Date:28-Jun-2023
    • SUSE Manager 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.