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

[WORKAROUND] Unable to update and package install (ERROR: It was not possible to identify which pfSense kernel is installed)

Scheduled Pinned Locked Moved General pfSense Questions
repobackupsshfresh install2.7.0-dev
67 Posts 4 Posters 13.4k 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.
  • S
    stephenw10 Netgate Administrator
    last edited by May 16, 2022, 11:55 AM

    You can try to do that but it would be very easy to miss something.

    I mean remove the pfBlocker package from the 2.7 instance that is failing to see updates then take a new backup from that. Then try restoring that into a clean 2.7 install.

    J S 2 Replies Last reply May 16, 2022, 5:32 PM Reply Quote 0
    • J
      Jane757 @stephenw10
      last edited by May 16, 2022, 5:32 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • S
        Sergei_Shablovsky @stephenw10
        last edited by May 17, 2022, 10:30 PM

        @stephenw10 said in Unable to update and package install (ERROR: It was not possible to identify which pfSense kernel is installed):

        I mean remove the pfBlocker package from the 2.7 instance that is failing to see updates then take a new backup from that. Then try restoring that into a clean 2.7 install.

        How to remove pfBlocker?

        No any packages are visible as installed in System / Package Manager...

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by May 17, 2022, 10:46 PM

          If packages have been removed then try backing up that config and restoring it into a clean 2.7 install. You will need to manually add packages again but the config will still be there.

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by May 18, 2022, 9:37 PM

            Do you have RAM disks enabled in the config you're restoring?

            If so you're probably hitting this: https://redmine.pfsense.org/issues/13182

            I managed to hit that earlier and it presents exactly as you are describing here.

            Remove the config line that enables RAM disks and retest if you can:

            <use_mfs_tmpvar></use_mfs_tmpvar>
            

            Reinstall 2.7 clean and restore the config again without ramdisks.

            Steve

            S 3 Replies Last reply May 20, 2022, 11:42 AM Reply Quote 0
            • S
              Sergei_Shablovsky @stephenw10
              last edited by May 20, 2022, 11:42 AM

              @stephenw10 said in Unable to update and package install (ERROR: It was not possible to identify which pfSense kernel is installed):

              Do you have RAM disks enabled in the config you're restoring?

              Remove the config line that enables RAM disks and retest if you can:

              <use_mfs_tmpvar></use_mfs_tmpvar>
              

              Thanks You for suggestions, Steve!

              Please confirm, this string in /conf/config.xml are equally the RAM Disk Settings (Reboot to Apply Changes) item in System / Advanced / Miscellaneous, yes?

              1 Reply Last reply Reply Quote 0
              • S
                Sergei_Shablovsky @stephenw10
                last edited by Sergei_Shablovsky May 20, 2022, 11:51 AM May 20, 2022, 11:47 AM

                @stephenw10 said in Unable to update and package install (ERROR: It was not possible to identify which pfSense kernel is installed):

                Do you have RAM disks enabled in the config you're restoring?

                If so you're probably hitting this: https://redmine.pfsense.org/issues/13182

                I managed to hit that earlier and it presents exactly as you are describing here.

                I make this (checked double twice):
                1.
                installing CE 2.7.X (current snapshot from 20220520) on bare metal server (with hw RAID1, physicaly 2 HD in mirror, logically 1 Virtual Device)
                ping, traceroute, pkg update/upgrade, NetGate servers resolved- all OK
                hw reboot
                2.
                restore from config.xml backup file (RAM disk ENABLED)
                hw reboot
                ping, traceroute, - OK
                NetGate servers resolving - OK
                pkg update/upgrade - NO

                If restoring from config.xml backup file with manually deleted <use_mfs_tmpvar></use_mfs_tmpvar> string, this error not happened.

                If restoring form config.xml where <use_mfs_tmpvar></use_mfs_tmpvar> exist, then hw reboot, then manually in editor or webGUI delete <use_mfs_tmpvar></use_mfs_tmpvar>, then hw reboot,- this error still persist.

                So now I'l waiting for a BUG fixing from NetGate Dev side...

                Thank You, Steve for patience and help!

                S 1 Reply Last reply May 20, 2022, 12:18 PM Reply Quote 0
                • S
                  stephenw10 Netgate Administrator @Sergei_Shablovsky
                  last edited by May 20, 2022, 12:18 PM

                  @sergei_shablovsky said in Unable to update and package install (ERROR: It was not possible to identify which pfSense kernel is installed):

                  If restoring form config.xml where <use_mfs_tmpvar></use_mfs_tmpvar> exist, then hw reboot, then manually in editor or webGUI delete <use_mfs_tmpvar></use_mfs_tmpvar>, then hw reboot,- this error still persist.

                  That's expected because by that point the conflicy in /var has happened and the pkg db is lost. The workaround currently is to remove that line from the config before restoring it.

                  Steve

                  S 1 Reply Last reply May 21, 2022, 1:55 AM Reply Quote 1
                  • S
                    Sergei_Shablovsky @stephenw10
                    last edited by May 21, 2022, 1:55 AM

                    @stephenw10
                    Thank You, Steve!

                    What about SSH Error that a describe before in this thread?

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by May 21, 2022, 2:17 PM

                      This?

                      SSH KeyGen
                      
                       pfSense has started creating missing SSH keys. SSH Startup will be delayed. Please note that reloading the filter rules and changes will be delayed until this operation is completed.	@ 2022-05-01 12:55:10
                      

                      That's normal whenever new keys are created. Which until 22.01/2.6 was every install or config reset.

                      Steve

                      S 1 Reply Last reply May 22, 2022, 7:56 AM Reply Quote 0
                      • S
                        Sergei_Shablovsky @stephenw10
                        last edited by May 22, 2022, 1:46 AM

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • S
                          Sergei_Shablovsky @stephenw10
                          last edited by May 22, 2022, 7:55 AM

                          @stephenw10 said in [WORKAROUND] Unable to update and package install (ERROR: It was not possible to identify which pfSense kernel is installed):

                          Do you have RAM disks enabled in the config you're restoring?

                          If so you're probably hitting this: https://redmine.pfsense.org/issues/13182

                          I managed to hit that earlier and it presents exactly as you are describing here.

                          Find tread related to same problem at 2.4.X snapshot here, but hard to conclude how it may be related to my problem: I cannot use RAM disk and not see the issues with simlink that describes in a thread...

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sergei_Shablovsky @stephenw10
                            last edited by May 22, 2022, 7:56 AM

                            @stephenw10 said in [WORKAROUND] Unable to update and package install (ERROR: It was not possible to identify which pfSense kernel is installed):

                            This?

                            SSH KeyGen
                            
                             pfSense has started creating missing SSH keys. SSH Startup will be delayed. Please note that reloading the filter rules and changes will be delayed until this operation is completed.	@ 2022-05-01 12:55:10
                            

                            That's normal whenever new keys are created. Which until 22.01/2.6 was every install or config reset.

                            Steve

                            Thank You, Steve!

                            1 Reply Last reply Reply Quote 0
                            67 out of 67
                            • First post
                              67/67
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                              This community forum collects and processes your personal information.
                              consent.not_received