I have "fond" memories of installing the specific versions of ubuntu required to make ROS compile.
shudders