Errors Updating via Console



  • I am on the latest snapshot and I am getting the following errors when updating via the console. Can you please advise? Thank you

     0) Logout (SSH only)                  9) pfTop
     1) Assign Interfaces                 10) Filter Logs
     2) Set interface(s) IP address       11) Restart webConfigurator
     3) Reset webConfigurator password    12) PHP shell + pfSense tools
     4) Reset to factory defaults         13) Update from console
     5) Reboot system                     14) Disable Secure Shell (sshd)
     6) Halt system                       15) Restore recent configuration
     7) Ping host                         16) Restart PHP-FPM
     8) Shell
    
    Enter an option: 13
    
    >>> Updating repositories metadata...
    Updating pfSense-core repository catalogue...
    pkg: Repository pfSense-core load error: access repo file(/var/db/pkg/repo-pfSense-core.sqlite) failed: No such file or directory
    pkg: https://beta.pfsense.org/packages/pfSense_master_amd64-core/meta.txz: No address record
    repository pfSense-core has no meta file, using default settings
    pkg: https://beta.pfsense.org/packages/pfSense_master_amd64-core/packagesite.txz: No address record
    Unable to update repository pfSense-core
    Updating pfSense repository catalogue...
    pkg: Repository pfSense load error: access repo file(/var/db/pkg/repo-pfSense.sqlite) failed: No such file or directory
    pkg: https://beta.pfsense.org/packages/pfSense_master_amd64-pfSense_devel/meta.txz: No address record
    repository pfSense has no meta file, using default settings
    pkg: https://beta.pfsense.org/packages/pfSense_master_amd64-pfSense_devel/packagesite.txz: No address record
    Unable to update repository pfSense
    Error updating repositories!
    


  • Dns works? Using a dns provider that supports SRV records?



  • @PiBa:

    Dns works? Using a dns provider that supports SRV records?

    yes, no unbound issues. dns is working correctly on my pfSense box and on my LAN.

    No dns forwarder is setup, neither:




  • having 127.0.0.1 configured manually looks strange..? And surely wont be reachable over the wan connection.

    Do you allow dhcp to override your dns settings.?. Perhaps try putting 8.8.8.8 in the manual setting.?



  • @PiBa:

    having 127.0.0.1 configured manually looks strange..? And surely wont be reachable over the wan connection.

    Do you allow dhcp to override your dns settings.?. Perhaps try putting 8.8.8.8 in the manual setting.?

    I can dns resolve and ping any other address via console/cli/ssh.

    My pfSense box is running Unbound as my DNS server, so using 127.0.0.1 as a DNS entry is perfectly acceptable.

    Using Google's DNS does not resolve the problem.



  • @PiBa:

    having 127.0.0.1 configured manually looks strange..? And surely wont be reachable over the wan connection.

    Do you allow dhcp to override your dns settings.?. Perhaps try putting 8.8.8.8 in the manual setting.?

    removed the 127.0.0.1 DNS line in my general settings. pfSense defaults to the localhost if nothing is set via the General Settings.

    After reboot, everything is working again. Thanks!



  • Yep the system widget will still show 127.0.0.1 as the first dns server, that is perfectly fine. Also when configuring other dns servers in general settings it will still use localhost, its just the manual setting of 127.0.0.1 that seemed strange :) , good its resolved now.  8)


Log in to reply