bug fix when remove package in debian