USC adds icon to launcher for apps that didn't install

Bug #982921 reported by Alan Pope 🍺🐧🐱 πŸ¦„
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Medium
Unassigned
unity (Ubuntu)
Precise
Fix Released
Medium
Unassigned

Bug Description

I just did this:-

Open Applications Lens
Search for app which I may or may not have installed (liferea)
Click the link to install it
Ubuntu software center opens, I click "install".
Due to a configuration issue on my network* (see below) USC complains that the package is untrusted. Dialog says "Ok" or "repair", I just choose "Ok" (like many users would).
Icon for liferea appears in launcher
icon doesn't work.

Further investigation reveals that USC didn't actually install liferea at all due to the network issue, but still installed it.

Now I appreciate that I have a broken network, but it seems incorrect that USC should add the icon to the launcher and leave it there even though the app didn't install and can't install. So I end up with a broken icon, thinking the install worked but the app is broken.

----

Explanation of issue which caused this.
I use squid-deb-proxy and squid-deb-proxy-client at home to cache downloads.
Whilst away from home I switched my sources.list to a different mirror which isn't listed in my squid-deb-proxy config
When I got home I didnt switch my sources.list back and as the new mirror isn't listed I get 403 errors whenever updating or installing apps. So USC got a 403 when doing the "apt-get install liferea" (or whatever it did under the covers)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: software-center 5.2
Uname: Linux 3.3.0-030300rc5-generic x86_64
ApportVersion: 2.0.1-0ubuntu3
Architecture: amd64
Date: Mon Apr 16 10:22:59 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120203)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :
Revision history for this message
Dave Morley (davmor2) wrote :

I've asked Alan to provide an image of the dialog that is the concern for me, the icon removal should be fixed when unity enable the icon removal script, but unity have taken over the removal of icons see bug 966197

Revision history for this message
Varun Priolkar (varunpr97) wrote :

Its a regression in the unity 5.10 which introduced the animation.

Revision history for this message
Michael Vogt (mvo) wrote :

This is a unity issue, I added a branch for this and removed the USC task.

Changed in software-center (Ubuntu):
status: New → Invalid
Changed in unity:
status: New → Confirmed
Michael Vogt (mvo)
Changed in unity (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
milestone: none → precise-updates
Changed in unity:
milestone: none → 5.12.0
Changed in unity (Ubuntu):
status: Confirmed → In Progress
Omer Akram (om26er)
no longer affects: software-center (Ubuntu)
Changed in unity (Ubuntu Precise):
status: New → Confirmed
Changed in unity (Ubuntu):
milestone: precise-updates → none
no longer affects: unity (Ubuntu)
Changed in unity (Ubuntu Precise):
importance: Undecided → Medium
Changed in unity:
importance: Undecided → Medium
status: Confirmed → Fix Committed
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Michael Vogt (mvo) wrote :

Is this planed for a SRU to precise? Given that its a relatively simple fix it would be nice to get it to the 12.04 users too.

Revision history for this message
Omer Akram (om26er) wrote :

@mvo, this commit is already in unity 5.12 which have been in Ubuntu for a while :-) updated the status.

Changed in unity:
milestone: 5.12.0 → 5.14.0
milestone: 5.14.0 → none
Changed in unity (Ubuntu Precise):
status: Confirmed → Fix Released
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.