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.
    • 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.