Date: Fri, 8 May 2026 20:41:20 -0700 From: Mark Millard <marklmi@yahoo.com> To: Bryan Drewery <bdrewery@FreeBSD.org>, Baptiste Daroussin <bapt@FreeBSD.org>, freebsd-pkgbase@freebsd.org Subject: Re: How to do the equivalent of "pkg clean" for the likes of: /usr/local/poudriere/jails/official-aarch64/var/cache/pkg/FreeBSD-* [poudriere vs. pkg issue?] Message-ID: <84afb8eb-d37d-47c1-b026-451770b601d2@yahoo.com> In-Reply-To: <2935f8c3-31b5-406b-9b39-0ec94a072a90@FreeBSD.org> References: <9e0fde6a-f05f-4d93-ba85-fa6568b1c283@yahoo.com> <2935f8c3-31b5-406b-9b39-0ec94a072a90@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
On 5/8/26 20:27, Bryan Drewery wrote: > On 5/8/26 5:35 PM, Mark Millard wrote: >> I'm not sure if this would be considered a poudriere usage s. a pkg >> usage issue for where to submit. >> >> My poudriere jail updates are not cleaning out prior: >> >> /usr/local/poudriere/jails/*/var/cache/pkg/FreeBSD-* >> >> files after updates. For example my "official-aarch64" poudriere jail >> now shows over 1600 files: >> >> # ls -dC1 >> /usr/local/poudriere/jails/official-aarch64/var/cache/pkg/FreeBSD-* | >> wc -l >> 1682 >> >> and spans a history of 6 snapshots: >> >> # ls -dC1t \ >> /usr/local/poudriere/jails/official-aarch64/var/cache/pkg/FreeBSD-*~* \ >> | sed -e 's@^.*\(/FreeBSD-.*\)-15\.snap.*~.*$@\1@' \ >> | sort \ >> | uniq -c \ >> | sort -rn \ >> | head >> 6 /FreeBSD-utilities-lib32 >> 6 /FreeBSD-utilities >> 6 /FreeBSD-toolchain >> 6 /FreeBSD-src-sys >> 6 /FreeBSD-runtime-lib32 >> 6 /FreeBSD-runtime >> 6 /FreeBSD-kernel-man >> 6 /FreeBSD-geom >> 6 /FreeBSD-clibs-dev >> 6 /FreeBSD-bsnmp >> >> > Oh this is pkgbase! How are you managing this jail? Are those packages > coming from `poudriere jail -u`? > > Yes, the original poudreire jail creation as via pkgbase style and poudriere jail -u upgrades were then done. They do not clean out the older cached material after the upgrades. I've already sent separate notes for a way to do it externally as a workaround. Its technical details suggest what poudriere-devel would need to do at the end of the upgrade. -- === Mark Millard marklmi at yahoo.comhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84afb8eb-d37d-47c1-b026-451770b601d2>
