fix ubuntu package handling