Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/etc/pkg and /usr/local/etc/pkg/repos configuration files are ignored silently if they lack the enclosing braces. #669

Closed
kpaasial opened this issue Dec 4, 2013 · 3 comments

Comments

@kpaasial
Copy link

kpaasial commented Dec 4, 2013

Let's say you have a configuration file like this:

FreeBSD:
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes

This is obviously a non-valid configuration file because it lacks the braces around the body, yet pkg does not flag it as such but ignores it silently. This is easily witnessed by running 'pkg -vv'.

@kpaasial
Copy link
Author

In pkg version 1.2.3 'pkg update' does report the errors properly. However, 'pkg -vv' does not so I don't think this issue is yet solved completely.

@svagner
Copy link

svagner commented Dec 17, 2013

In current version (1.2.99-a6f6401) it is fixed

@kpaasial
Copy link
Author

This issue can be closed. On the 1.2.4_1 version of ports-mgmt/pkg the invalid repository entry is reported by 'pkg -vv'.

@bapt bapt closed this as completed Dec 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants