Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Upgrade 2.3.1 to 2.3.2 fails

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    15 Posts 11 Posters 8.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      keen
      last edited by

      try to upgrade from ssh option 13

      1 Reply Last reply Reply Quote 0
      • w0wW
        w0w
        last edited by

        Looks like servers are under heavy load.
        pkg: https://pkg.pfsense.org/pfSense_v2_3_2_amd64-core/All/pfSense-kernel-pfSense-2.3.2.txz: Operation timed out

        1 Reply Last reply Reply Quote 0
        • O
          OlliC
          last edited by

          My upgrade failed aswell. Didnt want to open a new thread so i post it here.

          Also 2.3.1 to 2.3.2 with NanoBSD on an Alix board. Update from console over ssh.
          Tried three times. Two times i got the following error. One time i got a timeout while fetching the packages.

          Number of packages to be removed: 1
          Number of packages to be installed: 1
          Number of packages to be upgraded: 68
          
          The process will require 2 MiB more space.
          [1/70] Upgrading gettext-runtime from 0.19.7 to 0.19.8.1...
          [1/70] Extracting gettext-runtime-0.19.8.1: .......... done
          [2/70] Upgrading python27 from 2.7.11_2 to 2.7.12...
          [2/70] Extracting python27-2.7.12: .......... done
          Child process pid=7422 terminated abnormally: Killed
          >>> Locking package pfSense-kernel-pfSense_wrap... done.
          pkg: open(/bin/sh): No such file or directory
          pkg: open(/bin/sh): No such file or directory
          pkg: Unable to determine ABI
          pkg: Cannot parse configuration file!
          pkg: open(/bin/sh): No such file or directory
          pkg: open(/bin/sh): No such file or directory
          pkg: Unable to determine ABI
          pkg: Cannot parse configuration file!
          
          
          1 Reply Last reply Reply Quote 0
          • K
            keen
            last edited by

            timeout maybe servers are overload…

            1 Reply Last reply Reply Quote 0
            • O
              overcam
              last edited by

              I also had the upgrade fail, apparently on the last package. Afterward the Package Manager could not display the installed or available packages. And the main page version check would fail. Manual attempts to upgrade through the web GUI would also fail.

              I recovered using the serial console upgrade method, as others have suggested (thanks!)

              1 Reply Last reply Reply Quote 0
              • E
                elementalwindx
                last edited by

                wtffffffff…... fit it, fix it nowwwww. :)

                wtfffffff.png
                wtfffffff.png_thumb

                1 Reply Last reply Reply Quote 0
                • 1
                  1smallsausage
                  last edited by

                  My unit tells me that a upgrade is available and when i start the process i get this

                  Updating repositories metadata…
                  Updating pfSense-core repository catalogue...
                  pkg: https://pkg.pfsense.org/pfSense_v2_3_1_amd64-core/meta.txz: No address record
                  repository pfSense-core has no meta file, using default settings
                  pkg: https://pkg.pfsense.org/pfSense_v2_3_1_amd64-core/packagesite.txz: No address record
                  Unable to update repository pfSense-core
                  Updating pfSense repository catalogue...
                  pkg: https://pkg.pfsense.org/pfSense_v2_3_1_amd64-pfSense_v2_3_1/meta.txz: No address record
                  repository pfSense has no meta file, using default settings
                  pkg: https://pkg.pfsense.org/pfSense_v2_3_1_amd64-pfSense_v2_3_1/packagesite.txz: No address record
                  Unable to update repository pfSense
                  Failed

                  running 2.3.1_1 trying to go to 2.3.2

                  1 Reply Last reply Reply Quote 0
                  • C
                    cmb
                    last edited by

                    @1smallsausage:

                    My unit tells me that a upgrade is available and when i start the process i get this

                    Updating repositories metadata…
                    Updating pfSense-core repository catalogue...
                    pkg: https://pkg.pfsense.org/pfSense_v2_3_1_amd64-core/meta.txz: No address record

                    Bug that's fixed in 2.3.2, but you'll need to bind your DNS Resolver or Forwarder to localhost first to get to 2.3.2. Do that, and upgrade again and it'll be fine.

                    1 Reply Last reply Reply Quote 0
                    • O
                      OlliC
                      last edited by

                      Iam still not be able to update my box.

                      The first thing i figured out after doing 'pkg clean' is that it was mounted read-only even tho it says 'NanoBSD is now always read-write to avoid read-write to read-only mount problems.' in the webinterface.

                      So i executed '/etc/rc.conf_mount_rw'. Did 'pkg clean' again. That went ok this time.
                      Then i did 'pfSense-upgrade -d' and got this again:

                      Number of packages to be removed: 1
                      Number of packages to be installed: 1
                      Number of packages to be upgraded: 69
                      
                      The process will require 2 MiB more space.
                      [1/71] Upgrading gettext-runtime from 0.19.7 to 0.19.8.1...
                      [1/71] Extracting gettext-runtime-0.19.8.1: .......... done
                      [2/71] Upgrading python27 from 2.7.11_2 to 2.7.12...
                      [2/71] Extracting python27-2.7.12: .......Child process pid=96087 terminated abnormally: Killed
                      >>> Locking package pfSense-kernel-pfSense_wrap... 
                      Locking pfSense-kernel-pfSense_wrap-2.3.2
                      pkg: open(/bin/sh): No such file or directory
                      pkg: open(/bin/sh): No such file or directory
                      pkg: Unable to determine ABI
                      pkg: Cannot parse configuration file!
                      pkg: open(/bin/sh): No such file or directory
                      pkg: open(/bin/sh): No such file or directory
                      pkg: Unable to determine ABI
                      pkg: Cannot parse configuration file!
                      
                      

                      Any hints?

                      Edit: Just checked the mount status after the failed upgrade and its mounted read-only again!

                      [2.3.1-RELEASE][admin@deepthought.lan]/root: mount
                      /dev/ufs/pfsense1 on / (ufs, local, noatime, read-only, synchronous)
                      devfs on /dev (devfs, local)
                      /dev/ufs/cf on /cf (ufs, local, noatime, synchronous)
                      /dev/md0 on /tmp (ufs, local)
                      /dev/md1 on /var (ufs, local)
                      devfs on /var/dhcpd/dev (devfs, local)
                      
                      

                      Could it be that something remounts it read-only while upgrading causing it to fail?!

                      1 Reply Last reply Reply Quote 0
                      • A
                        afrugone
                        last edited by

                        Similar problem, Can Not upgrade, current version "2.3.1-RELEASE-p1 (amd64) " get this error:

                        firmware installation failed!

                        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.
                        ERROR: It was not possible to determine pkg remote version
                        Locking package pfSense-kernel-pfSense... done.
                        Failed
                        ERROR: It was not possible to determine pfSense-repo remote version
                        Failed

                        Try to update Squid and Get this:

                        "not_ready" and that's all

                        1 Reply Last reply Reply Quote 0
                        • O
                          OlliC
                          last edited by

                          Solved it now by reinstalling to full version on my Alix.

                          Since nanobsd is going to be discontinued it had to do this anyway. At least i know how to install it on my cf card with virtualbox and a cf card reader now.

                          Now i have to reinstall all packages and try to get freeradius to launch again. But it seems to run good so far…

                          1 Reply Last reply Reply Quote 0
                          • F
                            fcastagnini
                            last edited by

                            I run into the same problem, in my case it was a bad link for the pkg cache.
                            This is how I fix it:

                            
                            # unlink /root/var/cache/pkg
                            # mkdir /root/var/cache/pkg
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.