Public bug reported:

Binary package hint: dpkg

Ubuntu: 8.10
dpkg:
  Installed: 1.14.20ubuntu4

/usr/sbin/update-alternatives --remove does not clear up the primary
link if you remove the last item in an alternatives set if the
alternatives set is set to manual mode. It does however clean up any
slave links.

This leaves untidy dangling symlinks lying around.

The workaround at present is to set the alternative to auto mode prior
to removal if 'update-alternatives --list <group>|wc -l' is equal to 1.

If there is a reason for this behaviour it should be documented in the
man page.

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

** Summary changed:

- update-alternatives does not remove clean up link if set to manual
+ update-alternatives does not remove link when last alternative is removed if 
set to manual

-- 
update-alternatives does not remove link when last alternative is removed if 
set to manual
https://bugs.launchpad.net/bugs/254382
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