I had quite some problems getting netatalk to run again after upgrading my server to ubuntu 11.10.
This will explain the way I did it(also as a note for myself when I need it again).
first I removed netatalk completly, you can make a backup of your /etc/netatalk if you want.
sudo apt-get remove netatalk --purge sudo rm /etc/netatalk -R -f
Now I added a new repository with netatalk 2.2.1 in it to the sources for apt.
edit /etc/apt/sources.list and add the following lines.
now reinstall netatalk
sudo apt-get update sudo apt-get install netatalk
now you have to edit the file /etc/netatalk/afpd.conf
Watch it, this is different form the most used one in ubuntu versions before 11.10, the uams_dhx2.so is replaced by uams_dhx2_passwd.so, cause of a bug in ubuntu netatalk, see the bug report at https://bugs.launchpad.net/ubuntu/+source/netatalk/+bug/810732
also I added the logging options to get some feedback if it goes wrong.
Now edit /etc/netatalk/AppleVolumes.default with your normal shares:
finaly restart netatalk:
sudo service netatalk restart
This did the trick for me, let me no if it does not work, might be I forgot a step cause it took me hours to get the whole thing working again.