Skip to content

pkg-static: wrong architecture: FreeBSD:15:* instead of FreeBSD:16:amd64 #946

Description

@rainiur

Describe the bug

Unable to install the pfSense REST API package because pkg-static reports an architecture/FreeBSD version mismatch.

During installation, the following error is returned:

pkg-static: wrong architecture: FreeBSD:15:* instead of FreeBSD:16:amd64

The pfSense system is running on FreeBSD 16 amd64, but the REST API package appears to have been built or packaged for FreeBSD 15.

As a result, the package installation is rejected by pkg-static and the REST API cannot be installed.

To Reproduce

Steps to reproduce the behavior:

Log in to the pfSense system.
Attempt to install the pfSense REST API package using the documented installation procedure.
Allow the installer to download/install the REST API package.
pkg-static attempts to validate/install the package.
Installation fails with:
pkg-static: wrong architecture: FreeBSD:15:* instead of FreeBSD:16:amd64
Expected behavior

The REST API package should install successfully on the current pfSense release running FreeBSD 16 amd64.

The distributed package should be built with architecture metadata compatible with:

FreeBSD:16:amd64

rather than:

FreeBSD:15:*
Screenshots or Response

The installation produces the following error:

pkg-static: wrong architecture: FreeBSD:15:* instead of FreeBSD:16:amd64

I can provide the complete installation output if needed.

pfSense Version & Package Version
pfSense Version: [insert pfSense version]
Underlying FreeBSD Architecture: FreeBSD 16 / amd64
Package Version: [insert REST API package version]
Affected Endpoints

Not applicable.

The REST API package cannot be installed, so no API endpoints are available.

Additional context

This appears to be a package build/architecture metadata issue rather than a problem with an individual REST API endpoint.

The pfSense package manager expects:

FreeBSD:16:amd64

but the REST API package being installed identifies itself as compatible with:

FreeBSD:15:*

Because of this mismatch, pkg-static refuses to install the package.

It may be necessary to rebuild/release the pfSense REST API package against the FreeBSD version used by the current pfSense release.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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