Bug 1285754 - ambiguous uninstall options
Summary: ambiguous uninstall options
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-software
Version: 23
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1285759 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-26 11:46 UTC by Jiri Prajzner
Modified: 2016-01-13 11:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-13 11:46:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
gnome-sw-uninstall-ambiguous (67.19 KB, image/png)
2015-11-26 11:46 UTC, Jiri Prajzner
no flags Details

Description Jiri Prajzner 2015-11-26 11:46:55 UTC
Created attachment 1099257 [details]
gnome-sw-uninstall-ambiguous

Description of problem:
While uninstalling program via Software application, I was given two items for one program on what to uninstall. Screenshot attached.

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

How reproducible:


Steps to Reproduce:
1. install JBoss Developer Studio
2. go to Software > lookup JBoss Developer Studio
3. 

Actual results:
Two items for uninstall of one program are presented.

Expected results:
Only one item per program is presented.

Additional info:
This may be specific to Java applications

Comment 1 Kalev Lember 2015-11-26 16:40:57 UTC
Is JBoss Developer Studio in Fedora so I could try reproducing it here? What's the rpm called? (Sorry for the ignorance!)

Comment 2 Jiri Prajzner 2015-11-27 10:25:32 UTC
Unfortunately, the Java folks don't use RPMs much, they tend to use .JARs, WARs or EARs. Here's how to get the JBoss Developer Studio and install it:  https://developers.openshift.com/en/getting-started-installing-jboss-studio.html

and here's a support matrix, search for Fedora please:
https://access.redhat.com/articles/427493

It's supported on F21 (that's what I had it on initially), and I carried with it throughout F22 and now F23 when I decided to uninstall it.

Comment 3 Rafal Luzynski 2015-12-02 00:25:26 UTC
There is no "two items for one program" issue here. You have two different applications:

* Uninstall Red Hat JBoss Developer Studio 8.1.0.GA
* Red Hat JBoss Developer Studio 8.1.0.GA

and even their icons are different. Hey, GNOME Software has a "spot 3 differences between the images" game hidden inside! :-)

On the other hand you can argue that GNOME Software should not display the uninstallers (but how to tell that an app is in fact an uninstaller?) or that it should use the vendor provided uninstaller to uninstall an app (but how to tell which app is an uninstaller for a given app?) I'm afraid it may be impossible to implement but it's worth investigating first.

Comment 4 Jiri Prajzner 2015-12-02 09:15:19 UTC
Rafal, GNOME has many games, indeed :)
- JBDS was not installed from RPM, so why should the Software application care in the first place?
- none of the options, although not duplicates as you spotted, actually work (that's another reported issue)

I'll try to find out what is actually supported, or if anyone knows, link me please.

Comment 5 Rafal Luzynski 2015-12-02 23:14:49 UTC
(In reply to Jiri Prajzner from comment #4)
> - JBDS was not installed from RPM, so why should the Software application
> care in the first place?

I'm not an expert at GNOME Software but as far as I know g-s searches for the *.desktop files no matter how they have been installed. It does not just search for the installed RPM packages. Note that it can also install the web apps like Facebook.

> - none of the options, although not duplicates as you spotted, actually work
> (that's another reported issue)

Probably you have just spotted a large class of problems. Both JBoss and GNOME Software are related with Red Hat so they should work together perfectly. Either GNOME Software needs another plugin or the JBoss install/uninstall implementation should be tweaked a little to match the requirements of g-s.

Comment 6 Richard Hughes 2016-01-08 09:32:58 UTC
We cab blacklist the uninstall entry if you can give me the full filename of both .desktop files please.

Comment 7 Jiri Prajzner 2016-01-08 10:09:24 UTC
(In reply to Richard Hughes from comment #6)
> We cab blacklist the uninstall entry if you can give me the full filename of
> both .desktop files please.

~/.local/share/applications/Red Hat JBoss Developer Studio 8.1.0.GA-1428667044501.desktop
~/.local/share/applications/Uninstall Red Hat JBoss Developer Studio 8.1.0.GA-1428667044501.desktop

Comment 8 Richard Hughes 2016-01-08 10:49:31 UTC
*** Bug 1285759 has been marked as a duplicate of this bug. ***

Comment 9 Richard Hughes 2016-01-13 11:46:04 UTC
commit 53fa7cbc4fa846217e9b0f647d2837bab6f11790
Author: Richard Hughes <richard>
Date:   Wed Jan 13 11:45:02 2016 +0000

    Always blacklist desktop files for uninstalling software
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1285754


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