Re: Deletion of just installed port-packages: a question [Trying to avoid being part of other somewhat-related discussions]
- Reply: Graham Perrin : "Deletion of just installed port-packages (excluding base): success"
- Reply: Mark Millard : "Re: Deletion of just installed port-packages: a question [Trying to avoid being part of other somewhat-related discussions]"
- In reply to: Mark Millard : "Deletion of just installed port-packages: a question [Trying to avoid being part of other somewhat-related discussions]"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
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?