1
18.1 Legacy Series / Upgrade to 18.1 fail - 'pkg update' required
« on: February 12, 2018, 06:25:10 pm »
Hi to everyone, i'm new.
Six months ago I bought an alix system with opnsense installed, over time I made several updates without problems.
Saturday I made the transition from 17.7.6 to 17.7.12 and everything seemed ok.
When restarting from the web gui I recognized the new version and I tried to update to 18.1, but the next restart I found that it was not updated.
With access via SSH I see:
Now the system is working with 17.7.12 but i can't upgrade anything.
someone could help me ? ask me if I have omitted some information.
Six months ago I bought an alix system with opnsense installed, over time I made several updates without problems.
Saturday I made the transition from 17.7.6 to 17.7.12 and everything seemed ok.
When restarting from the web gui I recognized the new version and I tried to update to 18.1, but the next restart I found that it was not updated.
With access via SSH I see:
Code: [Select]
Hello, this is OPNsense 17.7
*** OPNsense.localdomain: OPNsense 17.7.12_1 (i386 / OpenSSL) ***
trying to update from ssh:Code: [Select]
Enter an option: 12
Fetching change log information, please wait ... done
This will automatically fetch all updates, apply them,
and reboot if necessary.
A major firmware upgrade is available for this installation: 18.1
Make sure you have read the release notes and migration guide before
attempting this upgrade. Around 300MB will need to be downloaded
require 600MB of free space. Continue with this major upgrade by
typing 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.1
Fetching packages-18.1-OpenSSL-i386.tar: ....................................... .................................................. .................................................. .................................................. done
Fetching base-18.1-i386.obsolete: ... done
Fetching base-18.1-i386.txz: ......................................... ....... done
Fetching kernel-18.1-i386.txz: .................... done
!!!!!!!!!!!! ATTENTION !!!!!!!!!!!!!!!
! A critical upgrade is in progress. !
! Please do not turn off the system. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Extracting packages-18.1-OpenSSL-i386.tar ... pkg-static: OPNsense missing repository. 'pkg update' required
pkg-static: No package database installed. Nothing to do!
done
Extracting base-18.1-i386.txz ... done
Extracting base-18.1-i386.obsolete ... done
Installing kernel-18.1-i386.txz ... done
Please reboot.
>>> Invoking stop script 'beep'
>>> Invoking stop script 'freebsd'
>>> Invoking stop script 'backup'
Can not 'stop' flowd_aggregate. Set flowd_aggregate_enable to YES in /etc/rc.conf or use 'onestop' instead of 'stop'.
Shutdown NOW!
shutdown: [pid 89551]
*** FINAL System shutdown message from root@OPNsense.localdomain ***
System going down IMMEDIATELY
I try to update pkgCode: [Select]
root@OPNsense:~ # pkg update
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD load error: access repo file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory
Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
Fetching packagesite.txz: 100% 6 MiB 1.2MB/s 00:05
pkg: archive_read_extract(extract error): No space left on device
pkg: No signature found
Unable to update repository FreeBSD
Error updating repositories!
Code: [Select]
root@OPNsense:~ # ls /var/db/pkg/
FreeBSD.meta OPNsense.meta local.sqlite repo-OPNsense.sqlite vuln.xml
Now the system is working with 17.7.12 but i can't upgrade anything.
someone could help me ? ask me if I have omitted some information.