pkg_create: correct usage?

Mike Brown mike at hyperreal.org
Thu Aug 4 08:22:02 GMT 2005


mdff wrote:
> i'm trying to create packages on freebsd-5.4-RELEASE.
> 
> can anyone tell me how to define a packinglist for
> pkg_create with the ability to remove the directories
> after pkg_delete and not getting complaints if they are
> not empty?
> 
> if i specify @dirrm <dir> in the packinglist, i get these
> errors, if some packages share a specific directory:
> 
> # pkg_delete <packname>
> > pkg_delete: unable to completely remove directory '/usr/local/lib'
> > pkg_delete: couldn't entirely delete package (perhaps the packing
> > list is incorrectly specified?)
> 
> br...

This question might be better to ask on freebsd-ports at freebsd.org.


More information about the freebsd-questions mailing list