Skip to content

Clarify what version of pkg pkgbasify.lua requires #49

@hoanga

Description

@hoanga

I was hoping to update an internal FreeBSD machine

$ freebsd-version -kru
15.0-RELEASE
15.0-RELEASE
15.0-RELEASE-p1

I fetched pkgbasify.lua and set executable per README. Then tried to execute it. It seems that this script requires a more up to date version of pkg (I have already tried to update pkg to the latest available but will not update past 2.6.2. See below)

$ doas ./pkgbasify.lua
Running this tool will irreversibly modify your system to use pkgbase.
This tool and pkgbase are experimental and may result in a broken system.
It is highly recommended to backup your system before proceeding.
Do you accept this risk and wish to continue? (y/n) y
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
Error: pkg version too old! required: 2.7+, found: 2.6.2
Error: Using a pkg version older than 2.7 would result in loss of system config file contents.

Note pkg version

$ pkg --version
2.6.2

Checksum of downloaded pkgbasify.lua which should correspond to I believe commit 3fef4

$ md5sum pkgbasify.lua
31e94b11a4f5f548f5a24a85a3dc63a6  pkgbasify.lua

According to this, I need to update the system before pkgbasify will even run. However, I was hoping to move my system to pkgbase so I COULD update my system...

Please clarify what version of pkgbasify corresponds to which versions of FreeBSD it supports.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions