Broken yum config-manager command on CentOS 7#448
Merged
Conversation
Signed-off-by: rajdeep1008 <iamrajdeep1008@gmail.com>
Member
|
Doh! Looks like I broke this in b982474, which was part of; I should warn though that we no longer support CentOS 7 (which was the last distro using yum) as it reached EOL, so no updated packages will be published, and the portions of the script that use yum may eventually be removed. So if you're still running CentOS 7 (or 8), make sure you update to a supported distro. |
Member
|
Hm... let me check; I think a deploy was triggered at the time, but wondering if something failed. |
Member
|
Triggered a new deploy; looks to be all good now, and at commit 6d51e2c curl -fsSL get.docker.com | grep 'SCRIPT_COMMIT_SHA='
SCRIPT_COMMIT_SHA="6d51e2cd8c04b38e1c2237820245f4fc262aca6c"
curl -fsSL test.docker.com | grep 'SCRIPT_COMMIT_SHA='
SCRIPT_COMMIT_SHA="6d51e2cd8c04b38e1c2237820245f4fc262aca6c"
curl -fsSL get.docker.com/rootless | grep 'SCRIPT_COMMIT_SHA='
SCRIPT_COMMIT_SHA=6d51e2c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

- What I did
"yum config-manager" to "yum-config-manager"- How I did it
- How to verify it
- Description for the changelog
The install script seems to be broken on CentOS 7. It results in "--add-repo not found" error. The actual issue seems from be about config-manager command not being there even after installation of yum-utils
Installing yum-utils should enable
yum config-managercommand in later versions of the OS (haven't tested) but it doesn't do it on the CentOS 7. This PR is to point this issue out and maybe someone can test on the newers OS versions ifyum-config-manageris good to go or not. Thanks.- A picture of a cute animal (not mandatory but encouraged)