Description of problem:
During our upgrades from EL6.0 to EL 6.1 and 6.1 to 6.2, gpk-update-viewer goes blank. According to out tests, gpk-update-viewer goes blank when packagekitd emits a "repo-list-changed".
This seems to be triggered when specific packages are updated.
We ran 3 tests with packagekitd and gpk-update-viewer in verbose mode). The logs are attached.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Enable next RHEL6 (6.0->6.1 or 6.1->6.2) channels and wait until packagekit refreshes.
2. Start an upgrade using the application gpk-update-viewer.
3. At a given time the application goes blank.
4. If you check the verbose log of packagekitd and gpk-update-viewer, will notice that it happens right after the signal "repo-list-changed" be triggered.
The window of the application goes blank, but the update continues behind.
The window of the application should continue showing the packages updates status and the overall status.
The log is from updates of EL 6.0 to EL 6.1.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. 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. If you would like it considered as an
exception in the current release, please ask your support
Created attachment 528443 [details]
Screenshots of the blank window.
Three screenshots of the blank window.
The package YUM was being installed.
(In reply to comment #3)
> The package YUM was being installed.
Hi Rodrigo. Did you ever reproduce this on any other package than the yum package? PackageKit has code that deals with itself, yum and the gnome frontend being upgraded, and it could be this code that caused a refresh in the middle of the transaction.
Created attachment 562525 [details]
Upgrade from our el6.0 to el6.2 bug can be seen at 08:50
" not found ID for package"
Created attachment 562526 [details]
pkmon of upgrade process
pkmon of upgrade from our el6.0 to 6.2
Change to 6.2.
Tested patch provided by Richard Hughes.
completed same test, no blank window.
Author: Richard Hughes <firstname.lastname@example.org>
Date: Mon Feb 20 17:57:15 2012 +0000
Do not attempt to refresh the updates list when a transaction is running
If a package adds or removes a .repo file during a transaction, the
::RepoListChanged() signal gets sent from PackageKit. If a tranaction is already
running, then just ignore the signal and continue the transaction like normal.
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.
Committed into rhel-6.4.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.