Package repository and nanobsd
-
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 -
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
-
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.
-
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.