[Bug 225361] ports-mgmt/pkg: pkg install xxx removes needed and unrelated packages from system

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Mar 2026 13:15:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225361

--- Comment #7 from Graham Perrin <grahamperrin@gmail.com> ---
(In reply to pru13allan from comment #0)

> …
> 
> Number of packages to be removed: 7
> Number of packages to be installed: 1
> Number of packages to be reinstalled: 2
> 
> The operation will free 68 MiB.
> 547 KiB to be downloaded.
> 
> Proceed with this action? [y/N]: y
> …

Modern versions of pkg list the items to be removed last, not first, to reduce
the likelihood of people proceeding (y) without truly realising what's to be
removed. 

A general hint: before deciding whether to proceed with an installation, fetch
what's required. 

--fetch-only

The value of this option is not widely understood.

-- 
You are receiving this mail because:
You are the assignee for the bug.