OK lets combine these two - switch to /bin/sh first - `pkg-static upgrade -r pkg-base` - `pkg-static upgrade -r pkg` - check password file specifically ``` # pkg-static upgrade -r pkg-base ... Installed packages to be REMOVED: FreeBSD-kerberos-lib-dev: 15.snap20250701161014 FreeBSD-kerberos-lib-man: 15.snap20241026125659 FreeBSD-openssl-lib-dev: 15.snap20250701161014 FreeBSD-openssl-lib-man: 15.snap20241104155004 pkg: 2.2.1 Number of packages to be removed: 5 Number of packages to be installed: 1 Number of packages to be upgraded: 280 The operation will free 107 MiB. Proceed with this action? [y/N]: y [274/505] Upgrading FreeBSD-runtime from 15.snap20250704033518 to 15.snap20250826173730... [274/505] Extracting FreeBSD-runtime-15.snap20250826173730: 100% ELF interpreter /libexec/ld-elf.so.1 not found, error 2 [275/505] Upgrading FreeBSD-sendmail from 15.snap20250704033518 to 15.snap20250826173730... [275/505] Extracting FreeBSD-sendmail-15.snap20250826173730: 100% [276/505] Upgrading FreeBSD-smbutils from 15.snap20250704033518 to 15.snap20250826173730... [276/505] Extracting FreeBSD-smbutils-15.snap20250826173730: 100% [277/505] Upgrading FreeBSD-syscons-data from 15.snap20241026125659 to 15.snap20250821133115... [277/505] Extracting FreeBSD-syscons-data-15.snap20250821133115: 100% [278/505] Upgrading FreeBSD-tcpd from 15.snap20250704033518 to 15.snap20250826173730... [278/505] Extracting FreeBSD-tcpd-15.snap20250826173730: 100% [279/505] Upgrading FreeBSD-telnet from 15.snap20250704033518 to 15.snap20250826173730... [279/505] Extracting FreeBSD-telnet-15.snap20250826173730: 100% [280/505] Upgrading FreeBSD-vi from 15.snap20250704033518 to 15.snap20250826173730... [280/505] Extracting FreeBSD-vi-15.snap20250826173730: 100% [281/505] Upgrading FreeBSD-vt-data from 15.snap20250617031524 to 15.snap20250821133115... [281/505] Extracting FreeBSD-vt-data-15.snap20250821133115: 100% [282/505] Upgrading FreeBSD-wpa from 15.snap20250704033518 to 15.snap20250826173730... [282/505] Extracting FreeBSD-wpa-15.snap20250826173730: 100% [283/505] Upgrading FreeBSD-zfs from 15.snap20250704033518 to 15.snap20250826173730... [283/505] Extracting FreeBSD-zfs-15.snap20250826173730: 100% [284/505] Upgrading FreeBSD-zoneinfo from 15.snap20250521200023 to 15.snap20250821133115... [284/505] Extracting FreeBSD-zoneinfo-15.snap20250821133115: 100% Child process pid=11738 terminated abnormally: Segmentation fault ``` fuckety feck again. can we press on though? ``` # pkg-static upgrade -r pkg-base Updating pkg-base repository catalogue... pkg-base repository is up to date. pkg-base is up to date. Checking for upgrades (1 candidates): 100% Processing candidates (1 candidates): 100% Checking integrity... done (0 conflicting) The following 3 package(s) will be affected (of 0 checked): New packages to be INSTALLED: FreeBSD-certctl: 15.snap20250826173730 [pkg-base] FreeBSD-clibs: 15.snap20250826173730 [pkg-base] Installed packages to be UPGRADED: FreeBSD-caroot: 15.snap20250313075117 -> 15.snap20250821133115 [pkg-base] Number of packages to be installed: 2 Number of packages to be upgraded: 1 The process will require 5 MiB more space. Proceed with this action? [y/N]: y [1/3] Installing FreeBSD-certctl-15.snap20250826173730... [1/3] Extracting FreeBSD-certctl-15.snap20250826173730: 100% [2/3] Upgrading FreeBSD-caroot from 15.snap20250313075117 to 15.snap20250821133115... [2/3] Extracting FreeBSD-caroot-15.snap20250821133115: 100% ELF interpreter /libexec/ld-elf.so.1 not found, error 2 [3/3] Installing FreeBSD-clibs-15.snap20250826173730... [3/3] Extracting FreeBSD-clibs-15.snap20250826173730: 100% ``` OK? fuck no ``` # vipw sh: vipw: not found # /usr/sbin/vipw sh: /usr/sbin/vipw: not found # pkg-static install -r pkg-base FreeBSD-utilities ``` phew lets keep going ``` # pkg-static upgrade -r pkg Updating pkg repository catalogue... Fetching meta.conf: 0% Fetching data.pkg: 0% pkg repository is up to date. pkg is up to date. New version of pkg detected; it needs to be installed first. The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: pkg: 2.2.1 -> 2.2.2 [pkg] Number of packages to be upgraded: 1 The process will require 6 MiB more space. 13 MiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching pkg-2.2.2.pkg: 100% 13 MiB 3.5MB/s 00:04 Checking integrity... done (0 conflicting) [1/1] Upgrading pkg from 2.2.1 to 2.2.2... [1/1] Extracting pkg-2.2.2: 100% Updating pkg repository catalogue... Fetching meta.conf: 0% Fetching data.pkg: 0% pkg repository is up to date. pkg is up to date. Checking for upgrades (16 candidates): 100% 16 B 0.0kB/s 00:01 Processing candidates (16 candidates): 100% 16 B 0.0kB/s 00:01 The following 18 package(s) will be affected (of 0 checked): New packages to be INSTALLED: compat14x-amd64: 14.2.1402000.20250811 [pkg] luajit: 2.1.0.20250728 [pkg] Installed packages to be UPGRADED: abseil: 20250127.0 -> 20250127.1 [pkg] curl: 8.14.1 -> 8.15.0 [pkg] go-yq: 4.44.2_3 -> 4.45.4_2 [pkg] gurl: 0.3.0_4 -> 0.3.0_6 [pkg] jq: 1.8.0 -> 1.8.1 [pkg] libnghttp2: 1.65.0 -> 1.66.0 [pkg] luv: 1.51.0.1 -> 1.51.0.1_1 [pkg] perl5: 5.40.2_2 -> 5.42.0_1 [pkg] ripgrep: 14.1.1_6 -> 14.1.1_7 [pkg] rsync: 3.4.1_2 -> 3.4.1_3 [pkg] tree-sitter: 0.25.6 -> 0.25.8 [pkg] Installed packages to be REINSTALLED: doas-6.3p12 [pkg] (required shared library changed) ipmitool-1.8.19_3 [pkg] (required shared library changed) libevent-2.1.12 [pkg] (required shared library changed) mosh-1.4.0_9 [pkg] (direct dependency changed: perl5) tmux-3.5a_1 [pkg] (required shared library changed) Number of packages to be installed: 2 Number of packages to be upgraded: 11 Number of packages to be reinstalled: 5 The process will require 16 MiB more space. 37 MiB to be downloaded. Proceed with this action? [y/N]: y ... ``` seems ok, lets reboot fuckety fick fuck feck! ``` igb0: port 0xe000-0xe01f mem 0xfb300000-0xfb37ffff,0xfb380000-0xfb383fff irq 18 at device 0.0 numa-domain 0 on pci5 igb0: EEPROM V3.16-0 eTrack 0x800004d7 igb0: Using 1024 TX descriptors and 1024 RX descriptors igb0: Using 4 RX queues 4 TX queues igb0: Using MSI-X interrupts with 5 vectors eval: devmatch: not foundc:c4:7a:c0:ca:5e eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found Starting Network: igb1. igb1: flags=8802 metric 0 mtu 1500 options=4e507bb ether 0c:c4:7a:c0:ca:5f media: Ethernet autoselect status: no carrier nd6 options=29 eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found eval: devmatch: not found sh: /usr/sbin/automount: not found sh: /usr/sbin/automount: not found sh: /usr/sbin/automount: not found sh: /usr/sbin/automount: not found sh: /usr/sbin/automount: not found sh: /usr/sbin/automount: not found sh: /usr/sbin/automount: not found sh: /usr/sbin/automount: not found sh: /usr/sbin/automount: not found sh: /usr/sbin/automount: not found sh: /usr/sbin/automount: not found sh: /usr/sbin/automount: not found sh: /usr/sbin/automount: not found sh: /usr/sbin/automount: not found eval: kbdcontrol: not found eval: devmatch: not found /etc/rc.d/dhclient: WARNING: run_rc_command: cannot run /sbin/dhclient /etc/rc.d/dhclient: WARNING: run_rc_command: cannot run /sbin/dhclient Starting zfsd. route: message indicates error: File exists add host 127.0.0.1: gateway lo0 fib 0: route already in table add net default: gateway 172.16.1.1 Additional inet routing options: gateway=YES. route: message indicates error: File exists add host ::1: gateway lo0 fib 0: route already in table ... fileseval: /usr/sbin/newsyslog: not found . Clearing /tmp. Updating /var/run/os-release done. /etc/rc: WARNING: devfs_set_ruleset: you must specify a ruleset number /etc/rc: WARNING: devfs_apply_ruleset: you must specify a ruleset Updating motd:. /etc/rc: WARNING: run_rc_command: cannot run /usr/sbin/syslogd Setting date via ntp. 26 Aug 19:47:54 ntpdate[11677]: step time server 217.196.145.42 offset -0.453742 sec Mounting late filesystems:. eval: utx: not found Security policy loaded: MAC/ntpd (mac_ntpd) Starting ntpd. pid 11803 (su), jid 0, uid 0: exited on signal 12 (no core dump - bad address) Bad system call /etc/rc: WARNING: failed to start ntpd /etc/rc: WARNING: run_rc_command: cannot run /usr/sbin/sshd /etc/rc: WARNING: run_rc_command: cannot run /usr/sbin/cron Starting background file system checks in 60 seconds. Tue Aug 26 19:47 FreeBSD/amd64 (neuromancer.skunkwerks.at) (ttyu1) login: Tue Aug 26 19:47 FreeBSD/amd64 (neuromancer.skunkwerks.at) (ttyu1) login: root Password: 2025-08-26T19:48:53.048448+00:00 neuromancer.skunkwerks.at login 11919 - - loginpid 11919 (login), jid 0, uid 0: exited on signal 12 (core dumped) on ttyu1 as root 2025-08-26T19:48:53.048533+00:00 neuromancer.skunkwerks.at login 11919 - - ROOT LOGIN (root) ON ttyu1 FreeBSD/amd64 (neuromancer.skunkwerks.at) (ttyu1) login: ``` this approach isn't ... awful ... but we are still missing important things and that just shouldn't be possible.