solving Ubuntu package problems