% sudo opnsense-updateUpdating OPNsense repository catalogue...OPNsense repository is up to date.All repositories are up to date.Updating OPNsense repository catalogue...OPNsense repository is up to date.All repositories are up to date.Checking for upgrades (18 candidates): 100%Processing candidates (18 candidates): 100%Checking integrity... done (0 conflicting)Your packages are up to date.Checking integrity... done (0 conflicting)Nothing to do.Nothing to do.Fetching base-17.7.10-amd64.obsolete: ... doneFetching base-17.7.10-amd64.txz: ....... doneFetching kernel-17.7.10-amd64.txz: .... done!!!!!!!!!!!! ATTENTION !!!!!!!!!!!!!!!! A critical upgrade is in progress. !! Please do not turn off the system. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Installing kernel-17.7.10-amd64.txz... doneInstalling base-17.7.10-amd64.txz... doneInstalling base-17.7.10-amd64.obsolete... donePlease reboot.
% sudo pkg updateUpdating OPNsense repository catalogue...pkg: Repository OPNsense load error: access repo file(/var/db/pkg/repo-OPNsense.sqlite) failed: No such file or directoryFetching meta.txz: 100% 1 KiB 1.5kB/s 00:01Fetching packagesite.txz: 100% 126 KiB 128.6kB/s 00:01Processing entries: 100%OPNsense repository update completed. 462 packages processed.All repositories are up to date.
% sudo pkg updateUpdating OPNsense repository catalogue...pkg: Repository OPNsense has a wrong packagesite, need to re-create databaseFetching meta.txz: 100% 1 KiB 1.5kB/s 00:01Fetching packagesite.txz: 100% 126 KiB 128.6kB/s 00:01Processing entries: 100%OPNsense repository update completed. 462 packages processed.All repositories are up to date.admin@gateway:~ % sudo pkg updateUpdating OPNsense repository catalogue...OPNsense repository is up to date.All repositories are up to date.
% su rootPassword: 0) Logout 7) Ping host 1) Assign interfaces 8) Shell 2) Set interface IP address 9) pfTop 3) Reset the root password 10) Firewall log 4) Reset to factory defaults 11) Reload all services 5) Power off system 12) Upgrade from console 6) Reboot system 13) Restore a backupEnter an option: 12Fetching change log information, please wait... doneThis will automatically fetch all available updates, apply them,and reboot if necessary.A major firmware upgrade is available for this installation: 18.1Make sure you have read the release notes and migration guide beforeattempting this upgrade. Around 300MB will need to be downloaded andrequire 600MB of free space. Continue with this major upgrade bytyping the major upgrade version number displayed above.Minor updates may be available, answer 'y' to run them instead.Proceed with this action? [18.1/y/N]: 18.1Fetching packages-18.1-OpenSSL-amd64.tar: ................. doneExtracting packages-18.1-OpenSSL-amd64.tar...pkg-static: Repository OPNsense missing. 'pkg update' requiredpkg-static: No package database installed. Nothing to do! donePlease reboot.>>> Invoking stop script 'beep'>>> Invoking stop script 'freebsd'Performing sanity check on squid configuration.Configuration for squid passes.Stopping squid.Waiting for PIDS: 17289.Stopping suricata.Waiting for PIDS: 19457.>>> Invoking stop script 'backup'Cannot 'stop' flowd_aggregate. Set flowd_aggregate_enable to YES in /etc/rc.conf or use 'onestop' instead of 'stop'.Shutdown NOW!shutdown: [pid 84616]*** FINAL System shutdown message from admin
Double-check these first and let us know their output before we continue:# uname -a# freebsd-version -uThanks,Franco
% uname -aFreeBSD gateway.lan 11.1-RELEASE-p6 FreeBSD 11.1-RELEASE-p6 6621d681e(stable/18.1) amd64% freebsd-version -u11.1-RELEASE-p6
# opnsense-update -sn "18.1\/latest"# pkg bootstrap -ftype "y"# pkg upgrade -for if that doesn't work# pkg install opnsenseCheers,
% sudo opnsense-update -sn "18.1\/latest"% sudo pkg bootstrap -fThe package management tool is not yet installed on your system.Do you want to fetch and install it now? [y/N]: yBootstrapping pkg from pkg+http://pkg.opnsense.org/FreeBSD:11:amd64/18.1/latest, please wait...Verifying signature with trusted certificate pkg.opnsense.org.20171219... doneInstalling pkg-1.10.3_1...package pkg is already installed, forced installExtracting pkg-1.10.3_1: 100%% sudo pkg upgrade -fUpdating OPNsense repository catalogue...pkg: Repository OPNsense has a wrong packagesite, need to re-create databaseFetching meta.txz: 100% 1 KiB 1.5kB/s 00:01Fetching packagesite.txz: 100% 126 KiB 129.0kB/s 00:01Processing entries: 100%OPNsense repository update completed. 468 packages processed.All repositories are up to date.Updating database digests format: 100%Checking for upgrades (149 candidates): 14%python35 has no direct installation candidates, change it to python27? [Y/n]: YChecking for upgrades (149 candidates): 100%Processing candidates (149 candidates): 100%pkg: sqlite error while executing UPDATE packages SET name=?1 WHERE name=?2; in file pkg_jobs.c:1731: UNIQUE constraint failed: packages.name:[143/144] Fetching py27-dnspython-1.15.0.txz: 100% 167 KiB 170.6kB/s 00:01Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 386.Child process pid=54683 terminated abnormally: Abort trap
OPNsense 18.1.2_2-amd64FreeBSD 11.1-RELEASE-p6OpenSSL 1.0.2n 7 Dec 2017
python35 has no direct installation candidates, change it to python27? [Y/n]:
We don't offer Python 3.5. It will cause further trouble.
% whereis python35python35: /usr/ports/lang/python35
We cannot provide safety for more than the ports that we offer as binary packages.