Skip to content

prepare -h artifact --provide repository-file:<some-url> on RHEL-6 gives warning #4805

@tcornell-bus

Description

@tcornell-bus
        prepare task #9: default-2 on default-0
        how: artifact

[...removed...]

            Providing repository 'bind-blah' for installation 
            cmd:
                
                yum repoquery --disablerepo='*' --enablerepo=brew-task-repo-bind-blah
            warn: Failed to enumerate packages from repository 'bind-blah'.
            warn: 
            warn:
                Command '
                yum repoquery --disablerepo='*' --enablerepo=brew-task-repo-bind-blah
                ' returned 1.
            warn: 
            warn: # stdout (3 lines)
            warn: # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            warn: Loaded plugins: product-id, search-disabled-repos, security, subscription-
            warn:               : manager
            warn: This system is not registered with an entitlement server. You can use subscription-manager to register.
            warn: # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            warn: 
            warn: # stderr (1 lines)
            warn: # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            warn: No such command: repoquery. Please use /usr/bin/yum --help
            warn: # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            warn: 
        Configured artifact preparation with 1 provider(s) and 2 repository(ies).

Seems like when the package manager is yum, the command should be just repoquery since I think that is how it is in rhel-6.

The updated package from the repo file still got installed as expected, so not a blocker and low priority, the warning is confusing though.

Metadata

Metadata

Assignees

Labels

plugin | artifactRelated to the `prepare/artifact` plugin.step | prepareStuff related to the prepare step

Type

Projects

Status

backlog

Status

triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions