ID: postfix Function: pkg.installed Result: False Comment: Problem encountered installing package(s). Additional info follows: errors: - pkg: No SRV record found for the repo 'Nasqueron' pkg: packagesite URL error for pkg+https://packages.nasqueron.org/freebsd/packagesite.pkg -- pkg+:// implies SRV mirror type pkg: packagesite URL error for pkg+https://packages.nasqueron.org/freebsd/packagesite.txz -- pkg+:// implies SRV mirror type Started: 19:11:18.396111 Duration: 8521.917 ms Changes:
Description
Description
Revisions and Commits
Revisions and Commits
Event Timeline
Comment Actions
DNS record according the documentation:
_http._tcp.packages IN SRV 10 1 80 www1
As we use HTTPS:
_https._tcp.packages.nasqueron.org. 300 IN SRV 10 0 443 www1.
Comment Actions
Documentation for HTTPS isn't clear, perhaps we should check the pkg source code for the exact seek.
Comment Actions
This is a blocker for the use of pkg.
Workaround is to delete /usr/local/etc/pkg/repos/nasqueron.conf.
Comment Actions
Comparing to pkg.pfsense.org, we only use subdomains, not full domains:
$ host -t SRV _https._tcp.packages.nasqueron.org _https._tcp.packages.nasqueron.org has SRV record 10 0 443 www1. $ host -t SRV _https._tcp.pkg.pfsense.org _https._tcp.pkg.pfsense.org has SRV record 10 10 443 pkg01-atx.netgate.com. _https._tcp.pkg.pfsense.org has SRV record 10 10 443 pkg00-atx.netgate.com.
Comment Actions
Even with correct SRV records, no HTTP request reach nginx, neither on www1. or packages.
As a workaround, we can remove mirroring:
WindRiver
$ salt-call --local state.sls_id /usr/local/etc/pkg/repos/nasqueron.conf roles/devserver/pkg local: ---------- ID: /usr/local/etc/pkg/repos/nasqueron.conf Function: file.managed Result: True Comment: File /usr/local/etc/pkg/repos/nasqueron.conf updated Started: 12:37:08.387000 Duration: 51.672 ms Changes: ---------- diff: --- +++ @@ -14,8 +14,8 @@ # </auto-generated> Nasqueron: { - url: "pkg+https://packages.nasqueron.org/freebsd" - mirror_type: "srv", + url: "https://packages.nasqueron.org/freebsd" + mirror_type: "none", signature_type: "fingerprints", fingerprints: "/usr/local/share/keys/pkg", enabled: yes, Summary for local ------------ Succeeded: 1 (changed=1) Failed: 0 ------------ Total states run: 1 Total run time: 51.672 ms $ pkg search alkane alkane-0.1.2 Nasqueron PaaS for PHP and static sites utility