After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 777837 - Installed status of dependencies only updated after restart
Installed status of dependencies only updated after restart
Status: RESOLVED OBSOLETE
Product: gnome-software
Classification: Applications
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-01-27 15:20 UTC by jre.winesim
Modified: 2018-01-24 17:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jre.winesim 2017-01-27 15:20:01 UTC
If I install winetricks in gnome-software it correctly pulls in its dependency wine.  But then in g-s only winetricks will be shown as installed, wine not.

If I explicitly click install wine then, it shows some progress bars, and afterwards everything is shown correctly.

Alternatively I can "killall gnome-software" (or reboot).  Then the status is correct in a new g-s.


If I uninstall wine it will also correctly uninstall winetricks, but both (winetricks always, wine maybe only sometimes) will still be shown as installed in g-s.  If I try to "uninstall" it again I correctly get an error "no packages to remove".

After killall & restart their status is correct again.


Not sure if this is the solution, or just related, but I'd like g-s to refresh/reload its database (or whatever) automatically, or at least when it is "restarted" (= close window and start again), without having to kill the old process first.

Debian Stretch (testing/unstable)
gnome-software 3.22.5-1
wine           1.8.6-3
winetricks     0.0+20170101-1

Note:
wine installs only an appdata.xml (will submit upstream soon), but no .desktop file.
winetricks only installs a .desktop (in upstream git, but not released yet).
The needed versions to reproduce are currently in Debian unstable and Ubuntu Zesty.
Comment 1 Allan Day 2017-10-24 09:38:41 UTC
On Fedora wine is just a library - there is no front-end component, so it doesn't ever show up in Software. Could you explain which app you think should appear in Software?
Comment 2 jre.winesim 2017-10-24 21:05:33 UTC
In Debian we ship this appdata.xml file: https://anonscm.debian.org/git/pkg-wine/wine.git/tree/debian/org.winehq.wine.appdata.xml?h=buster

(I developed it together with Matthias Klumpp, see https://bugs.debian.org/848839. Thanks for reminding me to finally push it upstream!)

It gives this metadata https://appstream.debian.org/sid/main/metainfo/wine.html.

So "Wine" shows up in the Gnome Software Center, and installs the "wine" package (on Ubuntu "wine-stable") and its dependencies.

But you are right, indeed there is no real graphical Wine front-end which a user might "launch".  We also don't ship the .desktop file, which has "NoDisplay=true" anyways.  This is tracked in bug #777838 here (Please disable "Launch" if only appdata.xml but no .desktop is provided).
Comment 3 GNOME Infrastructure Team 2018-01-24 17:27:02 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-software/issues/139.