Skip to content

Conversion fails when both CentOS and RHEL repos are behind a Satellite server #471

@bessonc

Description

@bessonc

Unless I miss something, such a scenario does not seem handled for now.
The process tries to download the centos-release pkg after having disabled all repos from redhat.repo, hence it happens too late in the process.
=> Uninstalling the pkg in question from the RPMDB only (rpm -e --nodeps --justdb centos-release) fixed the issue for the customer.
=> On my side, in using standard/external CentOS repos, I needed to add "7" in /etc/yum/vars/releasever and then hacked the code to remove that file before convert2rhel invokes a repoquery against RHEL7 repos (where $releasever must be "7Server" instead).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions