Updates and fixes to ubuntu packages to work with modern ubuntu and debian version.