improve package relationships, and document Matt's changes
try to fix some ubuntu bugs from here