Skip to content

Unexpected confirmation from pkg-static bootstrap -f -y #2579

@lapo-luchini

Description

@lapo-luchini

On a TrueNAS with latest version (which is unfortunately a bit old) I get this:

# freebsd-version -kru
13.3-RELEASE-p4
13.3-RELEASE-p4
13.3-RELEASE-p4
# pkg-static bootstrap -f -y
pkg(8) is already installed. Forcing reinstallation through pkg(7).
Bootstrapping pkg from pkg+http://pkg.freebsd.org/FreeBSD:13:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
Installing pkg-2.4.2...
Newer FreeBSD version for package pkg:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1305000
- running userland: 1303001
Ignore the mismatch and continue? [y/N]: y
package pkg is already installed, forced install
Extracting pkg-2.4.2: 100%

I can also reproduce on latest pkg-2.4.2 though.

Is it expected to block even with -y?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions