Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2015 15:04:14 +0000
From:      Arthur Chance <freebsd@qeng-ho.org>
To:        Bernt Hansson <bah@bananmonarki.se>, questions FreeBSD <FreeBSD-questions@freebsd.org>
Subject:   Re: Problems with pkg
Message-ID:  <54E3586E.3090301@qeng-ho.org>
In-Reply-To: <54E351DD.6020409@bananmonarki.se>
References:  <54E351DD.6020409@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17/02/2015 14:36, Bernt Hansson wrote:
> Hello list!
>
> This is my conf files for pkg that i know of
>
> /usr/local/etc/pkg.conf
>
> #PKG_DBDIR = "/var/db/pkg";
> #PKG_CACHEDIR = "/var/cache/pkg";
> #PORTSDIR = "/usr/ports";
> #INDEXDIR = "";
> INDEXFILE = "INDEX-9";        # Autogenerated
> #HANDLE_RC_SCRIPTS = false;
> #ASSUME_ALWAYS_YES = false;
> REPOS_DIR [
>      "/etc/pkg/",
>      "/usr/local/etc/pkg/repos/",
> ]
> #PLIST_KEYWORDS_DIR = "";
> #SYSLOG = true;
> ABI = "freebsd:9:x86:64";     # Autogenerated
> #DEVELOPER_MODE = false;
> #VULNXML_SITE = "http://www.vuxml.org/freebsd/vuln.xml.bz2";
> #FETCH_RETRY = 3;
> #PKG_PLUGINS_DIR = "/usr/local/lib/pkg/";
> #PKG_ENABLE_PLUGINS = true;
> #PLUGINS [
> #]
> #DEBUG_SCRIPTS = false;
> #PLUGINS_CONF_DIR = "/usr/local/etc/pkg/";
> #PERMISSIVE = false;
> #REPO_AUTOUPDATE = true;
> #NAMESERVER = "";
> #EVENT_PIPE = "";
> #FETCH_TIMEOUT = 30;
> #UNSET_TIMESTAMP = false;
> #SSH_RESTRICT_DIR = "";
> #PKG_ENV {
> #}
> #PKG_SSH_ARGS = "";
> #DEBUG_LEVEL = 0;
> #ALIAS {
> #}
> #CUDF_SOLVER = "";
> #SAT_SOLVER = "";
> #RUN_SCRIPTS = true;  build-depends: info -qd,
>    download: fetch,
>    iinfo: info -ix,
>    cinfo: info -Cx,
>    isearch: search -ix,
>    csearch: search -Cx,
>    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,
>    }
> #CASE_SENSITIVE_MATCH = false;
> #IP_VERSION = 0
>
> # Sample alias settings
> ALIAS              : {
>    all-depends: query %dn-%dv,
>    annotations: info -A,
>
> /usr/local/etc/pkg/repos/FreeBSD.conf
>
> FreeBSD: {
>          url: "pkg+http://pkg.freebsd.org/${ABI}/latest",
>          mirror_type: "srv",
>          signature_type: "none"
>          enabled: "yes"
> }

Here's my pkg supplied /etc/pkg/FreeBSD.conf (apologies for any line 
wrapping my mailer imposes in the comments)

# $FreeBSD: releng/10.1/etc/pkg/FreeBSD.conf 263938 2014-03-30 15:29:54Z 
bdrewery $
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

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

You would appear to be overriding the standard settings, and I have no 
idea what that will do. You might be better off asking on the pkg@ 
mailing list, the pkg gurus are active there (but probably will answer 
here as well).

> This is the errors
>
> # pkg update
> No active remote repositories configured.
>
> # pkg upgrade
> No active remote repositories configured.
>
> pkg install tmux
> No active remote repositories configured.
>
> So it's quite useless for me.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>


-- 
Those who do not learn from computing history are doomed to
GOTO 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54E3586E.3090301>