Netgate SG-1000 microFirewall

Author Topic: [SOLVED] Update 2.3.4 to 2.4 failed ("Unable to check for updates", ...)  (Read 2396 times)

0 Members and 1 Guest are viewing this topic.

Offline talon4x4

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: [SOLVED] Update 2.3.4 to 2.4 failed ("Unable to check for updates", ...)
« Reply #15 on: December 30, 2017, 09:05:55 am »


Steps to resolve

1. Cleaned up link-mess in /var/cache/pkg

Code: [Select]
$ ls -lha /var/cache/pkg
lrwxr-xr-x  1 root  wheel    24B Oct 21 02:27 /var/cache/pkg -> ../../root/var/cache/pkg

2. Delete an ".empty" file in /usr/local/share/pfSense/keys/pkg/revoked/ (check below for other key-issues)

3. Installed packages via pkg-static and upgrade
Code: [Select]
pkg-static update -f
pkg-static install -f pkg
pkg-static install -y pfSense pfSense-base pfSense-repo pfSense-kernel-pfSense pfSense-rc pfSense-repo pfSense-upgrade

pkg-static unlock pfSense-kernel-pfSense
pkg-static upgrade -f
pkg-static lock pfSense-kernel-pfSense

pfSense-upgrade -d

4. Installed and Removed acme package via GUI to get rid of crash reports



Just wanted to thank everyone for sharing this fix.  It worked perfectly and I'm now upgraded to v2.4.2
« Last Edit: December 30, 2017, 09:14:21 am by talon4x4 »

Offline AllGamer

  • Newbie
  • *
  • Posts: 22
  • Karma: +1/-0
    • View Profile
Re: [SOLVED] Update 2.3.4 to 2.4 failed ("Unable to check for updates", ...)
« Reply #16 on: January 14, 2018, 04:59:56 pm »
Thank you OP, this was a nice learning experience.

Well worse case scenario, I only had to re-install from media, then restore the config xml file. as I've done in previous failed major version upgrade.

but is good to learn how to re-cover from a bad upgrade.

Almost every major version upgrade like this 2.3.4 to 2.4, or 2.x to 2.3, and all previous major number changes, seems to have problem upgrading properly.