Many many fixes to the debian root stuff.