Already installed deb packages not showing as installed when opened

Bug #1750818 reported by AsciiWolf
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
snap-store-desktop
Confirmed
Low
Ken VanDine
gnome-software (Ubuntu)
Triaged
Low
Unassigned

Bug Description

If you open an already installed local deb file using GNOME Software (Ubuntu Software), it shows "Install" instead of the correct "Remove" option.

Steps to reproduce:
1. Open and install any local deb file using GNOME Software.
2. Close the GNOME Software window.
3. Open the local deb file again in GNOME Software.

edit: Upstream fix is now available, see comment #8.

Tags: bionic focal
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, what Ubuntu serie and gnome-software version are you using? On what deb did you try?

Changed in gnome-software (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
AsciiWolf (asciiwolf) wrote :

The latest Ubuntu 18.04 build. (But I had the same issue on Ubuntu 17.04.) For example the Steam deb from: http://store.steampowered.com/about/

Revision history for this message
AsciiWolf (asciiwolf) wrote :

(But it was happening on other deb packages as well.)

Revision history for this message
AsciiWolf (asciiwolf) wrote :

Oops, s/17.04/17.10. :-)

Changed in gnome-software (Ubuntu):
status: Incomplete → New
AsciiWolf (asciiwolf)
tags: added: focal
Revision history for this message
AsciiWolf (asciiwolf) wrote :

Same issue with the latest stable Snap Store.

summary: Already installed deb packages not showing as installed when opened
- using GNOME Software
+ using GNOME Software (Snap Store)
summary: Already installed deb packages not showing as installed when opened
- using GNOME Software (Snap Store)
Revision history for this message
AsciiWolf (asciiwolf) wrote :
Changed in gnome-software (Ubuntu):
status: New → Triaged
Revision history for this message
AsciiWolf (asciiwolf) wrote :

There is an upstream fix for this issue being prepared, see the remote bug watch ticket.

Revision history for this message
AsciiWolf (asciiwolf) wrote :

The upstream fix was just merged into master. I am not sure if/when the fix will be backported to gnome-3-36 branch, however fixing this in Ubuntu should be pretty easy. The fix consists of these two commits that can be applied downstream (in deb gnome-software / Snap Store): https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/457/commits

AsciiWolf (asciiwolf)
description: updated
Changed in snap-store:
assignee: nobody → Ken VanDine (ken-vandine)
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
AsciiWolf (asciiwolf) wrote :

Ken, I see that one of the MR commits was already added to snap-store git, however to make this fix actually work, the another one (https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/457/diffs?commit_id=74980a2f94cefa1e75778bf8fcba55ddaa880405) needs to be added as well.

Revision history for this message
Ken VanDine (ken-vandine) wrote :

@asciiwolf, with just the other commit it definitely fixed the issue described in the bug report. I spent some time looking at the other and might cherry-pick that as well.

Revision history for this message
Carlos Pita (carlosjosepita) wrote :

I'm not seeing this issue in an up-to-date 20.04 installation.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.