Bug 1331703 - Example command to disable repositories does not work
Summary: Example command to disable repositories does not work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Docs Install Guide
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: Unspecified
Assignee: Brandi Munilla
QA Contact: Allison Heslin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-29 10:37 UTC by Stuart Auchterlonie
Modified: 2019-09-25 20:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-02 23:33:24 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Stuart Auchterlonie 2016-04-29 10:37:36 UTC
Document URL: 

https://access.redhat.com/documentation/en/red-hat-satellite/version-6.2-beta/installation-guide/

Section Number and Name: 

3.1.3. Configuring Repositories

Describe the issue: 

If you cut and paste the command to disable all the repositories
the command will fail with the error

# subscription-manager repos --disable " * "
Error:  *  is not a valid repository ID. Use --list option to see valid repositories.


Suggestions for improvement: 

The correct command is

# subscription-manager repos --disable "*"

ie. no spaces around the '*' in the command line

Additional information: 

This is in the Doc's for the BETA and should be fixed for GA.

Comment 1 Stuart Auchterlonie 2016-04-29 10:43:37 UTC
Cutting and pasting the repo enablement also causes problems.

# subscription-manager repos --enable rhel-7-server-rpms \ --enable=rhel-server-rhscl-7-rpms \ --enable=rhel-7-server-satellite-6-beta-rpms
cannot parse argument:  --enable=rhel-server-rhscl-7-rpms
cannot parse argument:  --enable=rhel-7-server-satellite-6-beta-rpms

This should be put into the standard black code box.

The name of the satellite server channel is also wrong,
after fixing the above command to

# subscription-manager repos --enable rhel-7-server-rpms --enable=rhel-server-rhscl-7-rpms --enable=rhel-7-server-satellite-6-beta-rpms
Error: rhel-7-server-satellite-6-beta-rpms is not a valid repository ID. Use --list option to see valid repositories.

The correct channel name is `rhel-server-7-satellite-6-beta-rpms`

Comment 2 Brandi Munilla 2016-04-29 18:08:56 UTC
Thank you, Stuart. Corrections have been made to Section 3.1.3 of the Installation Guide. The repo enablement commands have been placed in the standard code box as well.

Comment 4 Andrew Dahms 2016-05-02 23:33:24 UTC
This content is now live on the Customer Portal.

Closing.


Note You need to log in before you can comment on or make changes to this bug.