On Sat 2026-05-16 (10:01), Tomoaki AOKI wrote:
> > > rm -rf /usr/ports/*/*/work && rm -rf /usr/ports/*/*/work-*
> > 
> > Great thanks, that worked :) I'd done 'portsclean -C' but that evidently 
> > doesn't
> > clean everything.
> 
> Do you habitally run `portsdb -Uu`? (If you're always running
> `make index` at /usr/ports after updating ports tree, it can be
> `portsdb -u`.) portsclean requires up-to-date INDEX.db to work.

FTR 'portsdb -Uu' and 'portsclean -C' just removes /usr/ports/*/*/work
and leaves these in my case:

/usr/ports/devel/glib20/work-bootstrap
/usr/ports/devel/gobject-introspection/work-bootstrap

which still need manual removal.

Reply via email to