I managed to fix the problem by running apt-get remove --purge and reinstalling the package. I'm not sure what caused the problem, perhaps apt-get installing it at the same time as emacs21 and sbcl led to problems during installation.