Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2025 20:42:04 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        FreeBSD-pkgbase@freebsd.org, FreeBSD-pkg@freebsd.org
Subject:   Deletion of just installed port-packages: a question [Trying to avoid being part of other somewhat-related discussions]
Message-ID:  <FAFC65E2-BD71-4320-81BC-9D698A476BF2@yahoo.com>

index | next in thread | raw e-mail

[Limited to FreeBSD-pkgbse@ and FreeBSD-pkg@ .]

I have a type of script where I'd used the likes of, say:

chroot /FBSDFSSDroot-mnt/ pkg-static delete -a

(no -f) to clear out port-packages that had been installed
--before installing new ones with the likes of:

chroot /FBSDFSSDroot-mnt/ pkg-static install -f `cat ~/origins/amd64-pkgs.txt`

This predated my potentially having the chroot be based
on a pkgbase world installation.

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?

If no, could something be added to allow such a
command to be formed?

In the long run, I may not be the only one with
such a prior context and resulting general type
of question.

===
Mark Millard
marklmi at yahoo.com



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FAFC65E2-BD71-4320-81BC-9D698A476BF2>