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

    -SOLVED-Can't check updates, can't install packages.

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 3 Posters 1.2k 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.
    • R
      Robert2020
      last edited by Robert2020

      Update:
      In system update I had selected the Latest development snapshot trying to fix something else, I switched it back to latest stable version and that fixed it, oops.

      Hi,
      2.6.0-RELEASE (amd64)
      built on Mon Jan 31 19:57:53 UTC 2022
      FreeBSD 12.3-STABLE

      I restored a backup from another pfsense installation. I can resolve domain names and ping anything.

      Can't check for updates, it's not showing the package list either.

      If I run:
      pkg install -y pfSense-upgrade

      I get the following:

      Updating pfSense-core repository catalogue...
      Fetching meta.conf: . done
      Fetching packagesite.pkg: . done
      Processing entries:
      pkg: wrong architecture: FreeBSD:14:amd64 instead of FreeBSD:12:amd64
      pkg: repository pfSense-core contains packages with wrong ABI: FreeBSD:14:amd64
      Processing entries... done
      Unable to update repository pfSense-core
      Updating pfSense repository catalogue...
      Fetching meta.conf: . done
      Fetching packagesite.pkg: .......... done
      Processing entries:
      pkg: wrong architecture: FreeBSD:14:amd64 instead of FreeBSD:12:amd64
      pkg: repository pfSense contains packages with wrong ABI: FreeBSD:14:amd64
      Processing entries... done
      Unable to update repository pfSense
      Error updating repositories!

      What do I do?

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @Robert2020
        last edited by

        @robert2020 said in -SOLVED-Can't check updates, can't install packages.:

        I restored a backup from another pfsense installation.

        Ok ..... But :

        @robert2020 said in -SOLVED-Can't check updates, can't install packages.:

        pkg: wrong architecture: FreeBSD:14:amd64 instead of FreeBSD:12:amd64

        Your system 'thinks' or the config told the system to 'think' that it is based on FreeBSD 14, which can not be true, as your are using 2.6.0 which is FreeBSD 12.3 based.

        Ok to test the " Latest development snapshot" but to get back to 2.6.0 (FreeBSD 12.3) you need to re install.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        R 1 Reply Last reply Reply Quote 0
        • R
          rcoleman-netgate Netgate @Gertjan
          last edited by

          @gertjan said in -SOLVED-Can't check updates, can't install packages.:

          Ok to test the " Latest development snapshot" but to get back to 2.6.0 (FreeBSD 12.3) you need to re install

          Also if the config is from a system running a newer release than what it's being installed to it will likely throw errors or not work at all

          Ryan
          Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
          Requesting firmware for your Netgate device? https://go.netgate.com
          Switching: Mikrotik, Netgear, Extreme
          Wireless: Aruba, Ubiquiti

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