Greetings,

On Sat, 04 Jul 2009 19:39:01 +0200, Tony Curtis <[email protected]> wrote:

Is it possible to clean up in there?

Yep, you can delete all directories with hexadecimal names under /var/pkg/download IF you take in consideration:

**** many, if not most, of the blocks will be consumed for older snapshots/BEs. You'll have to remove the snapshots, too -- beadm destroy would be the correct way to do that. ***

If so, is there a correct way to do it e.g. through the "pkg" command?

As I know, no. You can manually add the attribute to the section in /var/pkg/cfg_cache: flush-content-cache-on-success = True It will cause the client to cleanup the download cache directory (/var/pkg/download) upon successful completion of install and image-update operations.

You can also change the flush-content-cache-on-success property from command line, so that after successful packaging operations, the cache will be purged: pfexec pkg set-property flush-content-cache-on-success True

Have a nice day!
--
Üdvözlettel,                            
http://opensolaris.org/os/project/indiana/
Cemasko Viktor.                     http://www.opera.com/browser/

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to