Bug 1213694 - Updates show in Gnome Software after being installed with DNF
Summary: Updates show in Gnome Software after being installed with DNF
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-software
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-21 05:23 UTC by Ezra Sharp
Modified: 2015-05-15 21:32 UTC (History)
4 users (show)

Fixed In Version: libhif-0.2.0-3.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-15 21:32:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ezra Sharp 2015-04-21 05:23:02 UTC
Description of problem:
I hadn't realized Gnome Software had improved so much, so I installed all available updates with DNF form terminal after checking for updates in Gnome Software. 

Then I opened Gnome software again and it said all the previous updated were still to be installed. SO I clicked "Restart & Installed".

The system reset, appeared to install and rebooted back to login. I logged in and was told the updates had failed to install.

I opened GNome software again and it still showed updates available, after I checked for updates, it finally released the updated did not need to be installed after all.


Version-Release number of selected component (if applicable):
Gnome Software: 3.16.1
DNF: 0.6.5

How reproducible:
I haven't tried this, but it should reproduce if there are updated available.

Steps to Reproduce:
1. Check for updates in Gnome software, once found. Close it.
2. In terminal, run DNF update and install.
3. Reopen gnome software and see it still says updates are available. 

Actual results:
Shows updates previously installed with DNF as available to install.

Expected results:
Gnome Software should show no updates available.

Additional info:
Some sort of check should exist between the two processes.

Comment 1 Kalev Lember 2015-04-21 10:46:32 UTC
Hm, this is supposed to work. gnome-software has code to detect anything else touching the rpm database and it is supposed to retract the update in that case.

Comment 2 Ezra Sharp 2015-04-21 15:36:50 UTC
Checked again on another system. 

Unless you explicitly check for updates after updating with DNF, Gnome Software will still think updates are available to install and try to install them. 

Whatever checks it has, its not doing them when the app is opened or after DNF runs.

Comment 3 Kalev Lember 2015-05-15 09:38:48 UTC
Sorry, I forgot to comment in this bug. I debugged it the other day and it turned out to be a libhif regression - fixed in the pending libhif-0.2.0-3.fc22 update.

Comment 4 Fedora Update System 2015-05-15 09:39:26 UTC
libhif-0.2.0-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/libhif-0.2.0-3.fc22

Comment 5 Fedora Update System 2015-05-15 21:32:50 UTC
libhif-0.2.0-3.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


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