Date: Wed, 19 Nov 2025 02:52:32 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 290344] pkg delete all installed packages on pkgbase system Message-ID: <bug-290344-32340-Z3LYhgSFB2@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-290344-32340@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290344 --- Comment #9 from Graham Perrin <grahamperrin@gmail.com> --- Re: comment 5 > Without force: > > - deleting all packages may cause removal of the one and only kernel pkg leaf | grep FreeBSD | grep -v FreeBSD-set | sort -f An example, FreeBSD 15.0-RC2: Script started on Wed Nov 19 02:38:15 2025 root@theauickbroznfox:~ # echo $SHELL /bin/tcsh root@theauickbroznfox:~ # pkg leaf | grep FreeBSD | grep -v FreeBSD-set | sort -f FreeBSD-audit-lib-15.0.rc2.20251118061818 FreeBSD-blocklist-15.0.rc2.20251118061818 FreeBSD-bsdconfig-15.0.rc2.20251118061818 FreeBSD-bsdinstall-15.0.rc2.20251118061818 FreeBSD-console-tools-15.0.rc2.20251118061818 FreeBSD-csh-15.0.rc2.20251118061818 FreeBSD-ctf-lib-15.0.rc2.20251118061818 FreeBSD-ee-15.0.rc2.20251118061818 FreeBSD-kernel-generic-15.0.rc2.20251118061818 FreeBSD-libarchive-15.0.rc2.20251118061818 FreeBSD-libbsdstat-15.0.rc2.20251118061818 FreeBSD-libcasper-15.0.rc2.20251118061818 FreeBSD-libldns-15.0.rc2.20251118061818 FreeBSD-libmagic-15.0.rc2.20251118061818 FreeBSD-libucl-15.0.rc2.20251118061818 FreeBSD-libyaml-15.0.rc2.20251118061818 FreeBSD-natd-15.0.rc2.20251118061818 FreeBSD-openssl-lib-15.0.rc2.20251118061818 FreeBSD-tcpd-15.0.rc2.20251118061818 FreeBSD-xz-lib-15.0.rc2.20251118061818 root@theauickbroznfox:~ # pkg repos -el | sort -f FreeBSD-base FreeBSD-ports FreeBSD-ports-kmods root@theauickbroznfox:~ # pkg repos -e | grep -B 1 url FreeBSD-ports: { url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly", -- FreeBSD-ports-kmods: { url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0", -- FreeBSD-base: { url : "pkg+https://pkgbase.FreeBSD.org/FreeBSD:15:amd64/base_release_0", root@theauickbroznfox:~ # freebsd-version -kru ; uname -mvKU 15.0-RC2 15.0-RC2 15.0-RC2 FreeBSD 15.0-RC2 releng/15.0-n280961-7bd80d8ee020 GENERIC amd64 1500068 1500068 root@theauickbroznfox:~ # exit exit Script done on Wed Nov 19 02:39:30 2025 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290344-32340-Z3LYhgSFB2>
