Need three files and paths to configure PKG on CURRRENT.

Jeffrey Bouquet jbtakk at iherebuywisely.com
Tue Feb 7 22:53:59 UTC 2017


12.0-CURRENT #3
r313305   Mon Feb 6 2017 i386
......................................
/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

# Note: you don't need to have a pkg.conf file.  Many installations
# will work well with no pkg.conf at all or with an empty pkg.conf
# (other than comment lines).  You can also override any of these
# settings from the environment.

# Configuration options -- default values.

#PKG_DBDIR = "/var/db/pkg";
#PKG_CACHEDIR = "/var/cache/pkg";
PKG_CACHEDIR = "/usr/cache/pkg";
#PORTSDIR = "/usr/ports";
#INDEXDIR = "";
#INDEXFILE = "INDEX-10";        # Autogenerated
#INDEXFILE = "INDEX-11"
INDEXFILE = "INDEX-12";
#HANDLE_RC_SCRIPTS = false;
#DEFAULT_ALWAYS_YES = false;
#ASSUME_ALWAYS_YES = false;
#REPOS_DIR [
#    "/etc/pkg/",
#    "/usr/local/etc/pkg/repos/",
#]
#PLIST_KEYWORDS_DIR = "";
#SYSLOG = true;
#ABI = "freebsd:11:x86:64";     # Autogenerated
#ABI = "freebsd:11:x86:32"
#ABI = "FreeBSD:12:i386"
#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 = "";
#VALID_URL_SCHEME = ["pkg+ftp"];
#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;
#CASE_SENSITIVE_MATCH = false;
#IP_VERSION = 0

# Sample alias settings
ALIAS              : {
  all-depends: query %dn-%dv,
  annotations: info -A,
  build-depends: info -qd,
  cinfo: info -Cx,
  comment: query -i "%c",
  csearch: search -Cx,
  desc: query -i "%e",
  download: fetch,
  iinfo: info -ix,
  isearch: search -ix,
  prime-list: "query -e '%a = 0' '%n'",
  leaf: "query -e '%#r == 0' '%n-%v'",
  list: info -ql,
  noauto = "query -e '%a == 0' '%n-%v'",
  options: query -i "%n - %Ok: %Ov",
  origin: info -qo,
  provided-depends: info -qb,
  raw: info -R,
  required-depends: info -qr,
  roptions: rquery -i "%n - %Ok: %Ov",
  shared-depends: info -qB,
  show: info -f -k,
  size: info -sq,
  }
...................................
/usr/local/etc/pkg/repos/FreeBSD.conf:

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

..........................................
pkg will now either 11.0, in which I have seamonkey segfaulting and other
browsers bus-error and even firefox refusing to accept '2' numeric input anywhere...
OR
error out without explanation with 'wrong architecture' etc
freebsd:12:x86:32 , or, FreeBSD:12:i386, any anything else I try to migrate it from
v11 to v12 repository. .
........................................
Some setting ELSEWHERE in the filesystem which fixes/is read by pkg for
resolution of which architecture, etc?

........................................
This is a relatively urgent problem, here, each day costs me an hour at least of
downtime in the days to come, or even a reinstall which I had not had to do
since Jan 2004, initial use of FreeBSD, if truth be told.
.......................................
I also believe  it should be written into /usr/src/UPDATING so that questions of
this sort could be solved locally at buildworld time rather than asking
upstream.
........................................
Thanks very much.

J. Bouquet


More information about the freebsd-pkg mailing list