Bug 1642878

Summary: previous update info is leaking into current update info
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: gnome-softwareAssignee: Richard Hughes <rhughes>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: carl, klember, lruzicka, rhughes, sgraf, yulinux
Target Milestone: ---Keywords: CommonBugs
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: https://fedoraproject.org/wiki/Common_F29_bugs#gnome-software-leakin
Fixed In Version: gnome-software-3.30.6-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-22 03:02:05 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
video demonstration of the problem
none
journal.log
none
packagekit.log
none
packagekit-offline-update.log
none
rpm-qa.out none

Description Kamil Páral 2018-10-25 09:16:25 UTC
Description of problem:
Whenever I update some packages using gnome-software, for the next update, I again see the same packages mentioned in gnome-software as available updates (+ some new real updates).

In the video attached, I updated telnet and tmux. For the next update, only opus is available as an update, but gnome-software shows telnet+tmux+opus.

I can reproduce this consistently every time. Also, I checked using `pkcon get-updates`, and this is only displayed incorrectly in gnome-software - pkcon shows only the real set of available updates.

As far I as I say, this only seems to be a graphical glitch and doesn't prevent performing updates. But it could explain some weird glitches people saw regarding the available update set.

Version-Release number of selected component (if applicable):
appstream-data-29-7.fc29.noarch
gnome-software-3.30.5-1.fc29.x86_64
libappstream-glib-0.7.14-2.fc29.x86_64
PackageKit-1.1.11-1.fc29.x86_64
PackageKit-command-not-found-1.1.11-1.fc29.x86_64
PackageKit-glib-1.1.11-1.fc29.x86_64
PackageKit-gstreamer-plugin-1.1.11-1.fc29.x86_64
PackageKit-gtk3-module-1.1.11-1.fc29.x86_64


How reproducible:
always

Steps to Reproduce:
1. make your system fully updated
2. downgrade package X
3. update package X via gnome-software
4. downgrade package Y
5. see that gnome-software shows available updates for X and Y

Comment 1 Kamil Páral 2018-10-25 09:18:03 UTC
Created attachment 1497369 [details]
video demonstration of the problem

Comment 2 Kamil Páral 2018-10-25 09:18:43 UTC
Created attachment 1497370 [details]
journal.log

Comment 3 Kamil Páral 2018-10-25 09:18:48 UTC
Created attachment 1497371 [details]
packagekit.log

Comment 4 Kamil Páral 2018-10-25 09:18:52 UTC
Created attachment 1497372 [details]
packagekit-offline-update.log

Comment 5 Kamil Páral 2018-10-25 09:18:56 UTC
Created attachment 1497373 [details]
rpm-qa.out

Comment 6 Kalev Lember 2018-12-18 02:16:02 UTC
This should be now fixed upstream in https://gitlab.gnome.org/GNOME/gnome-software/commit/c6dc808a0645ce01c319fd995a8edb8d56175c5d

Comment 7 Fedora Update System 2018-12-19 03:36:34 UTC
PackageKit-1.1.12-2.fc29, gnome-software-3.30.6-1.fc29, libappstream-glib-0.7.14-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e0db56c00c

Comment 8 Fedora Update System 2018-12-22 03:02:05 UTC
PackageKit-1.1.12-2.fc29, gnome-software-3.30.6-1.fc29, libappstream-glib-0.7.14-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.