. . /var/cache/pkg/py38-charset-normalizer-2.0.12.txzThe cleanup will free 59 MiBDeleting files: .......... doneAll doneNothing to do.Starting web GUI...done.Generating RRD graphs...done.Fetching base-22.1.5-amd64.txz: ..............................pgrep: Cannot open pidfile `/tmp/opnsense-fetch.pid.8WIINU': No such file or directory[fetch: transfer timed out] failed, no signature found***DONE***
Try to poke the update again. If it isn't a persistent problem it should work on a subsequent try.. make sure to account for the reboot that's going to happen once the base and kernel are being picked up.
..Checking packages: .zip-3.0_1 has no upstream equivalent***DONE***
If that's the case I really wasn't expecting FreeBSD package manager would forget its good data due to not reaching its mirror via IPv6?
cat /usr/local/opnsense/scripts/firmware/connection.sh#!/bin/sh# Copyright (C) 2021 Franco Fichtner <franco@opnsense.org># All rights reserved.## Redistribution and use in source and binary forms, with or without# modification, are permitted provided that the following conditions are met:## 1. Redistributions of source code must retain the above copyright notice,# this list of conditions and the following disclaimer.## 2. Redistributions in binary form must reproduce the above copyright# notice, this list of conditions and the following disclaimer in the# documentation and/or other materials provided with the distribution.## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE# AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE# POSSIBILITY OF SUCH DAMAGE.LOCKFILE="/tmp/pkg_upgrade.progress"TEE="/usr/bin/tee -a": > ${LOCKFILE}URL=$(opnsense-update -M)POPT="-c4 -s1500"HOST=${URL#*://}HOST=${HOST%%/*}IPV4=$(host -t A ${HOST} | head -n 1 | cut -d\ -f4)IPV6=$(host -t AAAA ${HOST} | head -n 1 | cut -d\ -f5)echo "***GOT REQUEST TO AUDIT CONNECTIVITY***" >> ${LOCKFILE}echo "Currently running $(opnsense-version) at $(date)" >> ${LOCKFILE}if [ -n "${IPV4}" -a -z "${IPV4%%*.*}" ]; then echo "Checking connectivity for host: ${HOST} -> ${IPV4}" | ${TEE} ${LOCKFILE} (ping ${POPT} ${IPV4} 2>&1) | ${TEE} ${LOCKFILE} echo "Checking connectivity for repository (IPv4): ${URL}" | ${TEE} ${LOCKFILE} (pkg -4 update -f 2>&1) | ${TEE} ${LOCKFILE}else echo "No IPv4 address could be found for host: ${HOST}" | ${TEE} ${LOCKFILE}fiif [ -n "${IPV6}" -a -z "${IPV6%%*:*}" ]; then echo "Checking connectivity for host: ${HOST} -> ${IPV6}" | ${TEE} ${LOCKFILE} (ping6 ${POPT} ${IPV6} 2>&1) | ${TEE} ${LOCKFILE} echo "Checking connectivity for repository (IPv6): ${URL}" | ${TEE} ${LOCKFILE} (pkg -6 update -f 2>&1) | ${TEE} ${LOCKFILE}else echo "No IPv6 address could be found for host: ${HOST}" | ${TEE} ${LOCKFILE}fiecho '***DONE***' >> ${LOCKFILE}
/var/db/pkg/repo-OPNsense.sqlite
#!/bin/sh# Copyright (C) 2021 Franco Fichtner <franco@opnsense.org># All rights reserved.## Redistribution and use in source and binary forms, with or without# modification, are permitted provided that the following conditions are met:## 1. Redistributions of source code must retain the above copyright notice,# this list of conditions and the following disclaimer.## 2. Redistributions in binary form must reproduce the above copyright# notice, this list of conditions and the following disclaimer in the# documentation and/or other materials provided with the distribution.## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE# AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE# POSSIBILITY OF SUCH DAMAGE.LOCKFILE="/tmp/pkg_upgrade.progress"TEE="/usr/bin/tee -a": > ${LOCKFILE}URL=$(opnsense-update -M)POPT="-c4 -s1500"HOST=${URL#*://}HOST=${HOST%%/*}IPV4=$(host -t A ${HOST} | head -n 1 | cut -d\ -f4)IPV6=$(host -t AAAA ${HOST} | head -n 1 | cut -d\ -f5)echo "***GOT REQUEST TO AUDIT CONNECTIVITY***" >> ${LOCKFILE}echo "Currently running $(opnsense-version) at $(date)" >> ${LOCKFILE}if [ -n "${IPV4}" -a -z "${IPV4%%*.*}" ]; then echo "Checking connectivity for host: ${HOST} -> ${IPV4}" | ${TEE} ${LOCKFILE} exec 4>&1 PRES=`{ { ping ${POPT} ${IPV4} 2>&1; printf $? 1>&3; } | ${TEE} ${LOCKFILE} 1>&4; } 3>&1` [ $PRES = 0 ] && echo "Checking connectivity for repository (IPv4): ${URL}" | ${TEE} ${LOCKFILE} [ $PRES = 0 ] && (pkg -4 update -f 2>&1) | ${TEE} ${LOCKFILE}else echo "No IPv4 address could be found for host: ${HOST}" | ${TEE} ${LOCKFILE}fiif [ -n "${IPV6}" -a -z "${IPV6%%*:*}" ]; then echo "Checking connectivity for host: ${HOST} -> ${IPV6}" | ${TEE} ${LOCKFILE} exec 4>&1 PRES=`{ { ping6 ${POPT} ${IPV6} 2>&1; printf $? 1>&3; } | ${TEE} ${LOCKFILE} 1>&4; } 3>&1` [ $PRES = 0 ] && echo "Checking connectivity for repository (IPv6): ${URL}" | ${TEE} ${LOCKFILE} [ $PRES = 0 ] && (pkg -6 update -f 2>&1) | ${TEE} ${LOCKFILE}else echo "No IPv6 address could be found for host: ${HOST}" | ${TEE} ${LOCKFILE}fiecho '***DONE***' >> ${LOCKFILE}
This seems to do the trick https://github.com/opnsense/core/commit/2a3f201d38