Am 25.08.2006 um 20:28 schrieb Sven Joachim:
So you have to deal with that in the postinst, rather. I propose the following solution:- Remove the call to update-alternatives from the preinst - Put your fix in the postinst, after the call to update-alternatives --install: [...] case "$1" in configure|abort-remove|abort-deconfigure) update-alternatives --install /usr/bin/yacc yacc \ /usr/bin/bison.yacc 100 \ --slave /usr/share/man/man1/yacc.1.gz yaccman \ /usr/share/man/man1/bison.1.gz [ -e /usr/bin/yacc ] || update-alternatives --auto yacc ;; [...]
Probably even better would be to just create the missing symlink yourself, with [ -e /usr/bin/yacc ] || ln -s /etc/alternatives/yacc /usr/bin instead of [ -e /usr/bin/yacc ] || update-alternatives --auto yacc manual alternatives don't get destroyed on upgrade from 2.3.dfsg-1. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

