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

    Package repository and nanobsd

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 1.3k 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.
    • ?
      Guest
      last edited by

      hi all
      I have created my own package repository. when iso image is installed, everything is ok.
      but when i using nanobsd this error occurs:

      Unable to retrieve package info from ..... Cached data will be used.
      

      Should different platform have different package repository?!!
      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • D
        d_ethier
        last edited by

        I've set it up successfully using nanobsd using "Creating Your Own Package Repository"[1] instructions and it works fine on my nanobsd appliance. Did you follow those instructions? Can you see the php generated arrays once you have cloned the git repositories?

        [1]http://doc.pfsense.org/index.php/Creating_Your_Own_Package_Repository

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          yes, I followed the guidelines.
          I'm testing the package repository when internet connection is disconnected.
          I want to use a package repository in my LAN.
          Please disconnect internet connection, setup repository in your lan and test again…can you use repository or cache data is used?
          I discovered my first problem:
          in php inc files,(pfsense-utils.inc)  a query is automatically sent for product website ( www.pfsense.com).

          /*
           * call_pfsense_method(): Call a method exposed by the pfsense.com XMLRPC server.
           */
          function call_pfsense_method($method, $params, $timeout = 0) {
          	global $g, $config;
          
          	$ip = gethostbyname($g['product_website']);
          	/*if($ip == $g['product_website'])
          		return false;*/
          

          i commented out 2 line of code,  but in nanobsd , Unable to retrieve package error remains.

          1 Reply Last reply Reply Quote 0
          • D
            d_ethier
            last edited by

            I cannot disconnect our WAN interfaces to test this, sorry.

            You didn't mention whether the pfSense test links work on your repository host. Did you try those URLs? I would also ensure that error_reporting in PHP is disabled as some of the deprecation warnings for the ereg functions may cause issues with the retrieval of package information.

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