[Bug 267657] pkg upgrade prompts to install if package is missing

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 09 Nov 2022 02:43:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267657

            Bug ID: 267657
           Summary: pkg upgrade prompts to install if package is missing
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: freebsd@haraschak.com

This behavior is not what is outlined in the manpage. This has changed in the
last few months (or longer, not sure exactly) as I used to be able to invoke
this via Ansible and the pkg upgrade process would skip hosts where the package
was not installed. Now, if adding "-y" all hosts will receive the new package
even if it previously did not exist.

pkg-upgrade(8)"... Moreover, pkg upgrade will not install new packages, except
as required to fulfil dependencies of the packages listed on the command
line..."

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