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.
Bug 701344 - yum tracebacks when package with ® in name is installed
Summary: yum tracebacks when package with ® in name is installed
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum
Version: 6.1
Hardware: All
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: James Antill
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks: 748850
TreeView+ depends on / blocked
 
Reported: 2011-05-02 16:39 UTC by Calvin Locklear
Modified: 2018-11-26 18:48 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 748850 (view as bug list)
Environment:
Last Closed: 2012-06-25 15:37:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
test rpm (1.45 KB, application/x-rpm)
2011-10-25 14:00 UTC, Michael Mráka
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Legacy) 42643 0 None None None Never

Description Calvin Locklear 2011-05-02 16:39:39 UTC
Description of problem:  Unable to update a system from satellite with Adobe®_LiveCycle® products installed.  Getting errors: While running 'registration.update_packages': caught
exceptions.UnicodeEncodeError : 'ascii' codec can't encode character u'\xae' in position 5: ordinal not in range(128)


Version-Release number of selected component (if applicable): RHN 5.4


How reproducible:


Steps to Reproduce:
1.  Register system to satellite.
2.  Install packages to system with ® in name.(example Adobe®_LiveCycle®)
3.  Attempt to update system using 'yum update'. 
  
Actual results:
Getting error:  Error communicating with server. The message was:
While running 'registration.update_packages': caught
exceptions.UnicodeEncodeError : 'ascii' codec can't encode character u'\xae' in position 5: ordinal not in range(128)


Expected results:
All packages on system should be updated to packages on satellite.

Additional info:

Comment 13 Michael Mráka 2011-10-25 14:00:38 UTC
Created attachment 530099 [details]
test rpm

Rpm to reproduce the bug.

Comment 14 James Antill 2011-10-25 16:18:21 UTC
 I think we need a _really_ good reason to not just close this as Not a Bug:

1. None of our tools have been tested with utf-8 package names.

2. It's not possible to create them with rpmbuild, and Fedora/RHEL wouldn't allow them if this was fixed (due to #1).

3. We already support utf-8 in summary/description, so the "feature" we get by supporting this seems very minimal .

4. The number of fixes required is likely _huge_. Just as an example, we rely on len(pkg.name) == width of string on screen and using things like %*.*s on it ... converting all of those to utf8_width() and utf8_chop() etc. is going to be a lot of work (and has layering problems). And that's _just_ yum+urlgrabber.

...it _might_ be worth fixing up "yum install blah.rpm" to nicely reject pkgs. with utf-8 in their name, but I'm not convinced of that either as it'll get zero testing in the future.

Comment 15 RHEL Program Management 2011-10-30 05:47:31 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 16 Jeremy West 2012-06-25 15:37:03 UTC
GSS: per comment #14, let's file an RFE to extend the UTF-8 support outside of just the summary/description.  I'm going to close this bug so that we can focus on higher priority items.


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