Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
There is a typo if in the subscription-manager output the repository, if a repository name is not found.
Version-Release number of selected component (if applicable):
subscription-manager-1.15.9-15.el7.x86_64
How reproducible:
Always.
Steps to Reproduce:
1. Run on a system set up using german language:
# subscription-manager repos --enable=demo
Actual results:
# subscription-manager repos --enable=demo
Fehler: demo ist kine gültige Repository-ID. Verwenden Sie die --list Option, um gültige Repositorys anzuzeigen.
Expected results:
# subscription-manager repos --enable=demo
Fehler: demo ist _keine_ gültige Repository-ID. Verwenden Sie die --list Option, um gültige Repositorys anzuzeigen.
Re-testing with version...
[root@jsefler-rhel7 ~]# rpm -q subscription-manager
subscription-manager-1.17.15-1.el7.x86_64
[root@jsefler-rhel7 ~]# subscription-manager repos --enable=demo
Error: 'demo' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
[root@jsefler-rhel7 ~]# LANG=de_DE.utf-8 subscription-manager repos --enable=demo
Fehler: »demo« stimmt nicht mit einer gültigen Repository-ID überein. Verwenden Sie »subscription-manager repos --list«, um gültige Repositorys anzuzeigen.
Notice above that the translated string has changed since subscription-manager-1.15.9-15.el7. The German word "keine" is no longer used. The translation was changed to fix Bug 1351009 and appears in subscription-manager-1.17.10-1.
Fixed in following version, so moving bug to verified:
[root@hp-ms-01-c02 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.2.0-1
subscription management rules: 5.26
subscription-manager: 1.20.5-1.el7
python-rhsm: 0.0.0-1
[root@hp-ms-01-c02 ~]# subscription-manager repos --enable=demo
Error: 'demo' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
[root@hp-ms-01-c02 ~]# LANG=de_DE.utf-8 subscription-manager repos --enable=demo
Fehler: »demo« stimmt nicht mit einer gültigen Repository-ID überein. Verwenden Sie »subscription-manager repos --list«, um gültige Repositorys anzuzeigen.