← Back to team overview

touch-packages team mailing list archive

[Bug 1419839] [NEW] autoremove does not auto-remove unneeded dependencies

 

Public bug reported:

To reproduce:

### Install 'synaptic'
$ sudo apt-get install synaptic
[...]
The following NEW packages will be installed:
  docbook-xml libcairo-perl libept1.4.12 libglib-perl libgtk2-perl
  libpango-perl librarian0 rarian-compat sgml-data synaptic

### Nothing wrong with apt markings
$ apt-mark showauto docbook-xml libcairo-perl libept1.4.12 libglib-perl libgtk2-perl libpango-perl librarian0 rarian-compat sgml-data synaptic
docbook-xml
libcairo-perl
libept1.4.12
libglib-perl
libgtk2-perl
libpango-perl
librarian0
rarian-compat
sgml-data

$ apt-mark showmanual docbook-xml libcairo-perl libept1.4.12 libglib-perl libgtk2-perl libpango-perl librarian0 rarian-compat sgml-data synaptic
synaptic

### Autoremove 'synaptic' - doesn't remove the 9 dependencies.
$ sudo apt-get autoremove synaptic
[...]
The following packages will be REMOVED:
  synaptic

### Check for unknown dependencies - none found
$ sudo apt-get remove docbook-xml libcairo-perl libept1.4.12 libglib-perl libgtk2-perl libpango-perl librarian0 rarian-compat sgml-data synaptic
[...]
The following packages will be REMOVED:
  docbook-xml libcairo-perl libept1.4.12 libglib-perl libgtk2-perl
  libpango-perl librarian0 rarian-compat sgml-data synaptic

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: apt 1.0.9.2ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-30.40-generic 3.16.7-ckt3
Uname: Linux 3.16.0-30-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Feb  9 09:06:19 2015
InstallationDate: Installed on 2014-12-18 (52 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug utopic

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1419839

Title:
  autoremove does not auto-remove unneeded dependencies

Status in apt package in Ubuntu:
  New

Bug description:
  To reproduce:

  ### Install 'synaptic'
  $ sudo apt-get install synaptic
  [...]
  The following NEW packages will be installed:
    docbook-xml libcairo-perl libept1.4.12 libglib-perl libgtk2-perl
    libpango-perl librarian0 rarian-compat sgml-data synaptic

  ### Nothing wrong with apt markings
  $ apt-mark showauto docbook-xml libcairo-perl libept1.4.12 libglib-perl libgtk2-perl libpango-perl librarian0 rarian-compat sgml-data synaptic
  docbook-xml
  libcairo-perl
  libept1.4.12
  libglib-perl
  libgtk2-perl
  libpango-perl
  librarian0
  rarian-compat
  sgml-data

  $ apt-mark showmanual docbook-xml libcairo-perl libept1.4.12 libglib-perl libgtk2-perl libpango-perl librarian0 rarian-compat sgml-data synaptic
  synaptic

  ### Autoremove 'synaptic' - doesn't remove the 9 dependencies.
  $ sudo apt-get autoremove synaptic
  [...]
  The following packages will be REMOVED:
    synaptic

  ### Check for unknown dependencies - none found
  $ sudo apt-get remove docbook-xml libcairo-perl libept1.4.12 libglib-perl libgtk2-perl libpango-perl librarian0 rarian-compat sgml-data synaptic
  [...]
  The following packages will be REMOVED:
    docbook-xml libcairo-perl libept1.4.12 libglib-perl libgtk2-perl
    libpango-perl librarian0 rarian-compat sgml-data synaptic

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: apt 1.0.9.2ubuntu2
  ProcVersionSignature: Ubuntu 3.16.0-30.40-generic 3.16.7-ckt3
  Uname: Linux 3.16.0-30-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Feb  9 09:06:19 2015
  InstallationDate: Installed on 2014-12-18 (52 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1419839/+subscriptions


Follow ups

References