Skip to content

CRB on CentOS seems to be renamed to repo-setup-centos-powertools #1748

@cjeanner

Description

@cjeanner

While trying to deploy, I faced the following issue:

    +(./01_install_requirements.sh:88): [[ centos9 == \c\e\n\t\o\s\9 ]]
    +(./01_install_requirements.sh:89): sudo dnf config-manager --set-enabled crb
    Error: No matching repo to modify: crb.

After poking a bit, the error is nested on this line:

sudo dnf config-manager --set-enabled crb

And after some MORE poking, it seems the repository is renamed on CentOS, while still referencing the "good old URI":

[repo-setup-centos-powertools]
name=repo-setup-centos-powertools
baseurl=http://mirror.stream.centos.org/9-stream/CRB/$basearch/os/
gpgcheck=0
enabled=1

So I guess the project is good for some try/catch (such as sudo dnf config-manager --set-enabled crb || sudo dnf config-manager --set-enabled repo-setup-centos-powertools)

Cheers,

C.

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