Problems with pkg

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Feb 17 15:32:46 UTC 2015


On 2015/02/17 14:36, Bernt Hansson wrote:
[...]
>   size: info -sq,
>   }
> #CASE_SENSITIVE_MATCH = false;
> #IP_VERSION = 0
> 
> # Sample alias settings
> ALIAS              : {
>   all-depends: query %dn-%dv,
>   annotations: info -A,
> 

^^^^ Is this literally what is in your pkg.conf?  In which case, your
pkg.conf won't be parseable: you need a closing '}' on the ALIAS entry.

BTW: Your 'all-depends' line isn't 'all-depends' in the sense the ports
tree uses the term.  pkg(8) only cares about run-time dependencies,
which is effectively the sum of the ports RUN_DEPENDS and LIB_DEPENDS
variables.

> /usr/local/etc/pkg/repos/FreeBSD.conf
> 
> FreeBSD: {
>         url: "pkg+http://pkg.freebsd.org/${ABI}/latest",
>         mirror_type: "srv",
>         signature_type: "none"
>         enabled: "yes"
> }

This is recreating the default /etc/pkg/FreeBSD.conf with the package
signature bits stripped out?  Why on earth you would want to use a
public repository without some sort of integrity checking I don't know,
but it's your funeral.

	Cheers,

	Matthew




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 882 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150217/4fba38d9/attachment.sig>


More information about the freebsd-questions mailing list