Red Hat Bugzilla – Bug 1027688
gnome-software dont pickup installed package before system is rebooted.
Last modified: 2014-08-07 11:28:37 EDT
Created attachment 820968 [details]
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):
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'
gnome-software shows the yumex-3.0.13 package available in the repository
gnome-software shows the yumex-3.0.14 package installed on the system.
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.
Created attachment 820969 [details]
Created attachment 820970 [details]
after remove, and search for yumex
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!