[Bug 305504] Re: aptitude does not automatically remove unused packages

Thierry Machet 305504 at bugs.launchpad.net
Fri Aug 16 16:23:21 UTC 2013


Dear all,

I observed the same problem. Another example with some digging:

sudo aptitude install awesome
	 Les NOUVEAUX paquets suivants vont être installés :
	  awesome feh{a} giblib1{a} libev4{a} libid3tag0{a} libimlib2{a} 
	  libjpeg-progs{a} libjpeg-turbo-progs{a} libxcb-icccm4{a} libxcb-image0{a} 
	  libxcb-keysyms1{a} libxcb-randr0{a} libxcb-xinerama0{a} libxcb-xtest0{a} 
	  libxdg-basedir1{a} menu{a} rlwrap{a}
	  0 paquets mis à jour, 17 nouvellement installés, 0 à enlever et 11 non mis à jour.
	
sudo aptitude remove awesome
        Les paquets suivants seront ENLEVÉS :         
	      awesome 
	      0 paquets mis à jour, 0 nouvellement installés, 1 à enlever et 11 non mis à jour.

It looks like the packages are not marked Auto: 
            aptitude show giblib1
                Paquet : giblib1                              
                État: installé
               Automatiquement installé: non

But marking as auto does not solve:
        sudo aptitude markauto feh giblib1 libev4 libid3tag0 libimlib2 libjpeg-progs libjpeg-turbo-progs libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-xinerama0 libxcb-xtest0 libxdg-basedir1 menu rlwrap</command></para>

	aptitude show giblib1
            Paquet : giblib1                              
           État: installé
           Automatiquement installé: oui

         sudo aptitude remove awesome -s
         Les paquets suivants seront ENLEVÉS :         
                     awesome 
                     0 paquets mis à jour, 0 nouvellement installés, 1 à enlever et 11 non mis à jour.	

        And apt-get is not working better even if packages are marked auto:
        sudo apt-get autoremove awesome -s
       Les paquets suivants seront ENLEVÉS :
                    awesome
                    0 mis à jour, 0 nouvellement installés, 1 à enlever et 11 non mis à jour

Only  way remove manually 
        sudo aptitude remove awesome feh giblib1 libev4 libid3tag0 libimlib2 libjpeg-progs libjpeg-turbo-progs libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-xinerama0 libxcb-xtest0 libxdg-basedir1 menu rlwrap


Versions:
         Ubuntu 13.04
         aptitude version  0.6.8.1

Regards

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

Title:
  aptitude does not automatically remove unused packages

Status in “aptitude” package in Ubuntu:
  Confirmed
Status in “aptitude” package in Debian:
  Confirmed

Bug description:
  In Ubuntu 8.10, if I use aptitude to install "epiphany-webkit", then
  use aptitude to remove "epiphany-webkit", its dependency packages,
  like epiphany-browser-data and libwebkit, are not automatically
  removed.

  Steps to reproduce
  1. sudo aptitude
  2. select epiphany-webkit
  3. install
  4. sudo aptitude
  5. deselect epiphany-webkit
  6. deselect epiphany-browser
  7. error: dependency packages are not automatically removed

  Automatic dependency handling is the sole reason anyone would use
  aptitude in Ubuntu.

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




More information about the foundations-bugs mailing list