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:
[root@intranet ~]# yum update
Loaded plugins: downloadonly, product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 274, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 129, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 432, in doCommands
self._getTs(needTsRemove)
File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 99, in _getTs
self._getTsInfo(remove_only)
File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 110, in _getTsInfo
pkgSack = self.pkgSack
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 882, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 668, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 260, in populateSack
self.doSetup()
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 72, in doSetup
self.ayum.plugins.run('prereposetup')
File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 184, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/share/yum-plugins/rhnplugin.py", line 121, in prereposetup_hook
str(e))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 461: ordinal not in range(128)
[root@intranet ~]#
[root@intranet ~]# echo $LANG
de_DE.UTF-8
[root@intranet ~]#
[root@intranet ~]# LANG=C yum update
Loaded plugins: downloadonly, product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
There was an error communicating with RHN.
RHN Satellite or RHN Classic support will be disabled.
Error Message:
Service not enabled for system profile: "intranet"
Error Class Code: 31
Error Class Info:
This system does not have a valid entitlement for Red Hat Network.
Please visit https://rhn.redhat.com/rhn/systems/SystemEntitlements.do
or login at https://rhn.redhat.com, and from the "Your RHN" tab,
select "Subscription Management" to enable RHN service for this system.
Explanation:
Your organization does not have enough Management entitlements to register this
system to Red Hat Network. Please notify your organization administrator of this error.
You should be able to register this system after your organization frees existing
or purchases additional entitlements. Additional entitlements may be purchased by your
organization administrator by logging into Red Hat Network and visiting
the 'Subscription Management' page in the 'Your RHN' section of RHN.
A common cause of this error code is due to having mistakenly setup an
Activation Key which is set as the universal default. If an activation key is set
on the account as a universal default, you can disable this key and retry to avoid
requiring a Management entitlement.
[...]
Version-Release number of selected component (if applicable):
yum-3.2.29-17.el6.noarch
How reproducible:
Everytime, see above and below
Steps to Reproduce:
1. Get a Red Hat evaluation subscription
2. Link the system with the evaluation subscription
3. Wait 31 days
4. Try to perform a "LANG=de_DE.UTF-8 yum update"
5. Receive error as copied in above.
Actual results:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position
461: ordinal not in range(128)
Expected results:
No UnicodeEncodeError at all.
Description of problem: [root@intranet ~]# yum update Loaded plugins: downloadonly, product-id, rhnplugin, subscription-manager Updating Red Hat repositories. Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 274, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 129, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 432, in doCommands self._getTs(needTsRemove) File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 99, in _getTs self._getTsInfo(remove_only) File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 110, in _getTsInfo pkgSack = self.pkgSack File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 882, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 668, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.6/site-packages/yum/repos.py", line 260, in populateSack self.doSetup() File "/usr/lib/python2.6/site-packages/yum/repos.py", line 72, in doSetup self.ayum.plugins.run('prereposetup') File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 184, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/share/yum-plugins/rhnplugin.py", line 121, in prereposetup_hook str(e)) UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 461: ordinal not in range(128) [root@intranet ~]# [root@intranet ~]# echo $LANG de_DE.UTF-8 [root@intranet ~]# [root@intranet ~]# LANG=C yum update Loaded plugins: downloadonly, product-id, rhnplugin, subscription-manager Updating Red Hat repositories. There was an error communicating with RHN. RHN Satellite or RHN Classic support will be disabled. Error Message: Service not enabled for system profile: "intranet" Error Class Code: 31 Error Class Info: This system does not have a valid entitlement for Red Hat Network. Please visit https://rhn.redhat.com/rhn/systems/SystemEntitlements.do or login at https://rhn.redhat.com, and from the "Your RHN" tab, select "Subscription Management" to enable RHN service for this system. Explanation: Your organization does not have enough Management entitlements to register this system to Red Hat Network. Please notify your organization administrator of this error. You should be able to register this system after your organization frees existing or purchases additional entitlements. Additional entitlements may be purchased by your organization administrator by logging into Red Hat Network and visiting the 'Subscription Management' page in the 'Your RHN' section of RHN. A common cause of this error code is due to having mistakenly setup an Activation Key which is set as the universal default. If an activation key is set on the account as a universal default, you can disable this key and retry to avoid requiring a Management entitlement. [...] Version-Release number of selected component (if applicable): yum-3.2.29-17.el6.noarch How reproducible: Everytime, see above and below Steps to Reproduce: 1. Get a Red Hat evaluation subscription 2. Link the system with the evaluation subscription 3. Wait 31 days 4. Try to perform a "LANG=de_DE.UTF-8 yum update" 5. Receive error as copied in above. Actual results: UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 461: ordinal not in range(128) Expected results: No UnicodeEncodeError at all.