From owner-freebsd-questions@FreeBSD.ORG Tue Feb 17 15:04:25 2015 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A29EAD6 for ; Tue, 17 Feb 2015 15:04:25 +0000 (UTC) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93C49CE for ; Tue, 17 Feb 2015 15:04:24 +0000 (UTC) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.14.9/8.14.7) with ESMTP id t1HF4Evl065117; Tue, 17 Feb 2015 15:04:14 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <54E3586E.3090301@qeng-ho.org> Date: Tue, 17 Feb 2015 15:04:14 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Bernt Hansson , questions FreeBSD Subject: Re: Problems with pkg References: <54E351DD.6020409@bananmonarki.se> In-Reply-To: <54E351DD.6020409@bananmonarki.se> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2015 15:04:25 -0000 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