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.

Bug 864127

Summary: gpk-update-viewer fails to show package description with
Product: Red Hat Enterprise Linux 6 Reporter: Zebu1er <bugzilla.redhat.com>
Component: gnome-packagekitAssignee: Richard Hughes <rhughes>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3CC: bugzilla.redhat.com, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 10:41:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Working case (LANG=en_US)
none
Non working case (LANG=fr_FR) none

Description Zebu1er 2012-10-08 16:32:19 UTC
Description of problem:
Selecting an update in the list fails to show the summary (emptied), instead an error is thrown to stdout.

Version-Release number of selected component (if applicable):
gnome-packagekit-2.28.3-4 (EL 6.3, x64)

How reproducible:
Any time, having gpk-update-viewer lanched with LANG=fr_FR or LANG=fr_FR.UTF-8.
Does not apply to LANG=en_US.

Steps to Reproduce:
1. Open a console
2. Type LANG=fr_FR gpk-update-viewer
3. Select a base repo package to update in the list
  
Actual results:
Throws to the console :
WARNING **: Invalid markup string: Erreur  la ligne 1: Le nom d'entit nbsp n'est pas connu.
The above message (missing the letters with diacritics) means : Error on line 1: The entity name nbsp is unknown.

Expected results:
No error thrown to stdout but summary shown, like it is acting with the locale en_US.

Additional info:
"nbsp" in the error message probably refers to XML &nbsp; entity.
The system is set to LANG=fr_FR.UTF-8 default locale.
Bug 744906 seems at first similar but is about dual arch (x86 + x64) simultaneous package update.
Some none RHEL base repo packages show correctly in summary.

Comment 2 Zebu1er 2012-10-14 10:28:53 UTC
Created attachment 626883 [details]
Working case (LANG=en_US)

Update package description shows, no error thrown to STDOUT/STDERR.

Comment 3 Zebu1er 2012-10-14 10:32:50 UTC
Created attachment 626884 [details]
Non working case (LANG=fr_FR)

Update package description doesn't show, error thrown to STDOUT/STDERR : ** (gpk-update-viewer:24185): WARNING **: Invalid markup string: Erreur à la ligne 1: Le nom d'entité <<nbsp>> n'est pas connu

Comment 4 RHEL Program Management 2012-12-14 08:08:18 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 Richard Hughes 2014-05-20 10:19:01 UTC
GMarkupParser does not know about &nbsp; -- I'm not sure this is a gnome-packagekit bug more of a PackageKit not parsing the yum data correctly. Some questions first, if I may:

* What desktop type is that?
* Is this happening for every package, or just one?
* What repos are installed? Satellite or RHN should give you a proper package description, rather than falling back to the ChangeLogs

-- Thanks.

Richard.

Comment 6 Zebu1er 2014-05-20 10:34:15 UTC
Repos activated :
CentOS-6 - Base
CentOS-6 - Plus
CentOS-6 - Contrib
CentOS-6 - CR
CentOS-6 - Extras
CentOS-6 - Updates

Note that descriptions always show with LANG=en_US while never with above repos.

My usual desktop is KDE 4.3.4 (kdebase-4.3.4-6.el6.x86_64).

The present version of GPK (gnome-packagekit-2.28.3-7.el6.x86_64) still have presents this bug.

Comment 7 Zebu1er 2014-05-20 19:03:12 UTC
Having a couple of new updates, I tested gpk-update-viewer with :

LANG=fr_FR.ISO88591 gpk-update-viewer
LANG=fr_BE.ISO88591 gpk-update-viewer
LANG=fr_CA.ISO88591 gpk-update-viewer
LANG=fr_FR.UTF-8 gpk-update-viewer
LANG=fr_BE.UTF-8 gpk-update-viewer
LANG=fr_CA.UTF-8 gpk-update-viewer

and it always shows :

** (gpk-update-viewer:19768): WARNING **: Invalid markup string: Erreur à la ligne 1: L'entité nommée nbsp est inconnue

and only when a description has to be shown. Is this case, with en_US, en_EN, es_ES, it_IT, whether ISO or UTF8 is used it would have showned the description.

Comment 8 Zebu1er 2014-05-27 18:48:13 UTC
I've just installed a fresh Centos 6.5 x64 in a VirtualBox instance, choosing French as the language. I also choosed French for the interface in Gnome. Today gpk-update-viewer showed the same bug. I was logged on with a non privileged user.

Comment 9 Zebu1er 2014-05-27 18:52:07 UTC
(In reply to Richard Hughes from comment #5)
> GMarkupParser does not know about &nbsp; -- I'm not sure this is a
> gnome-packagekit bug more of a PackageKit not parsing the yum data
> correctly. Some questions first, if I may:
> 
> * What desktop type is that?
> * Is this happening for every package, or just one?
> * What repos are installed? Satellite or RHN should give you a proper
> package description, rather than falling back to the ChangeLogs
> 
> -- Thanks.
> 
> Richard.

I can provide you the VirtualBox VM to speed your tests, if it can help.

Comment 10 Jan Kurik 2017-12-06 10:41:19 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/