try to use a new id sequence for publishpackage in database