Public bug reported:

Binary package hint: apt

Ubuntu 10.10, minimal install

Steps to reproduce:
sudo apt-get install --no-install-recommends ubuntu-desktop
sudo apt-get install empathy
sudo apt-get remove --purge empathy
sudo apt-get autoremove --purge

Expected result: all packages that were installed automatically are uninstalled.
Actual result: some packages remain installed (for example, avahi-daemon). 
Running `aptitude why avahi-daemon` returns: "ubuntu-desktop Recommends 
avahi-daemon".
This is apparently due to apt-get not registering whether a certain package was 
installed with or without the --no-install-recommends option present. The only 
way around so far seems to be saving the list of packages about to be installed 
on a text editor and later removing them manually.

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

** Description changed:

  Binary package hint: apt
  
  Ubuntu 10.10, minimal install
  
  Steps to reproduce:
  sudo apt-get install --no-install-recommends ubuntu-desktop
  sudo apt-get install empathy
  sudo apt-get remove --purge empathy
  sudo apt-get autoremove --purge
  
  Expected result: all packages that were installed automatically are 
uninstalled.
  Actual result: some packages remain installed (for example, avahi-daemon). 
Running `aptitude why avahi-daemon` returns: "ubuntu-desktop Recommends 
avahi-daemon".
- This is apparently due to apt-get not registering when a certain package is 
installed with the --no-recommends option present. The only way around so far 
seems to be saving the list of packages about to be installed on a text editor 
and later removing them manually.
+ This is apparently due to apt-get not registering whether a certain package 
was installed with or without the --no-install-recommends option present. The 
only way around so far seems to be saving the list of packages about to be 
installed on a text editor and later removing them manually.

-- 
apt-get autoremove ignores packages recommended by other packages
https://bugs.launchpad.net/bugs/665980
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to