[Bug 1052864] [NEW] Behavior of apt-get autoremove with arguments

Sworddragon 1052864 at bugs.launchpad.net
Wed Sep 19 11:09:55 UTC 2012


Public bug reported:

I'm using Ubuntu 12.10 dev with apt 0.9.7.5ubuntu2. As said in the other
ticket (https://bugs.launchpad.net/ubuntu/+source/apt/+bug/667468) it is
not documented that apt-get autoremove does take any arguments. Let's
see what happens if I try to remove a package which has 1 or more
dependencies which are not recommended or suggested by other packages
(normally every system has many of such packages): "apt-get remove
filezilla" will try to remove filezilla but it also gives me the
information that the packages "filezilla-common libtinyxml2.6.2
libwxbase2.8-0 libwxgtk2.8-0" are not needed anymore. "apt-get
autoremove filezilla" will try do remove "filezilla filezilla-common
libtinyxml2.6.2 libwxbase2.8-0 libwxgtk2.8-0". Now there are 2
possibilities:

1. apt-get autoremove doesn't take any arguments and should show an error if there is one.
2. It should be documented that "apt-get autoremove PKG" is like "apt-get remove PKG; apt-get autoremove".

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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1052864

Title:
  Behavior of apt-get autoremove with arguments

Status in “apt” package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 12.10 dev with apt 0.9.7.5ubuntu2. As said in the
  other ticket
  (https://bugs.launchpad.net/ubuntu/+source/apt/+bug/667468) it is not
  documented that apt-get autoremove does take any arguments. Let's see
  what happens if I try to remove a package which has 1 or more
  dependencies which are not recommended or suggested by other packages
  (normally every system has many of such packages): "apt-get remove
  filezilla" will try to remove filezilla but it also gives me the
  information that the packages "filezilla-common libtinyxml2.6.2
  libwxbase2.8-0 libwxgtk2.8-0" are not needed anymore. "apt-get
  autoremove filezilla" will try do remove "filezilla filezilla-common
  libtinyxml2.6.2 libwxbase2.8-0 libwxgtk2.8-0". Now there are 2
  possibilities:

  1. apt-get autoremove doesn't take any arguments and should show an error if there is one.
  2. It should be documented that "apt-get autoremove PKG" is like "apt-get remove PKG; apt-get autoremove".

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




More information about the foundations-bugs mailing list