Bug 1027688 - gnome-software dont pickup installed package before system is rebooted.
Summary: gnome-software dont pickup installed package before system is rebooted.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-software
Version: rawhide
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: 2013-11-07 09:49 UTC by Tim Lauridsen
Modified: 2014-08-07 15:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-07 15:28:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
before reboot (126.71 KB, image/png)
2013-11-07 09:49 UTC, Tim Lauridsen
no flags Details
after reboot (143.02 KB, image/png)
2013-11-07 09:50 UTC, Tim Lauridsen
no flags Details
after remove, and search for yumex (159.21 KB, image/png)
2013-11-07 09:52 UTC, Tim Lauridsen
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 734437 0 None None None Never

Description Tim Lauridsen 2013-11-07 09:49:31 UTC
Created attachment 820968 [details]
before reboot

Description of problem:
If I install a local package with a newer version of an application, gnome-software don't pickup the change before the system is changed.


Version-Release number of selected component (if applicable):
3.11.1


How reproducible:
every time


Steps to Reproduce:
1. git clone https://github.com/timlau/yumex.git
2. cd yumex
3. sudo make get-builddeps
4. make test-inst (this will build & install a local 3.0.14 yumex package)
5. start gnome-software
6. search for 'yumex'

Actual results:
gnome-software shows the yumex-3.0.13 package available in the repository

Expected results:
gnome-software shows the yumex-3.0.14 package installed on the system.

Additional info:
After reboot of the system, then yumex-3.0.14 is shown with the appdata infomation it contains.
If I remove the yumex-3.0.14 package using gnome-software and seach for yumex, it finds the yumex-3.0.14 package as available, if I tries to install it, gnome-software will crach because the yumex-3.0.14 package is not available from the repository to install.

Comment 1 Tim Lauridsen 2013-11-07 09:50:39 UTC
Created attachment 820969 [details]
after reboot

Comment 2 Tim Lauridsen 2013-11-07 09:52:15 UTC
Created attachment 820970 [details]
after remove, and search for yumex

Comment 3 Adam Williamson 2014-08-07 15:28:37 UTC
Thanks for the report! I spoke to hughsie about this bug and he said the correct way to fix it (and several similar cases) would be for Software to listen to PackageKit for cache invalidations, and refresh its metadata when that happens. He said it'd make most sense to track this as an upstream bug (as it's basically a 'new feature', even though the purpose is to fix bugs), so I've filed https://bugzilla.gnome.org/show_bug.cgi?id=734437 , and we'll close this in favour of that - it doesn't mean the bug won't be fixed, just that that's the best way to track work. Thanks again!


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