Firmware installation failed!



  • I am getting firmware installation failed error when trying to update from 2.3.b.20160301.1432 to 2.3.b.20160314.0755. Anyone else seeing this issue?



  • Haven't seen that anywhere. What's it show in /conf/upgrade_log.txt?



  • I`ve seen it.
    Log says file not found and it happens when metadata is online already and actual file not build/uploaded yet.
    This happens just when new snap it is being prepaired I believe.



  • Oh, yeah may be hitting that. There is a brief period on each snapshot run where the metadata is in place before the associated packages. Refresh a few seconds later in that case and it's fine.



  • Weird. So I did what you said and let it sit there a bit and then refreshed and ran it again. Now it says it completely successfully, but it still shows me at version 2.3.b.20160301.1432 with an update to 2.3.b.20160315.0054 available. I ran it two more times and it said it was successful, but it still shows me at v.1432. Any ideas? I've also rebooted the device a few times before and after I submitted this ticket originally.



  • Just tried again. Still stuck at 2.3.b.20160301.1432.

    Anyone have any ideas how to get it updating properly again?



  • Here is an output of /conf/upgrade_log.txt…

    >>> Updating repositories metadata...
    Updating pfSense-core repository catalogue...
    pfSense-core repository is up-to-date.
    Updating pfSense repository catalogue...
    pfSense repository is up-to-date.
    All repositories are up-to-date.
    >>> Unlocking package pfSense-kernel-pfSense... done.
    >>> Downloading upgrade packages...
    Updating pfSense-core repository catalogue...
    pfSense-core repository is up-to-date.
    Updating pfSense repository catalogue...
    pfSense repository is up-to-date.
    All repositories are up-to-date.
    Checking for upgrades (43 candidates): .......... done
    Processing candidates (43 candidates): .......... done
    Checking integrity... done (1 conflicting)
    Checking integrity... done (0 conflicting)
    The following 52 package(s) will be affected (of 0 checked):
    
    Installed packages to be REMOVED:
    	rrdtool12-1.2.30_7
    
    New packages to be INSTALLED:
    	pfSense-Status_Monitoring: 0.9.2 [pfSense]
    	pecl-rrd: 1.1.3_2 [pfSense]
    	rrdtool: 1.5.5_1 [pfSense]
    	glib: 2.44.1_3 [pfSense]
    	python27: 2.7.11_1 [pfSense]
    	libffi: 3.2.1 [pfSense]
    	libiconv: 1.14_9 [pfSense]
    	perl5: 5.20.3_8 [pfSense]
    
    Installed packages to be UPGRADED:
    	strongswan: 5.4.0.d7 -> 5.4.0.r1_1 [pfSense]
    	php56-zlib: 5.6.18 -> 5.6.19 [pfSense]
    	php56-xmlwriter: 5.6.18 -> 5.6.19 [pfSense]
    	php56-xmlreader: 5.6.18 -> 5.6.19 [pfSense]
    	php56-xml: 5.6.18 -> 5.6.19 [pfSense]
    	php56-tokenizer: 5.6.18 -> 5.6.19 [pfSense]
    	php56-sysvshm: 5.6.18 -> 5.6.19 [pfSense]
    	php56-sysvsem: 5.6.18 -> 5.6.19 [pfSense]
    	php56-sysvmsg: 5.6.18 -> 5.6.19 [pfSense]
    	php56-sqlite3: 5.6.18 -> 5.6.19 [pfSense]
    	php56-sockets: 5.6.18 -> 5.6.19 [pfSense]
    	php56-simplexml: 5.6.18 -> 5.6.19 [pfSense]
    	php56-shmop: 5.6.18 -> 5.6.19 [pfSense]
    	php56-session: 5.6.18 -> 5.6.19 [pfSense]
    	php56-readline: 5.6.18 -> 5.6.19 [pfSense]
    	php56-posix: 5.6.18 -> 5.6.19 [pfSense]
    	php56-pdo_sqlite: 5.6.18 -> 5.6.19 [pfSense]
    	php56-pdo: 5.6.18 -> 5.6.19 [pfSense]
    	php56-pcntl: 5.6.18 -> 5.6.19 [pfSense]
    	php56-openssl: 5.6.18 -> 5.6.19 [pfSense]
    	php56-opcache: 5.6.18 -> 5.6.19 [pfSense]
    	php56-mcrypt: 5.6.18 -> 5.6.19 [pfSense]
    	php56-mbstring: 5.6.18_1 -> 5.6.19_1 [pfSense]
    	php56-ldap: 5.6.18 -> 5.6.19 [pfSense]
    	php56-json: 5.6.18 -> 5.6.19 [pfSense]
    	php56-hash: 5.6.18 -> 5.6.19 [pfSense]
    	php56-gettext: 5.6.18 -> 5.6.19 [pfSense]
    	php56-filter: 5.6.18 -> 5.6.19 [pfSense]
    	php56-dom: 5.6.18 -> 5.6.19 [pfSense]
    	php56-curl: 5.6.18 -> 5.6.19 [pfSense]
    	php56-ctype: 5.6.18 -> 5.6.19 [pfSense]
    	php56-bz2: 5.6.18 -> 5.6.19 [pfSense]
    	php56-bcmath: 5.6.18 -> 5.6.19 [pfSense]
    	php56: 5.6.18 -> 5.6.19 [pfSense]
    	pfSense-repo-devel: 2.3.b.20160301.1432 -> 2.3.b.20160316.0510 [pfSense-core]
    	pfSense-default-config: 2.3.b.20160301.1432 -> 2.3.b.20160316.0510 [pfSense-core]
    	pfSense-base: 2.3.b.20160301.1432 -> 2.3.b.20160316.0510 [pfSense-core]
    	pfSense: 2.3.b.20160301.1226 -> 2.3.b.20160316.1117 [pfSense]
    	dpinger: 1.10 -> 2.0 [pfSense]
    	dhcpleases6: 0.1 -> 0.1_1 [pfSense]
    	dhcp6: 20080615_6 -> 20080615_7 [pfSense]
    	ca_root_nss: 3.22 -> 3.22.2 [pfSense]
    	bind-tools: 9.10.3P3 -> 9.10.3P4 [pfSense]
    
    The process will require 135 MiB more space.
    Upgrade is complete.  Rebooting in 10 seconds.
    >>> Locking package pfSense-kernel-pfSense... done.
    __RC=0 __REBOOT_AFTER=10
    >>> Upgrading necessary packages...
    Checking for upgrades (43 candidates): .......... done
    Processing candidates (43 candidates): ........
    
    pfSense-kernel-pfSense-2.3.b.20160316.0510 is locked and may not be modified
    Processing candidates (43 candidates)..... done
    Checking integrity... done (1 conflicting)
    Checking integrity... done (0 conflicting)
    The following 52 package(s) will be affected (of 0 checked):
    
    Installed packages to be REMOVED:
    	rrdtool12-1.2.30_7
    
    New packages to be INSTALLED:
    	pfSense-Status_Monitoring: 0.9.2 [pfSense]
    	pecl-rrd: 1.1.3_2 [pfSense]
    	rrdtool: 1.5.5_1 [pfSense]
    	glib: 2.44.1_3 [pfSense]
    	python27: 2.7.11_1 [pfSense]
    	libffi: 3.2.1 [pfSense]
    	libiconv: 1.14_9 [pfSense]
    	perl5: 5.20.3_8 [pfSense]
    
    Installed packages to be UPGRADED:
    	strongswan: 5.4.0.d7 -> 5.4.0.r1_1 [pfSense]
    	php56-zlib: 5.6.18 -> 5.6.19 [pfSense]
    	php56-xmlwriter: 5.6.18 -> 5.6.19 [pfSense]
    	php56-xmlreader: 5.6.18 -> 5.6.19 [pfSense]
    	php56-xml: 5.6.18 -> 5.6.19 [pfSense]
    	php56-tokenizer: 5.6.18 -> 5.6.19 [pfSense]
    	php56-sysvshm: 5.6.18 -> 5.6.19 [pfSense]
    	php56-sysvsem: 5.6.18 -> 5.6.19 [pfSense]
    	php56-sysvmsg: 5.6.18 -> 5.6.19 [pfSense]
    	php56-sqlite3: 5.6.18 -> 5.6.19 [pfSense]
    	php56-sockets: 5.6.18 -> 5.6.19 [pfSense]
    	php56-simplexml: 5.6.18 -> 5.6.19 [pfSense]
    	php56-shmop: 5.6.18 -> 5.6.19 [pfSense]
    	php56-session: 5.6.18 -> 5.6.19 [pfSense]
    	php56-readline: 5.6.18 -> 5.6.19 [pfSense]
    	php56-posix: 5.6.18 -> 5.6.19 [pfSense]
    	php56-pdo_sqlite: 5.6.18 -> 5.6.19 [pfSense]
    	php56-pdo: 5.6.18 -> 5.6.19 [pfSense]
    	php56-pcntl: 5.6.18 -> 5.6.19 [pfSense]
    	php56-openssl: 5.6.18 -> 5.6.19 [pfSense]
    	php56-opcache: 5.6.18 -> 5.6.19 [pfSense]
    	php56-mcrypt: 5.6.18 -> 5.6.19 [pfSense]
    	php56-mbstring: 5.6.18_1 -> 5.6.19_1 [pfSense]
    	php56-ldap: 5.6.18 -> 5.6.19 [pfSense]
    	php56-json: 5.6.18 -> 5.6.19 [pfSense]
    	php56-hash: 5.6.18 -> 5.6.19 [pfSense]
    	php56-gettext: 5.6.18 -> 5.6.19 [pfSense]
    	php56-filter: 5.6.18 -> 5.6.19 [pfSense]
    	php56-dom: 5.6.18 -> 5.6.19 [pfSense]
    	php56-curl: 5.6.18 -> 5.6.19 [pfSense]
    	php56-ctype: 5.6.18 -> 5.6.19 [pfSense]
    	php56-bz2: 5.6.18 -> 5.6.19 [pfSense]
    	php56-bcmath: 5.6.18 -> 5.6.19 [pfSense]
    	php56: 5.6.18 -> 5.6.19 [pfSense]
    	pfSense-repo-devel: 2.3.b.20160301.1432 -> 2.3.b.20160316.0510 [pfSense-core]
    	pfSense-default-config: 2.3.b.20160301.1432 -> 2.3.b.20160316.0510 [pfSense-core]
    	pfSense-base: 2.3.b.20160301.1432 -> 2.3.b.20160316.0510 [pfSense-core]
    	pfSense: 2.3.b.20160301.1226 -> 2.3.b.20160316.1117 [pfSense]
    	dpinger: 1.10 -> 2.0 [pfSense]
    	dhcpleases6: 0.1 -> 0.1_1 [pfSense]
    	dhcp6: 20080615_6 -> 20080615_7 [pfSense]
    	ca_root_nss: 3.22 -> 3.22.2 [pfSense]
    	bind-tools: 9.10.3P3 -> 9.10.3P4 [pfSense]
    
    The process will require 135 MiB more space.
    [1/52] Installing libffi-3.2.1...
    [1/52] Extracting libffi-3.2.1: .......... done
    [2/52] Installing python27-2.7.11_1...
    [2/52] Extracting python27-2.7.11_1: .......... done
    [3/52] Installing libiconv-1.14_9...
    [3/52] Extracting libiconv-1.14_9: .......... done
    [4/52] Installing perl5-5.20.3_8...
    [4/52] Extracting perl5-5.20.3_8:
    pkg: archive_read_extract(): Can't create '/usr/local/lib/perl5/5.20/AnyDBM_File.pm'
    [4/52] Extracting perl5-5.20.3_8... done
    [4/52] Deleting files for perl5-5.20.3_8: .......... done
    


  • Issue in that case is:

    pkg: archive_read_extract(): Can't create '/usr/local/lib/perl5/5.20/AnyDBM_File.pm'

    Not sure why it wouldn't be able to create that. Does the file it's referencing there exist?



  • So it looks like the/usr/local/lib/perl5directory is symlinked to```
    /usr/pbi/lightsquid-amd64/local/lib/perl5


  • Rebel Alliance Developer Netgate

    find / -type l -lname '/usr/pbi/*' -delete
    


  • That worked! Thanks much!


Log in to reply