more corrections to Debian install

the changes on these last 2 commits are based on fixes needed when starting
from a minimal Debian template (e.g. minimal OpenVZ templates).