• 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 17.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
    Sergei_Shablovsky @stephenw10
    last edited by Sergei_Shablovsky May 9, 2022, 4:01 PM May 9, 2022, 3:59 PM

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

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

    I never imagine that Netgate was making so unstable upgrade...

    What?!

    We specifically stopped updating the snapshot servers in order to shield end users from any instability these significant changes might introduce. The snapshot servers are still there and you can still pull pkgs from them. They are just not being updated currently. It will not prevent you accessing the servers.

    According stopping to updating snapshots to end users - totally agree with you.

    You might be seeing an IPv6 issue. Try:

    host -4t srv _https._tcp.packages-beta.netgate.com
    

    Thank You, Steve.

    The result are:

    ;;connection timed out; no servers could be reached
    

    —
    CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
    Help Ukraine to resist, save civilians people’s lives !
    (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

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

      Can it resolve anything?

      Didn't you have an issue very similar to this previously?

      S 3 Replies Last reply May 9, 2022, 5:47 PM Reply Quote 0
      • S
        Sergei_Shablovsky @stephenw10
        last edited by May 9, 2022, 5:47 PM

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

        Can it resolve anything?

        Unfortunately, NO

        Also I check ipv6 settings everywhere,- nothing used.

        Didn't you have an issue very similar to this previously?

        No any similar...

        —
        CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
        Help Ukraine to resist, save civilians people’s lives !
        (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

        1 Reply Last reply Reply Quote 0
        • S
          Sergei_Shablovsky @stephenw10
          last edited by Sergei_Shablovsky May 9, 2022, 6:05 PM May 9, 2022, 5:54 PM

          @stephenw10

          The problem come right after update from .xml backup file. Because of this I try to determine which section of .xml backup file impact on this: as I describe before, installing one-by-one. Trying installing packages before, and after restoring... But results are the same: all looks like ok, but after System section restoring - going to wrong state, and connection to outside partially loss..

          I more than sure that with .xml backup file are all ok, because I make 3 copy of them on 3 different media.

          —
          CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
          Help Ukraine to resist, save civilians people’s lives !
          (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

          1 Reply Last reply Reply Quote 0
          • S
            Sergei_Shablovsky @stephenw10
            last edited by Sergei_Shablovsky May 9, 2022, 6:04 PM May 9, 2022, 6:03 PM

            @stephenw10

            Today I found that:

            • if disable DNS Resolver
            • reboot
            • when enabling DNS Resolver
              After pressing Save button on DNS Resolver webGUI page, the follow error appear on top of the page (not on separate pop-up or info/alert part of page, just on upper background):
            Warning: file_put_contents(/var/unbound/sslcert.crt): failed to open stream: No such file or directory in /etc/inc/unbound.inc on line 314
            Warning: chmod(): No such file or directory in /etc/inc/unbound.inc on line 315
            Warning: file_put_contents(/var/unbound/sslcert.key): failed to open stream: No such file or directory in /etc/inc/unbound.inc on line 316
            Warning: chmod(): No such file or directory in /etc/inc/unbound.inc on line 317
            

            —
            CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
            Help Ukraine to resist, save civilians people’s lives !
            (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

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

              You have pfBlocker in the config but not installed perhaps?

              S 1 Reply Last reply May 11, 2022, 12:26 AM Reply Quote 0
              • N
                NollipfSense
                last edited by May 10, 2022, 2:02 PM

                It's saying update available today but still unable to update. I also tried installing pfBlockerNG, no luck.

                Screen Shot 2022-05-10 at 8.56.52 AM.png

                Screen Shot 2022-05-10 at 8.56.28 AM.png

                pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

                  Hmm, you should be able to update the to April 26th snap. What does pkg -d update show?

                  N S 2 Replies Last reply May 10, 2022, 9:12 PM Reply Quote 0
                  • N
                    NollipfSense @stephenw10
                    last edited by NollipfSense May 10, 2022, 9:15 PM May 10, 2022, 9:12 PM

                    @stephenw10 Still does nothing then eventually goes back to the shell prompt.
                    Screen Shot 2022-05-10 at 3.54.35 PM.png

                    pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                    pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

                      Looks like a general connectivity issue then. Try: pkg -d4 update

                      S N 3 Replies Last reply May 11, 2022, 12:36 AM Reply Quote 0
                      • S
                        Sergei_Shablovsky @stephenw10
                        last edited by Sergei_Shablovsky May 11, 2022, 12:36 AM May 11, 2022, 12:26 AM

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

                        You have pfBlocker in the config but not installed perhaps?

                        Yes, in .xml backup file must be settings for pfBlockerNG. But now there are no any packages installed, due error in connectivity...

                        —
                        CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                        Help Ukraine to resist, save civilians people’s lives !
                        (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

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

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

                          Hmm, you should be able to update the to April 26th snap. What does pkg -d update show?
                          Similar screen immediately, with

                          pfSense repository is up to date
                          All repositories are up to date
                          

                          at the end of screen.

                          —
                          CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                          Help Ukraine to resist, save civilians people’s lives !
                          (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sergei_Shablovsky @stephenw10
                            last edited by Sergei_Shablovsky May 11, 2022, 12:55 AM May 11, 2022, 12:36 AM

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

                            Looks like a general connectivity issue then. Try: pkg -d4 update

                            The same screen with “all are up to date”...

                            Need to note that 13) Update from console menu item in VGA console initiate update checking procedure and all looks like no any problem, just no new updates.
                            But Update from menu in webGUI (and also checking text string say “unable to ...”) give me the answer “Unable to check...”

                            Also when I try to install package (any of them), follow error happens:

                            >>> Upgrading pkg... done.
                            >>> Updating repositories metadata... 
                            Updating pfSense-core repository catalogue...
                            Fetching meta.conf: . done
                            Fetching packagesite.pkg: . done
                            Processing entries: . done
                            pfSense-core repository update completed. 7 packages processed.
                            Updating pfSense repository catalogue...
                            Fetching meta.conf: . done
                            Fetching packagesite.pkg: .......... done
                            Processing entries: .......... done
                            pfSense repository update completed. 513 packages processed.
                            All repositories are up to date.
                            ERROR: Unable to compare version of pfSense-repo
                            

                            —
                            CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                            Help Ukraine to resist, save civilians people’s lives !
                            (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

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

                              @stephenw10
                              Please look at my initial post, I mean on:

                              ADDED
                              There are also some mismatching on SSH keys level, because after restoring System section from backup .xml and hardware rebooting not possible to logging in webGUI: browser pop-up with “This browser must to support cookies** appear.

                              How to fix this?

                              —
                              CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                              Help Ukraine to resist, save civilians people’s lives !
                              (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by May 11, 2022, 12:44 PM

                                Do not restore single config sections. Only restore the full config.

                                You are missing some pkgs as we showed earlier. Try to install those. You will not be able to upgrade again until they are present.

                                Steve

                                S 2 Replies Last reply May 12, 2022, 11:20 AM Reply Quote 0
                                • N
                                  NollipfSense @stephenw10
                                  last edited by May 11, 2022, 4:20 PM

                                  @stephenw10 That seems to be working...

                                  Screen Shot 2022-05-11 at 11.18.57 AM.png

                                  pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                                  pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                                  S 1 Reply Last reply May 11, 2022, 4:56 PM Reply Quote 0
                                  • S
                                    stephenw10 Netgate Administrator @NollipfSense
                                    last edited by May 11, 2022, 4:56 PM

                                    @nollipfsense Ok so in your case it was an IPv6 connectivity issue.

                                    N 1 Reply Last reply May 12, 2022, 1:30 AM Reply Quote 0
                                    • N
                                      NollipfSense @stephenw10
                                      last edited by May 12, 2022, 1:30 AM

                                      @stephenw10 It seems that it was the last update before the developer shutdown as the date now appears as April 26.

                                      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                                      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

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

                                        Do not restore single config sections. Only restore the full config.

                                        You are missing some pkgs as we showed earlier. Try to install those. You will not be able to upgrade again until they are present.

                                        As I note before, I try both path before and unsuccessfully.

                                        And of course, I read carefully Your suggestions, and if restore, doing that only from full .xml config file.

                                        What about SSL key issue?

                                        —
                                        CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                        Help Ukraine to resist, save civilians people’s lives !
                                        (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

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

                                          Ok what I expect here is that you install a 2.7 snapshot clean (new snaps should be available later today).
                                          Make sure that has connectivity as expected.
                                          Then restore the complete config file and it should pull in the required packages at first boot.

                                          If that's failing then something in the config file is breaking access to the pkg repo.

                                          Check the repo line itself matches, for 2.7 is should be:

                                          		<pkg_repo_conf_path>/usr/local/share/pfSense/pkg/repos/pfSense-repo-devel.conf</pkg_repo_conf_path>
                                          

                                          Steve

                                          S 1 Reply Last reply May 14, 2022, 11:29 PM Reply Quote 0
                                          40 out of 67
                                          • First post
                                            40/67
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received