pkg No active remote repository file configured
Jos Chrispijn
kernel at webrz.net
Fri Mar 14 15:51:38 UTC 2014
Just installed pkg (it is still a miracle to me).
<root at thetys>/letc > pkg clean
pkg: No activated remote repositories configured
Can you tell me what I configured wrongly here?
/usr/src/etc/pkg/FreeBSD.conf:
FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
/usr/local/etc/pkg.conf:
# System-wide configuration file for pkg(8)
# For more information on the file format and
# options please refer to the pkg.conf(5) man page
# Configuration options
#PKG_DBDIR : /var/db/pkg
#PKG_CACHEDIR : /var/cache/pkg
#PORTSDIR : /usr/ports
#PUBKEY : /etc/ssl/pkg.conf
#HANDLE_RC_SCRIPTS : NO
#ASSUME_ALWAYS_YES : NO
#SYSLOG : YES
#SHLIBS : NO
#AUTODEPS : NO
#PORTAUDIT_SITE : [1]http://portaudit.FreeBSD.org/auditfile.tbz
#PKG_PLUGINS_DIR : /usr/local/lib/pkg/plugins
#PKG_ENABLE_PLUGINS : YES
#PLUGINS : [commands/mystat]
#REPO_AUTOUPDATE : YES
ALIAS : {
all-depends: query %dn-%dv,
annotations: info -A,
build-depends: info -qd,
download: fetch,
iinfo: info -i -g -x,
isearch: search -i -g -x,
leaf: query -e "%a == 0" "%n-%v",
leaf: query -e "%a == 0" "%n-%v",
list: info -ql,
origin: info -qo,
provided-depends: info -qb,
raw: info -R,
required-depends: info -qr,
shared-depends: info -qB,
show: info -f -k,
size: info -sq,
}
pkg -vv:
<root at thetys>/letc > pkg -vv
Version : 1.2.6
PACKAGESITE :
PKG_DBDIR : /var/db/pkg
PKG_CACHEDIR : /var/cache/pkg
PORTSDIR : /usr/ports
PUBKEY :
HANDLE_RC_SCRIPTS : no
ASSUME_ALWAYS_YES : no
REPOS_DIR : [
/etc/pkg/,
/usr/local/etc/pkg/repos/,
]
PLIST_KEYWORDS_DIR :
SYSLOG : yes
AUTODEPS : yes
ABI : freebsd:9:x86:64
DEVELOPER_MODE : no
PORTAUDIT_SITE : [2]http://portaudit.FreeBSD.org/auditfile.tbz
VULNXML_SITE : [3]http://www.vuxml.org/freebsd/vuln.xml.bz2
MIRROR_TYPE : SRV
FETCH_RETRY : 3
PKG_PLUGINS_DIR : /usr/local/lib/pkg/
PKG_ENABLE_PLUGINS : yes
PLUGINS : [
]
DEBUG_SCRIPTS : no
PLUGINS_CONF_DIR : /usr/local/etc/pkg/
PERMISSIVE : no
REPO_AUTOUPDATE : yes
NAMESERVER :
EVENT_PIPE :
FETCH_TIMEOUT : 30
UNSET_TIMESTAMP : no
SSH_RESTRICT_DIR :
PKG_SSH_ARGS :
PKG_ENV : {
}
DISABLE_MTREE : no
DEBUG_LEVEL : 0
ALIAS : {
all-depends: query %dn-%dv,
annotations: info -A,
build-depends: info -qd,
download: fetch,
iinfo: info -i -g -x,
isearch: search -i -g -x,
leaf: query -e "%a == 0" "%n-%v",
list: info -ql,
origin: info -qo,
provided-depends: info -qb,
raw: info -R,
required-depends: info -qr,
shared-depends: info -qB,
show: info -f -k,
size: info -sq,
}
Repositories:
->>> here stops my file - did I configure a wrong path?
References
1. http://portaudit.FreeBSD.org/auditfile.tbz
2. http://portaudit.FreeBSD.org/auditfile.tbz
3. http://www.vuxml.org/freebsd/vuln.xml.bz2
More information about the freebsd-questions
mailing list