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

    Fail to upgrade 2.3_1 to 2.3.1

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    23 Posts 11 Posters 8.8k 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.
    • G Offline
      GLR
      last edited by

      Hello,

      Same for me on an APU board running 2.3-RELEASE nanobsd (4g) i386 :

      >>> 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.
      **** WARNING ****
      Duplicate slice required!!
      
      Before starting the upgrade process, the currently mounted nanobsd partition
      needs to be cloned to the secondary partition, where the update will happen
      
      After installation a reboot will be required to switch partition.
      
      >>> Cleaning secondary partition... done.
      >>> Duplicating current slice... done.
      >>> Restoring slice label... done.
      >>> Testing duplicated partition integrity... done.
      >>> Mounting second partition to run upgrade... done.
      >>> Unlocking package pfSense-kernel-pfSense_wrap_vga... done.
      >>> Downloading upgrade packages... 
      Updating pfSense-core repository catalogue...
      Unable to update repository pfSense-core
      Updating pfSense repository catalogue...
      Unable to update repository pfSense
      All repositories are up-to-date.
      Checking for upgrades (62 candidates): .......... done
      Processing candidates (62 candidates): .......... done
      The following 64 package(s) will be affected (of 0 checked):
      
      New packages to be INSTALLED:
      	uclcmd: 0.1 [pfSense]
      	libucl: 0.8.0 [pfSense]
      
      Installed packages to be UPGRADED:
      	unbound: 1.5.5 -> 1.5.8 [pfSense]
      	sqlite3: 3.9.2 -> 3.11.1 [pfSense]
      	smartmontools: 6.4_1 -> 6.4_2 [pfSense]
      	rate: 0.9 -> 0.9_1 [pfSense]
      	python27: 2.7.11_1 -> 2.7.11_2 [pfSense]
      	php56-zlib: 5.6.20 -> 5.6.21 [pfSense]
      	php56-xmlwriter: 5.6.20 -> 5.6.21 [pfSense]
      	php56-xmlreader: 5.6.20 -> 5.6.21 [pfSense]
      	php56-xml: 5.6.20 -> 5.6.21 [pfSense]
      	php56-tokenizer: 5.6.20 -> 5.6.21 [pfSense]
      	php56-sysvshm: 5.6.20 -> 5.6.21 [pfSense]
      	php56-sysvsem: 5.6.20 -> 5.6.21 [pfSense]
      	php56-sysvmsg: 5.6.20 -> 5.6.21 [pfSense]
      	php56-sqlite3: 5.6.20 -> 5.6.21 [pfSense]
      	php56-sockets: 5.6.20 -> 5.6.21 [pfSense]
      	php56-simplexml: 5.6.20 -> 5.6.21 [pfSense]
      	php56-shmop: 5.6.20 -> 5.6.21 [pfSense]
      	php56-session: 5.6.20 -> 5.6.21 [pfSense]
      	php56-readline: 5.6.20 -> 5.6.21 [pfSense]
      	php56-posix: 5.6.20 -> 5.6.21 [pfSense]
      	php56-pdo_sqlite: 5.6.20 -> 5.6.21 [pfSense]
      	php56-pdo: 5.6.20 -> 5.6.21 [pfSense]
      	php56-pcntl: 5.6.20 -> 5.6.21 [pfSense]
      	php56-openssl: 5.6.20 -> 5.6.21 [pfSense]
      	php56-opcache: 5.6.20 -> 5.6.21 [pfSense]
      	php56-mcrypt: 5.6.20 -> 5.6.21 [pfSense]
      	php56-mbstring: 5.6.20 -> 5.6.21 [pfSense]
      	php56-ldap: 5.6.20 -> 5.6.21 [pfSense]
      	php56-json: 5.6.20 -> 5.6.21 [pfSense]
      	php56-hash: 5.6.20 -> 5.6.21 [pfSense]
      	php56-gettext: 5.6.20 -> 5.6.21 [pfSense]
      	php56-filter: 5.6.20 -> 5.6.21 [pfSense]
      	php56-dom: 5.6.20 -> 5.6.21 [pfSense]
      	php56-curl: 5.6.20 -> 5.6.21 [pfSense]
      	php56-ctype: 5.6.20 -> 5.6.21 [pfSense]
      	php56-bz2: 5.6.20 -> 5.6.21 [pfSense]
      	php56-bcmath: 5.6.20 -> 5.6.21 [pfSense]
      	php56: 5.6.20 -> 5.6.21 [pfSense]
      	pfSense-rc: 2.3 -> 2.3.1 [pfSense-core]
      	pfSense-kernel-pfSense_wrap_vga: 2.3 -> 2.3.1 [pfSense-core]
      	pfSense-default-config: 2.3 -> 2.3.1 [pfSense-core]
      	pfSense-base-nanobsd: 2.3 -> 2.3.1 [pfSense-core]
      	pfSense-Status_Monitoring: 1.0_1 -> 1.3_1 [pfSense]
      	pfSense: 2.3 -> 2.3.1 [pfSense]
      	perl5: 5.20.3_8 -> 5.20.3_12 [pfSense]
      	pecl-zmq: 1.1.3 -> 1.1.3_1 [pfSense]
      	openvpn: 2.3.9 -> 2.3.11 [pfSense]
      	ntp: 4.2.8p6 -> 4.2.8p7 [pfSense]
      	nettle: 2.7.1 -> 3.2 [pfSense]
      	libzmq4: 4.1.3 -> 4.1.4_1 [pfSense]
      	libsodium: 1.0.3 -> 1.0.8 [pfSense]
      	libedit: 3.1.20150325_1 -> 3.1.20150325_2 [pfSense]
      	gmp: 5.1.3_2 -> 5.1.3_3 [pfSense]
      	glib: 2.44.1_3 -> 2.46.2 [pfSense]
      	gettext-runtime: 0.19.6 -> 0.19.7 [pfSense]
      	filterlog: 0.1_1 -> 0.1_2 [pfSense]
      	dnsmasq-devel: 2.76.0test8 -> 2.76.0test12 [pfSense]
      	curl: 7.47.0 -> 7.48.0_1 [pfSense]
      	cpdup: 1.17_2 -> 1.18 [pfSense]
      	bsnmp-ucd: 0.4.1 -> 0.4.2 [pfSense]
      
      Installed packages to be REINSTALLED:
      	rrdtool-1.5.5_1 [pfSense] (options changed)
      	nginx-1.8.1,2 [pfSense] (options changed)
      
      72 MiB to be downloaded.
      >>> Locking package pfSense-kernel-pfSense_wrap_vga... done.
      Failed
      
      1 Reply Last reply Reply Quote 0
      • T Offline
        tarakesh
        last edited by

        not exact same behavior here…
        it actually installs but then does not come back up after reboot...

        does not matter if updated from webinterface or console.
        2.3-RELEASE (amd64) to 2.3.1 kills the slice.
        pfsense boot menu shows up, trys to load the kernel, fails and reboots...

        2.4.1-RELEASE (amd64) on Intel D2500CCE Board Intel Atom D2500 DC @1.86GHz, 2GB RAM, 64GB Transcend SSD370
        Internet Connection: UnityMedia 200Mbit/10Mbit Cable

        1 Reply Last reply Reply Quote 0
        • H Offline
          heiko3001
          last edited by

          I have got the same problem with a watchguard firebox.

          I cannot upgrade to 2.31

          At the first try, i got the reply that the filesystem is dirty. I have cleaned it.

          And now everytime I try to upgrade i got the attached mesage at the attachment.

          Misc log:				
          fdisk: invalid fdisk partition table found
          bsdlabel: /dev/ada0s3: no valid label found
          bsdlabel: /dev/ada0s3: no valid label found
          bsdlabel: /dev/ada0s3: no valid label found
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          tar: Failed to set default locale
          shutdown: [pid 80380]
          

          1.jpg
          1.jpg_thumb

          1 Reply Last reply Reply Quote 0
          • I Offline
            iam
            last edited by

            Hello,

            I also have the same problem as the OP.

            Regards,
            iam

            1 Reply Last reply Reply Quote 0
            • C Offline
              cm3c
              last edited by

              The same here …

              CF 4GB Nano install.

              I need a workaround to get this fixed.

              Nobody with a solution for this? Devs?

              cm3c

              1 Reply Last reply Reply Quote 0
              • I Offline
                iam
                last edited by

                I now have done the upgrade manually:

                
                pkg unlock pfSense-kernel-pfSense
                pkg update -f
                pkg upgrade -f
                pkg lock pfSense-kernel-pfSense
                reboot
                
                

                At the moment I don't have any problems.

                1 Reply Last reply Reply Quote 0
                • yuljkY Offline
                  yuljk
                  last edited by

                  Mine fails with the following error when trying 'pkg unlock pfSense-kernel-pfSense'.

                  I get 'pkg: Error accessing the package database'.

                  I'm also using a 4GB NanoBSD install - Seems a few others are too.

                  1 Reply Last reply Reply Quote 0
                  • I Offline
                    iam
                    last edited by

                    Is the filesystem mounted read/write?

                    EDIT: If yes try

                    
                    pkg update -f
                    
                    

                    first.

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      heiko3001
                      last edited by

                      @iam:

                      I now have done the upgrade manually:

                      
                      pkg unlock pfSense-kernel-pfSense
                      pkg update -f
                      pkg upgrade -f
                      pkg lock pfSense-kernel-pfSense
                      reboot
                      
                      

                      At the moment I don't have any problems.

                      This works fine here, but this is not the final solution, or?

                      1 Reply Last reply Reply Quote 0
                      • I Offline
                        iam
                        last edited by

                        @heiko3001:

                        This works fine here, but this is not the final solution, or?

                        Yes, with the Update to 3.1_1 I had the same problem.

                        1 Reply Last reply Reply Quote 0
                        • yuljkY Offline
                          yuljk
                          last edited by

                          Can also confirm I've managed to upgrade successfully to 2.3.1-P1-RELEASE via SSH.  Before the upgrade I disabled Permanent Read/Write in the web GUI.  Rebooted, re-enabled and the upgrade went smoothly.

                          ALIX 2C2 with a 4GB CF.

                          Many thanks

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            beckerwilliams
                            last edited by

                            Thanx!

                            Same problem - fix works, except in the event your mounts are ro, you need to start with /etc/rc.conf_mount_rw:

                            /etc/rc.conf_mount_rw
                            pkg unlock pfSense-kernel-pfSense
                            pkg update -f
                            pkg upgrade -f
                            pkg lock pfSense-kernel-pfSense
                            reboot
                            

                            Done!  ;)

                            It seemed to take a lot longer than the UI - but maybe that's because you can see the progress of every pkg.
                            Cheers!
                            ~r

                            1 Reply Last reply Reply Quote 0
                            • I Offline
                              iam
                              last edited by

                              @beckerwilliams:

                              It seemed to take a lot longer than the UI - but maybe that's because you can see the progress of every pkg.

                              No it takes longer because of the option -f. I think it should also work without it:

                              
                              pkg upgrade
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • I Offline
                                iam
                                last edited by

                                @iam:

                                @beckerwilliams:

                                It seemed to take a lot longer than the UI - but maybe that's because you can see the progress of every pkg.

                                No it takes longer because of the option -f. I think it should also work without it:

                                
                                pkg upgrade
                                
                                

                                With it reinstalls alls packages. I did the upgrade to 2.3.1_1 without this option, and it worked also perfectly.

                                1 Reply Last reply Reply Quote 0
                                • I Offline
                                  iam
                                  last edited by

                                  The same procedure with 2.3.1_5

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.