Add debian support to upgrade