hey christian, i've tested out the latest svn version, and it looks like the rm -rf problem is fixed. to test, i did the following:
apt-get install the current unstable version of mysql-server and family apt-get install msyql-server-4.1 dpkg -P mysql-server say yes at debconf purge *boom*, as adrian says. apt-get install the current unstable version of mysql-server and family upgrade to svn version apt-get install msyql-server-4.1 dpkg -P mysql-server *nothing* however, i did still notice one problem. when you purge mysql-server, it still does all the debhelper-added code, so it stops the mysql daemon and attempts (unsuccessfully, because it still exists) to call update-rc.d to remove the runlevel symlinks. how to handle this is a little tricky. we could move the #DEBHELPER# statment inside the same "if" block, but there's other stuff in there we always want to execute (like purging debconf templates). we could call invoke-rc.d mysql start after the #DEBHELPER#, but that seems kind of kludgy too. what do you think? personally, i think the first option (plus manually adding db_purge and other stuff outside the if statement) sounds best, but maybe you have a better idea? sean --
signature.asc
Description: Digital signature