fixed the logic on deleting the old .debs