delete_all_opt_data function

Delete all data in the package cache.