Remove button missing after package installation

Bug #1551599 reported by Kev Bowring on 2016-03-01
150
This bug affects 28 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Medium
Unassigned
Release Notes for Ubuntu
Undecided
Unassigned
gnome-software (Ubuntu)
High
Unassigned
Xenial
High
Unassigned
Yakkety
High
Unassigned
Zesty
High
Unassigned

Bug Description

[What Happens]
==============
Installing
----------
1. Open the Software app (GNOME Software). Search for clocks.
2. Click Install next to Clocks.
3. The Install button becomes insensitive and changes to Installing...
4. The Install button becomes sensitive again and changes back to Install (it should have changed to Remove)
5. If you click the Clocks row (still in the All page), the Clocks info page opens with an Install button (it should have a Launch button and a Remove button).
6. If you switch to the Installed page, Clocks correctly shows up with a Remove button.
7. If you click the Clocks row in the Installed page, the Clocks info page correctly opens with a Launch button and a Remove button.
8. Close the Software app then reopen it. Same results as #4-7 above.
9. $ pkill gnome-software
10. Open the Software app. Now Clocks shows up correctly in the All page with a Remove button and the Clocks info page correctly includes the Launch and Remove buttons but not the Install button.

Removing
--------
11. Click the Remove button to uninstall Clocks.
12. The Remove button becomes insensitive again and changes to Removing...
12. We basically get the same broken results as before. In the All page, the Clocks row shows Remove still. Clicking the Clocks row shows the Info page with Launch and Remove.
One change is that in the Installed page, Clocks shows up twice, once with an Install button, once with a Remove button.
Completely stopping the gnome-software process (via logging out or the pkill trick mentioned in #9) is necessary for the Software app to correctly register Clocks as being removed.

I was unable to reproduce this bug with Fedora 24.

Other Info
==========
See also bug 1582959 which is similar but a bit different.

In bug 1679417, a user reported that the package disappears from the Installed list if Remove is selected but password authentication is cancelled or failed.

[Original bug report]
=====================
Used gnome-software to install a package.

Once it was installed I expected to see an option to remove it.

As can be seen all I see is the option to Install the package.

If you click Install you are then given the option to remove the package.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: gnome-software 3.19.91~git20160229.ceb6b9d-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-8.23-generic 4.4.2
Uname: Linux 4.4.0-8-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Mar 1 08:05:06 2016
InstallationDate: Installed on 2015-10-29 (123 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151029)
SourcePackage: gnome-software
UpgradeStatus: No upgrade log present (probably fresh install)

Kev Bowring (flocculant) wrote :
summary: - Optioon to remove missing after package installation
+ Option to remove missing after package installation

second screen showing remove option

Kev Bowring (flocculant) on 2016-03-03
summary: - Option to remove missing after package installation
+ Option to remove icon missing after package installation

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-software (Ubuntu):
status: New → Confirmed
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1551599

tags: added: iso-testing
Changed in gnome-software (Ubuntu):
importance: Undecided → High
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → High

bug still present in gnome-software 3.20.1~git20160331.78d1aab-0ubuntu2

William Hua (attente) on 2016-04-20
summary: - Option to remove icon missing after package installation
+ Remove button missing after package installation
Kev Bowring (flocculant) wrote :

all for things being precise - but is the issue dealt with here attente :)

Changed in ubuntu-release-notes:
status: New → Fix Released
Changed in gnome-software (Ubuntu):
importance: High → Medium
Changed in hundredpapercuts:
importance: High → Medium
Changed in gnome-software (Ubuntu):
importance: Medium → Low
Changed in hundredpapercuts:
importance: Medium → Low
importance: Low → Medium
Changed in gnome-software (Ubuntu):
importance: Low → Medium
Jeremy Bicha (jbicha) wrote :

I can confirm this bug. The "Install" button still shows instead of "Remove" even after closing and reopening Software. The only place I see a "Remove" button for the app I installed is if I click the "Installed" button in the top toolbar.

Jeremy Bicha (jbicha) on 2016-06-14
description: updated
Temondong (temondong787) on 2017-01-10
Changed in gnome-software (Ubuntu):
assignee: nobody → Temondong (temondong787)
Jeremy Bicha (jbicha) on 2017-03-24
Changed in gnome-software (Ubuntu):
importance: Medium → High
assignee: Temondong (temondong787) → nobody
Daniel Holz (daniel-holz91) wrote :

This bug is still present in Ubuntu Gnome 17.04.

Jeremy Bicha (jbicha) on 2017-04-03
description: updated
Jeremy Bicha (jbicha) wrote :

I am unable to duplicate this bug with gnome-software 3.24.1 in Ubuntu 17.10 Alpha.

The bug is still present in Ubuntu 17.04 although it feels to me like it's closer to working than it was with earlier versions.

Changed in gnome-software (Ubuntu Xenial):
status: New → Confirmed
importance: Undecided → High
Changed in gnome-software (Ubuntu Yakkety):
status: New → Confirmed
importance: Undecided → High
Changed in gnome-software (Ubuntu Zesty):
importance: Undecided → High
status: New → Confirmed
Changed in gnome-software (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers