On ubuntu 10.04 dos2unix and unix2dos are removed so you have to install this package :

sudo apt-get install tofrodos

Then...