It seems a lot of problem with update-alternative comes from package 
upgrading, specially if configuration has been changed to manual. Checking in 
%postun if current situation is removal or upgrade could solve this. What 
about turning all

%postun
update-alternatives  --remove foo

into

%postun
if [ "$1" = "0" ]; then
  update-alternatives  --remove foo
fi

And making it a standard mdk policy ?
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

Reply via email to