improve ubuntu package handling