Re: Deletion of just installed port-packages: a question [Trying to avoid being part of other somewhat-related discussions]

From: Jesús_Daniel_Colmenares_Oviedo <dtxdf_at_freebsd.org>
Date: Thu, 07 Aug 2025 05:44:05 UTC
Perhaps something like this (with a few additions):


```
pkg query %n | grep -vEe '^(FreeBSD-.+)' | xargs pkg remove -n && pkg 
autoremove -n && pkg clean -n

```

On 8/6/25 23:42, Mark Millard wrote:
> Is there a known alternative to the command:
>
> chroot/FBSDFSSDroot-mnt/ pkg-static delete -a
>
> that would only delete port-packages, even if the
> chroot's world was based on a pkgbase world
> installation?
>
> If yes, what would the command be like?