Public bug reported:

Binary package hint: apt

Situation.
conky-all is installed, in use and therefore required.
If a user runs 'autoremove' to clean up package cache (either via CLI or 
Synaptic), an app which is still in use would be removed.
In this case the term 'no longer required' isn't true.

Expected.
Don't offer packages which are in use to be autoremoved, don't suppose they're 
no longer required.

Comment.
In case of issues with package management, users often get advised to 
autoremove, autoclean package cache.
The example would lead to a new question why a required package has been 
removed.
The statement in the wiki 'no longer needed' would also be unfounded in this 
case.
https://help.ubuntu.com/community/AptGet/Howto#Removal%20commands

Example.
$ LANG=C sudo apt-get -s install hardinfo
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.35-22-generic conky-all linux-headers-2.6.35-22 libimlib2
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  hardinfo
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst hardinfo (0.5.1-1.1ubuntu3 Ubuntu:10.10/maverick [amd64])
Conf hardinfo (0.5.1-1.1ubuntu3 Ubuntu:10.10/maverick [amd64])

$ LANG=C dpkg -l conky*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version                           
Description
+++-===============================================
un  conky                             <none>                            (no 
description available)
ii  conky-all                         1.8.0-1ubuntu1                    highly 
configurable system monitor (all features enabled)
un  conky-cli                         <none>                            (no 
description available)
un  conky-std                         <none>                            (no 
description available)

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apt 0.8.3ubuntu7
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic x86_64
Architecture: amd64
Date: Thu Jan 27 18:52:55 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANG=C
 SHELL=/bin/bash
SourcePackage: apt

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


** Tags: amd64 apport-bug maverick

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

Title:
  [Maverick] autoremove removes package which is required

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to