Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Feb 2017 14:53:54 -0800 (PST)
From:      "Jeffrey Bouquet" <jbtakk@iherebuywisely.com>
To:        "Baptiste Daroussin" <bapt@FreeBSD.org>
Cc:        "pkg" <pkg@freebsd.org>
Subject:   Need three files and paths to configure PKG on CURRRENT.
Message-ID:  <E1cbEe2-0007bk-Ty@rmmprod05.runbox>
In-Reply-To: <20170116162526.ei2uxnnvmuni6inp@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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 =3D "/var/db/pkg";
#PKG_CACHEDIR =3D "/var/cache/pkg";
PKG_CACHEDIR =3D "/usr/cache/pkg";
#PORTSDIR =3D "/usr/ports";
#INDEXDIR =3D "";
#INDEXFILE =3D "INDEX-10";        # Autogenerated
#INDEXFILE =3D "INDEX-11"
INDEXFILE =3D "INDEX-12";
#HANDLE_RC_SCRIPTS =3D false;
#DEFAULT_ALWAYS_YES =3D false;
#ASSUME_ALWAYS_YES =3D false;
#REPOS_DIR [
#    "/etc/pkg/",
#    "/usr/local/etc/pkg/repos/",
#]
#PLIST_KEYWORDS_DIR =3D "";
#SYSLOG =3D true;
#ABI =3D "freebsd:11:x86:64";     # Autogenerated
#ABI =3D "freebsd:11:x86:32"
#ABI =3D "FreeBSD:12:i386"
#DEVELOPER_MODE =3D false;
#VULNXML_SITE =3D "http://www.vuxml.org/freebsd/vuln.xml.bz2";
#FETCH_RETRY =3D 3;
#PKG_PLUGINS_DIR =3D "/usr/local/lib/pkg/";
#PKG_ENABLE_PLUGINS =3D true;
#PLUGINS [
#]
#DEBUG_SCRIPTS =3D false;
#PLUGINS_CONF_DIR =3D "/usr/local/etc/pkg/";
#PERMISSIVE =3D false;
#REPO_AUTOUPDATE =3D true;
#NAMESERVER =3D "";
#EVENT_PIPE =3D "";
#VALID_URL_SCHEME =3D ["pkg+ftp"];
#FETCH_TIMEOUT =3D 30;
#UNSET_TIMESTAMP =3D false;
#SSH_RESTRICT_DIR =3D "";
#PKG_ENV {
#}
#PKG_SSH_ARGS =3D "";
#DEBUG_LEVEL =3D 0;
#ALIAS {
#}
#CUDF_SOLVER =3D "";
#SAT_SOLVER =3D "";
#RUN_SCRIPTS =3D true;
#CASE_SENSITIVE_MATCH =3D false;
#IP_VERSION =3D 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 =3D 0' '%n'",
  leaf: "query -e '%#r =3D=3D 0' '%n-%v'",
  list: info -ql,
  noauto =3D "query -e '%a =3D=3D 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 an=
ywhere...
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 lea=
st 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 questio=
ns of
this sort could be solved locally at buildworld time rather than asking
upstream.
........................................
Thanks very much.

J. Bouquet=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1cbEe2-0007bk-Ty>