|
Bugzilla – Full Text Bug Listing |
| Summary: | PackageKit (zypp backend) does not always list all available updates | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Jean Delvare <jdelvare> |
| Component: | GNOME | Assignee: | Jonathan Kang <songchuan.kang> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | yfjiang |
| Version: | Leap 15.1 | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE Leap 15.1 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
pk_backend_zypp when updates are missing
pk_backend_zypp when the list of updates is complete |
||
|
Description
Jean Delvare
2020-12-17 09:02:00 UTC
I think Jonathan may have ideas to diagnose it further. Note that I can currently reproduce the problem by calling gpk-update-viewer repeatedly but not installing the update in question when it is offered. But at some point I may have to install the wine update if a Windows game I'm playing requires it. So it would be nice to have this investigated rather sooner than later. I ran gpk-update-viewer with option -v in the hope that it would reveal something. The only real difference between the working and failing cases is, as expected, the number of "adding" statements logged. Success case: 09:48:41 GnomePackageKit adding: id=skypeforlinux;8.67.0.96-1;(...) 09:48:41 GnomePackageKit adding: id=wine-staging;6.0~rc1-lp151.1230.3;(...) 09:48:41 GnomePackageKit adding: id=wine-staging-32bit;6.0~rc1-lp151(...) Failure case: 09:59:59 GnomePackageKit adding: id=skypeforlinux;8.67.0.96-1;(...) The only visible problems in both log file are: *** 09:59:38 GnomePackageKit failed to load ui: Failed to open file "/usr/share/gnome-packagekit/gpk-signature.ui": No such file or directory *** at the start, and repeated occurrences of: *** 09:59:38 GnomePackageKit wrap_width is impossibly small -200 *** But that looks like minor UI issues and probably not related with my problem. I could not find anything in /var/log/zypp/history, and could also not find any way to increase the verbosity in /etc/zypp/zypp.conf. What to do next? The same bug occurs on SLED 15 SP2. Most of the times gpk-update-viewer lists all available updates, but sometimes it only lists a subset. I am under the impression that the bug is more likely to occur if gpk-update-viewer has not need started for some time. For example, if I start it 4 times in a row, the bug will happen the first time (missing updates), but not on the next 3 times (complete list of updates). Jonathan, have you tried to reproduce this? please attach the content of /var/log/pk-backend-zypp. It includes a lot of information about what libzypp is actually doing. Thanks. Created attachment 845476 [details]
pk_backend_zypp when updates are missing
Created attachment 845477 [details]
pk_backend_zypp when the list of updates is complete
I've attached two excerpts of my /var/log/pk_backend_zypp file (on SLED 15 SP2). First excerpt corresponds to a case where only about half of the available updates were listed. Second except corresponds to a case where all available updates (as far as I can tell) were listed. Second test was started 10 seconds after the first test was over. If I wait more than that (say 10 minutes) then I'm back to the non-working case (missing updates). Thank you, Jean. I got it reproduced at my test machine as well. And I have a rough idea about what is going wrong. Working on it. This is an autogenerated message for OBS integration: This bug (1180150) was mentioned in https://build.opensuse.org/request/show/867195 Factory / PackageKit Fix has been submitted to related products. RESOLVED FIXED. SUSE-RU-2021:0357-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 1180150 CVE References: JIRA References: Sources used: SUSE Linux Enterprise Workstation Extension 15-SP2 (src): PackageKit-1.1.13-4.17.6 SUSE Linux Enterprise Module for Desktop Applications 15-SP2 (src): PackageKit-1.1.13-4.17.6 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. openSUSE-RU-2021:0287-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 1180150 CVE References: JIRA References: Sources used: openSUSE Leap 15.2 (src): PackageKit-1.1.13-lp152.3.19.1 *** Bug 1173191 has been marked as a duplicate of this bug. *** |