Debian is great until you use it

As some of you may know I have a job at our university as a student system administrator. Currently I admin a webserver where the CS and Math websites soon will be hosted. Today I tried to get Java Servlets to work with MySQL, which seemed to be quite a problem. Personally I'm very fond of Resin, a free for non-commercial use servlet container. But there are only debian packages available for Tomcat, the totally free, open source servlet container by the Apache group. Well, fine, let's use that. But for some reason I can't get the XSLT parser to work with some Java servlet I'm trying to install, tried to install additional XSLT libraries, didn't help. So I decided to download resin and install that one manually. All went fine, and indeed, no more XSLT problems. However, this time it was not able to connect to the debian MySQL installation. MySQL works fine with phpMyAdmin and the normal mysql client, but the MySQL JDBC kept telling me that it couldn't connect to the server. So, that's great. Finally I downloaded MySQL 4 (finally stable!) and installed that minually, got it to run quite quick and yay, it also worked with the JDBC driver. When I tried to remove the old MySQL installation using apt-get it tried to also deinstall the php4-mysql module, something I obviously didn't want, but I got no choice. So I had to reinstall it after mysql was removed.

Man, gotta love apt-get, if it works...