I had a look at the Ubuntu (deb) packaging docs for a project recently and they're in a shocking state. They rely on tools and commands that have been removed from their respective projects (e.g. bzr/brz deb helper functionality), and to get around that suggest firing up a 5 year old version of Ubuntu in a container.
You wouldn't root a toot