On 2025-06-27 22:29, Stephen Montgomery-Smith wrote:
My system is in this strange state where if I do pkg install, then the packages are installed in the incorrect order.

For example, if I start with a clean system, and install wakeonlan, it installs wakeonlan before its dependency perl5.

Has anyone got any clue what might be happening?

FYI, I create my own packages using poudriere.

====

uname -a
FreeBSD wilberforce 14.2-STABLE FreeBSD 14.2-STABLE #0 stable/14-n270475-b9e5928 3efeb-dirty: Fri Feb 21 00:53:00 CST 2025 stephen@wilberforce:/usr/obj/usr/s
rc/amd64.amd64/sys/GENERIC amd64

====

pkg install wakeonlan
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from file:///usr/local/poudriere/data/packages/142amd64-local,
 please wait...
Installing pkg-2.2.0...
Extracting pkg-2.2.0: 100%
Updating Poudriere repository catalogue...
Poudriere repository is up to date.
All repositories are up to date.
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        perl5: 5.40.2_2
        wakeonlan: 0.42

Number of packages to be installed: 2

The process will require 64 MiB more space.

Proceed with this action? [y/N]: y
[1/2] Installing wakeonlan-0.42...
[1/2] Extracting wakeonlan-0.42: 100%
[2/2] Installing perl5-5.40.2_2...
[2/2] Extracting perl5-5.40.2_2: 100%

====

pkg info -dx wakeonlan
wakeonlan-0.42:
        perl5-5.40.2_2

Tried the new version of pkg?

https://cgit.freebsd.org/ports/commit/?id=e4bf2ab761991f2d701f4a152455038d668abdc6

Best regards,

Daniel


Reply via email to