Date: Fri, 8 Aug 2025 23:53:05 -0700 (PDT) From: Don Lewis <truckman@FreeBSD.org> To: Dimitry Andric <dim@FreeBSD.org> Cc: David Chisnall <theraven@FreeBSD.org>, =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@FreeBSD.org>, Tomek CEDRO <tomek@cedro.info>, Colin Percival <cperciva@freebsd.org>, vermaden <vermaden@interia.pl>, Sulev-Madis Silber <freebsd-current-freebsd-org111@ketas.si.pri.ee>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, freebsd-stable@freebsd.org, freebsd-pkgbase@freebsd.org Subject: Re: PKGBASE Removes FreeBSD Base System Feature Message-ID: <tkrat.5d69257f9628c159@FreeBSD.org> In-Reply-To: <BA8BBB0A-2FD8-43C2-B405-20FE136CD04D@FreeBSD.org> References: <zxdjhwcktnktdqzisgzy@qkoz> <FD0B239A-7DE4-4588-840E-C31FBBECBBEF@submonkey.net> <pecwwvnjxkiaplcpxkph@fpas> <DA41BBC2-6AD6-44FC-8C0A-213D63DBFF15@ketas.si.pri.ee> <ckjuzadqerchrokhlejz@pkwi> <ffd818ae-9922-413f-b8d8-acb7af51f865@freebsd.org> <CAFYkXjkKMpuJqZkt_x_kpFhMi2kSbJN1ydGK6y9JQeCXpX=MAQ@mail.gmail.com> <864iui3si5.fsf@ltc.des.dev> <CAFYkXjkf2NVQfv9_L=81bzK5ASxRzrfs4Jn9Jg2D0GxWUqTT2g@mail.gmail.com> <86pld62alk.fsf@ltc.des.dev> <0CC405ED-BCFC-41AD-A487-5261421BF8A6@FreeBSD.org> <BA8BBB0A-2FD8-43C2-B405-20FE136CD04D@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
On 8 Aug, Dimitry Andric wrote: > On 8 Aug 2025, at 15:56, David Chisnall <theraven@FreeBSD.org> wrote: >> >> On 8 Aug 2025, at 14:42, Dag-Erling Sm¸rgrav <des@FreeBSD.org> wrote: >>> >>> Tomek CEDRO <tomek@cedro.info> writes: >>>> [...] from user perspective these changes were easy to adapt to :-) >>> >>> So will this one. >> >> Let˙s remember the thing that started this entire thread: `pkg delete >> -af` >> >> This is an *incredibly* stupid thing to do. Long before pkg came >> along, I did the equivalent of this and managed to lock myself out of >> a headless box by doing this because I forgot that I was using the >> ports version of openssh instead of the base one. > > I'm one of the people that regularly runs `pkg delete -af`, even with > `-y` added. :) That said, I only use this when I have completely > rebuilt a ports collection with poudriere against a newer base jail, > and then I'd like to start completely from scratch with freshly > installed packages. This also clears out any unnecessary non-leaf > packages there were pulled in by a previous package build. pkg upgrade -af pkg autoremove > Obviously that is an outlier scenario! But does pkg have a way to > express "show me packages only from this particular repo", or "delete > only packages from this particular repo"? That would make it easy to > do "delete only the packages from ports, not from base". > > -Dimitry > >home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?tkrat.5d69257f9628c159>
