gnome software leaves dependencies installed

Bug #1552792 reported by Kev Bowring on 2016-03-03
54
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Release Notes for Ubuntu
Undecided
Unassigned
gnome-software (Ubuntu)
Medium
Unassigned

Bug Description

Using gnome software to install an application - removal of that package leaves behind dependencies

Installing an application with ubuntu software centre only leaves behind config files (seen in synaptic labelled for complete removal).

After installing and then removing alarm clock with USC -

sudo apt-get autoremove
[sudo] password for wolf:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.

After cleaning up and then reinstalling with gnome software, followed by the removal

sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
  libappindicator1 libindicator7
0 to upgrade, 0 to newly install, 2 to remove and 1 not to upgrade.
After this operation, 184 kB disk space will be freed.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: gnome-software 3.19.92~git20160303.26a927d-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-10.25-generic 4.4.3
Uname: Linux 4.4.0-10-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Mar 3 16:23:45 2016
InstallationDate: Installed on 2015-10-29 (126 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 :
Robert Ancell (robert-ancell) wrote :

Does USC do an autoremove afterwards or does it explicitly remove dependencies?

Changed in gnome-software (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Kev Bowring (flocculant) wrote :

to be honest - I have no idea what USC actually does.

Given that the dependencies aren't there to autoremove I would assume that it does do that.

Robert Ancell (robert-ancell) wrote :

Michael Vogt confirmed that USC automatically removed unused dependencies. We should do the same.

See aptdaemon/worker/aptworker.py:711 _check_obsoleted_dependencies()

Changed in ubuntu-release-notes:
status: New → Fix Released
AsciiWolf (asciiwolf) wrote :

Any progress regarding this issue?

AsciiWolf (asciiwolf) wrote :

Still the same issue in 17.10

tags: added: artful
AsciiWolf (asciiwolf) wrote :

Any news?

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

Other bug subscribers