SAP Message UPS525 - Object type &2 is already used in packets of type &1

Diagnosis
You want to delete object type &V2&. This object type is, however, usedin package type &V1& for which units already exist.

System Response
The object type cannot be deleted.

Procedure
Proceed as follows:
Delete the units in which package type &V1& is used. You can do this ifthey have not been released.
Delete package type &V1&.
Delete object type &V2&.