Skip to content

Instantly share code, notes, and snippets.

@jperkin
Created February 14, 2018 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jperkin/e66e78e7087af501a8cb545a0790920b to your computer and use it in GitHub Desktop.
Save jperkin/e66e78e7087af501a8cb545a0790920b to your computer and use it in GitHub Desktop.
$ ./pkgin-osx-64-upgrade full-upgrade
reading local summary...
processing local summary...
pkg_summary.xz 100% 1987KB 993.5KB/s 451.0KB/s 00:02
calculating dependencies... done.
155 packages to refresh:
pkg_install-20171030 zlib-1.2.11 yarn-1.3.2 xz-5.2.3nb1 w3m-0.5.3.0.20170102 ruby23-sass-3.4.24
ruby23-safe_yaml-1.0.4 ruby23-rouge-1.11.1 ruby23-redcarpet-3.4.0 ruby23-rb-inotify-0.9.10
ruby23-rb-fsevent-0.10.2 ruby23-pygments.rb-1.1.2 ruby23-public_suffix-3.0.0 ruby23-pathutil-0.14.0
ruby23-multi_json-1.12.2 ruby23-mercenary-0.3.6 ruby23-listen-3.1.5nb1 ruby23-liquid-4.0.0
ruby23-kramdown-1.15.0 ruby23-jekyll-watch-1.5.0nb1 ruby23-jekyll-sass-converter-1.5.0
ruby23-jekyll-minima-2.1.1 ruby23-jekyll-feed-0.9.2 ruby23-jekyll-3.5.2nb1
ruby23-forwardable-extended-2.6.0 ruby23-ffi-1.9.18 ruby23-dep-1.5.0 ruby23-colorator-1.1.0
ruby23-bundler-1.15.4 ruby23-addressable-2.5.2 python27-2.7.14 py27-expat-2.7.14
pkgsrc-gnupg-keys-20170418 pkgdiff-1.8nb1 pkg_alternatives-1.6 p5-XML-SAX-Base-1.09nb1
p5-XML-SAX-0.99nb6 p5-XML-NamespaceSupport-1.12nb1 p5-XML-LibXML-2.0132
p5-WebService-MusicBrainz0-0.94 p5-WWW-RobotRules-6.02nb6 p5-Test-Pod-1.51nb2 p5-Socket6-0.28nb1
p5-Perl4-CoreLibs-0.004 p5-Path-Class-0.37nb1 p5-Net-LibIDN-0.12nb9 p5-Net-HTTP-6.17
p5-MusicBrainz-DiscID-0.04 p5-Mozilla-CA-20160104nb2 p5-LWP-Protocol-https-6.07nb1
p5-LWP-MediaTypes-6.02nb6 p5-IO-Socket-SSL-2.052 p5-IO-Socket-INET6-2.72nb3 p5-IO-HTML-1.001nb3
p5-HTTP-Negotiate-6.01nb6 p5-HTTP-Date-6.02nb6 p5-HTTP-Daemon-6.01nb6 p5-HTTP-Cookies-6.04
p5-HTML-Tagset-3.20nb9 p5-HTML-Parser-3.72nb2 p5-File-Listing-6.04nb6 p5-Encode-Locale-1.05nb3
p5-Crypt-SSLeay-0.72nb4 p5-Class-Accessor-0.51 openldap-client-2.4.45 nbsed-20120308
nawk-20121220nb1 mutt-1.9.3 mozilla-rootcerts-1.0.20170121nb6 libxml2-2.9.7 libass-0.14.0
libarchive-3.3.2 gpgme-1.10.0 gnupg2-2.2.4 gettext-lib-0.19.8.1 eyeD3-0.7.11 editline-3.1.20150325
cy2-plain-2.1.26nb1 bzip2-1.0.6nb1 bsdinstall-20160108 bootstrap-mk-files-20170802 bmake-20150505
autoconf-2.69nb7 abcde-2.8.1nb1
3 packages to upgrade:
nodejs-9.5.0 ncursesw-6.0nb4 ncurses-6.0nb5
155 to refresh, 3 to upgrade, 0 to remove, 0 to install
104M to download, -299K to install
proceed ? [Y/n]
downloading packages...
pkg_install-20171030.tgz 100% 6083KB 2.0MB/s 1.2MB/s 00:03
zlib-1.2.11.tgz 100% 137KB 136.9KB/s 136.9KB/s 00:00
yarn-1.3.2.tgz 100% 866KB 865.8KB/s 865.8KB/s 00:01
xz-5.2.3nb1.tgz 100% 362KB 362.4KB/s 362.4KB/s 00:00
w3m-0.5.3.0.20170102.tgz 100% 1163KB 1.1MB/s 47.2KB/s 00:01
ruby23-sass-3.4.24.tgz 100% 1036KB 1.0MB/s 1.0MB/s 00:01
ruby23-safe_yaml-1.0.4.tgz 100% 76KB 76.1KB/s 76.1KB/s 00:01
ruby23-rouge-1.11.1.tgz 100% 574KB 573.7KB/s 573.7KB/s 00:00
ruby23-redcarpet-3.4.0.tgz 100% 204KB 203.5KB/s 203.5KB/s 00:00
ruby23-rb-inotify-0.9.10.tgz 100% 41KB 40.9KB/s 40.9KB/s 00:00
ruby23-rb-fsevent-0.10.2.tgz 100% 101KB 100.8KB/s 100.8KB/s 00:00
ruby23-pygments.rb-1.1.2.tgz 100% 2335KB 2.3MB/s 2.3MB/s 00:01
ruby23-public_suffix-3.0.0.tgz 100% 204KB 204.4KB/s 204.4KB/s 00:00
ruby23-pathutil-0.14.0.tgz 100% 32KB 31.8KB/s 31.8KB/s 00:00
ruby23-multi_json-1.12.2.tgz 100% 60KB 59.7KB/s 59.7KB/s 00:00
ruby23-mercenary-0.3.6.tgz 100% 42KB 42.2KB/s 42.2KB/s 00:00
ruby23-listen-3.1.5nb1.tgz 100% 93KB 93.2KB/s 93.2KB/s 00:00
ruby23-liquid-4.0.0.tgz 100% 213KB 212.6KB/s 212.6KB/s 00:00
ruby23-kramdown-1.15.0.tgz 100% 597KB 597.0KB/s 597.0KB/s 00:00
ruby23-jekyll-watch-1.5.0nb1.tgz 100% 11KB 11.3KB/s 11.3KB/s 00:00
ruby23-jekyll-sass-converter-1.5.0.tgz 100% 11KB 11.3KB/s 11.3KB/s 00:00
ruby23-jekyll-minima-2.1.1.tgz 100% 39KB 39.3KB/s 39.3KB/s 00:00
ruby23-jekyll-feed-0.9.2.tgz 100% 35KB 35.2KB/s 35.2KB/s 00:00
ruby23-jekyll-3.5.2nb1.tgz 100% 346KB 346.2KB/s 346.2KB/s 00:00
ruby23-forwardable-extended-2.6.0.tgz 100% 12KB 12.3KB/s 12.3KB/s 00:00
ruby23-ffi-1.9.18.tgz 100% 2500KB 2.4MB/s 88.3KB/s 00:01
ruby23-dep-1.5.0.tgz 100% 29KB 28.9KB/s 28.9KB/s 00:00
ruby23-colorator-1.1.0.tgz 100% 15KB 14.8KB/s 14.8KB/s 00:00
ruby23-bundler-1.15.4.tgz 100% 1015KB 1.0MB/s 1.0MB/s 00:01
ruby23-addressable-2.5.2.tgz 100% 239KB 239.3KB/s 239.3KB/s 00:00
python27-2.7.14.tgz 100% 18MB 2.3MB/s 669.7KB/s 00:08
py27-expat-2.7.14.tgz 100% 22KB 21.6KB/s 21.6KB/s 00:00
pkgsrc-gnupg-keys-20170418.tgz 100% 26KB 26.3KB/s 26.3KB/s 00:00
pkgdiff-1.8nb1.tgz 100% 18KB 17.9KB/s 17.9KB/s 00:00
pkg_alternatives-1.6.tgz 100% 20KB 19.7KB/s 19.7KB/s 00:00
p5-XML-SAX-Base-1.09nb1.tgz 100% 29KB 29.5KB/s 29.5KB/s 00:00
p5-XML-SAX-0.99nb6.tgz 100% 55KB 55.4KB/s 55.4KB/s 00:00
p5-XML-NamespaceSupport-1.12nb1.tgz 100% 16KB 15.5KB/s 15.5KB/s 00:00
p5-XML-LibXML-2.0132.tgz 100% 403KB 403.2KB/s 403.2KB/s 00:00
p5-WebService-MusicBrainz0-0.94.tgz 100% 72KB 72.4KB/s 72.4KB/s 00:00
p5-WWW-RobotRules-6.02nb6.tgz 100% 16KB 16.0KB/s 16.0KB/s 00:00
p5-Test-Pod-1.51nb2.tgz 100% 12KB 11.8KB/s 11.8KB/s 00:00
p5-Socket6-0.28nb1.tgz 100% 25KB 24.6KB/s 24.6KB/s 00:00
p5-Perl4-CoreLibs-0.004.tgz 100% 45KB 45.1KB/s 45.1KB/s 00:00
p5-Path-Class-0.37nb1.tgz 100% 40KB 40.3KB/s 40.3KB/s 00:01
p5-Net-LibIDN-0.12nb9.tgz 100% 24KB 23.8KB/s 23.8KB/s 00:00
p5-Net-HTTP-6.17.tgz 100% 27KB 27.2KB/s 27.2KB/s 00:00
p5-MusicBrainz-DiscID-0.04.tgz 100% 18KB 17.8KB/s 17.8KB/s 00:00
p5-Mozilla-CA-20160104nb2.tgz 100% 157KB 156.7KB/s 156.7KB/s 00:00
p5-LWP-Protocol-https-6.07nb1.tgz 100% 11KB 10.6KB/s 10.6KB/s 00:00
p5-LWP-MediaTypes-6.02nb6.tgz 100% 24KB 23.9KB/s 23.9KB/s 00:00
p5-IO-Socket-SSL-2.052.tgz 100% 176KB 176.1KB/s 176.1KB/s 00:00
p5-IO-Socket-INET6-2.72nb3.tgz 100% 16KB 16.0KB/s 16.0KB/s 00:00
p5-IO-HTML-1.001nb3.tgz 100% 17KB 17.3KB/s 17.3KB/s 00:00
p5-HTTP-Negotiate-6.01nb6.tgz 100% 16KB 16.0KB/s 16.0KB/s 00:00
p5-HTTP-Date-6.02nb6.tgz 100% 13KB 12.8KB/s 12.8KB/s 00:00
p5-HTTP-Daemon-6.01nb6.tgz 100% 19KB 19.1KB/s 19.1KB/s 00:00
p5-HTTP-Cookies-6.04.tgz 100% 26KB 25.6KB/s 25.6KB/s 00:00
p5-HTML-Tagset-3.20nb9.tgz 100% 15KB 14.5KB/s 14.5KB/s 00:00
p5-HTML-Parser-3.72nb2.tgz 100% 89KB 89.4KB/s 89.4KB/s 00:00
p5-File-Listing-6.04nb6.tgz 100% 12KB 11.7KB/s 11.7KB/s 00:00
p5-Encode-Locale-1.05nb3.tgz 100% 14KB 14.4KB/s 14.4KB/s 00:00
p5-Crypt-SSLeay-0.72nb4.tgz 100% 49KB 49.3KB/s 49.3KB/s 00:00
p5-Class-Accessor-0.51.tgz 100% 24KB 24.1KB/s 24.1KB/s 00:00
openldap-client-2.4.45.tgz 100% 1281KB 1.3MB/s 1.3MB/s 00:01
nbsed-20120308.tgz 100% 23KB 23.5KB/s 23.5KB/s 00:00
nawk-20121220nb1.tgz 100% 63KB 62.6KB/s 62.6KB/s 00:00
mutt-1.9.3.tgz 100% 2460KB 1.2MB/s 1.0MB/s 00:02
mozilla-rootcerts-1.0.20170121nb6.tgz 100% 709KB 709.3KB/s 709.3KB/s 00:00
libxml2-2.9.7.tgz 100% 2389KB 1.2MB/s 953.2KB/s 00:02
libass-0.14.0.tgz 100% 239KB 238.8KB/s 238.8KB/s 00:00
libarchive-3.3.2.tgz 100% 926KB 925.7KB/s 925.7KB/s 00:01
gpgme-1.10.0.tgz 100% 1093KB 1.1MB/s 105.0KB/s 00:01
gnupg2-2.2.4.tgz 100% 4339KB 2.1MB/s 1.9MB/s 00:02
gettext-lib-0.19.8.1.tgz 100% 71KB 70.9KB/s 70.9KB/s 00:00
eyeD3-0.7.11.tgz 100% 306KB 305.6KB/s 305.6KB/s 00:00
editline-3.1.20150325.tgz 100% 223KB 223.5KB/s 223.5KB/s 00:00
cy2-plain-2.1.26nb1.tgz 100% 19KB 19.4KB/s 19.4KB/s 00:00
bzip2-1.0.6nb1.tgz 100% 96KB 96.0KB/s 96.0KB/s 00:01
bsdinstall-20160108.tgz 100% 38KB 37.9KB/s 37.9KB/s 00:00
bootstrap-mk-files-20170802.tgz 100% 28KB 27.7KB/s 27.7KB/s 00:00
bmake-20150505.tgz 100% 131KB 131.0KB/s 131.0KB/s 00:00
autoconf-2.69nb7.tgz 100% 904KB 903.6KB/s 903.6KB/s 00:01
abcde-2.8.1nb1.tgz 100% 75KB 74.6KB/s 74.6KB/s 00:00
downloading packages...
nodejs-9.5.0.tgz 100% 11MB 2.8MB/s 1.7MB/s 00:04
ncursesw-6.0nb4.tgz 100% 646KB 645.6KB/s 645.6KB/s 00:00
ncurses-6.0nb5.tgz 100% 1657KB 1.6MB/s 605.0KB/s 00:01
downloading packages...
refreshing packages...
refreshing pkg_install-20171030...
===========================================================================
$NetBSD: MESSAGE,v 1.7 2017/01/09 07:01:33 sevan Exp $
You may wish to have the vulnerabilities file downloaded daily so that it
remains current. This may be done by adding an appropriate entry to the root
users crontab(5) entry. For example the entry
# Download vulnerabilities file
0 3 * * * /opt/pkg/sbin/pkg_admin fetch-pkg-vulnerabilities >/dev/null 2>&1
# Audit the installed packages and email results to root
9 3 * * * /opt/pkg/sbin/pkg_admin audit |mail -s "Installed package audit result" \
root >/dev/null 2>&1
will update the vulnerability list every day at 3AM, followed by an audit at
3:09AM. The result of the audit are then emailed to root. On NetBSD this may be
accomplished instead by adding the following line to /etc/daily.conf:
fetch_pkg_vulnerabilities=YES
to fetch the vulnerability list from the daily security script. The system is
set to audit the packages by default but can be set explicitly, if desired (not
required), by adding the follwing line to /etc/security.conf:
check_pkg_vulnerabilities=YES
Both pkg_admin subcommands can be run as as an unprivileged user,
as long as the user chosen has permission to read the pkgdb and to write
the pkg-vulnerabilities to /opt/pkg/.pkgdb.
The behavior of pkg_admin and pkg_add can be customised with
pkg_install.conf. Please see pkg_install.conf(5) for details.
If you want to use GPG signature verification you will need to install
GnuPG and set the path for GPG appropriately in your pkg_install.conf.
===========================================================================
refreshing zlib-1.2.11...
refreshing yarn-1.3.2...
refreshing xz-5.2.3nb1...
refreshing w3m-0.5.3.0.20170102...
refreshing ruby23-sass-3.4.24...
refreshing ruby23-safe_yaml-1.0.4...
refreshing ruby23-rouge-1.11.1...
refreshing ruby23-redcarpet-3.4.0...
refreshing ruby23-rb-inotify-0.9.10...
refreshing ruby23-rb-fsevent-0.10.2...
refreshing ruby23-pygments.rb-1.1.2...
refreshing ruby23-public_suffix-3.0.0...
refreshing ruby23-pathutil-0.14.0...
refreshing ruby23-multi_json-1.12.2...
refreshing ruby23-mercenary-0.3.6...
refreshing ruby23-listen-3.1.5nb1...
refreshing ruby23-liquid-4.0.0...
refreshing ruby23-kramdown-1.15.0...
refreshing ruby23-jekyll-watch-1.5.0nb1...
refreshing ruby23-jekyll-sass-converter-1.5.0...
refreshing ruby23-jekyll-minima-2.1.1...
refreshing ruby23-jekyll-feed-0.9.2...
refreshing ruby23-jekyll-3.5.2nb1...
===========================================================================
$NetBSD: MESSAGE,v 1.1 2017/04/23 13:04:00 taca Exp $
Note jekyll pkgsrc version dose not depends on ruby-bundler and disables
bundler execution unless --execute-bundle option is specified to
`jekyll new`.
===========================================================================
refreshing ruby23-forwardable-extended-2.6.0...
refreshing ruby23-ffi-1.9.18...
refreshing ruby23-dep-1.5.0...
refreshing ruby23-colorator-1.1.0...
refreshing ruby23-bundler-1.15.4...
refreshing ruby23-addressable-2.5.2...
refreshing python27-2.7.14...
refreshing py27-expat-2.7.14...
refreshing pkgsrc-gnupg-keys-20170418...
refreshing pkgdiff-1.8nb1...
refreshing pkg_alternatives-1.6...
pkg_alternatives-1.6: copying /opt/pkg/share/examples/pkg_alternatives/filter.conf to /opt/pkg/etc/pkg_alternatives/filter.conf
refreshing p5-XML-SAX-Base-1.09nb1...
refreshing p5-XML-SAX-0.99nb6...
Removed parser from XML::SAX registry.
===========================================================================
The following files are no longer being used by p5-XML-SAX-0.99nb6,
and they can be removed if no other packages are using them:
/opt/pkg/lib/perl5/vendor_perl/5.26.0/XML/SAX/ParserDetails.ini
===========================================================================
p5-XML-SAX-0.99nb6: /opt/pkg/lib/perl5/vendor_perl/5.26.0/XML/SAX/ParserDetails.ini already exists
Added parser to XML::SAX registry.
refreshing p5-XML-NamespaceSupport-1.12nb1...
refreshing p5-XML-LibXML-2.0132...
Removed parser from XML::SAX registry.
Added parser to XML::SAX registry.
refreshing p5-WebService-MusicBrainz0-0.94...
refreshing p5-WWW-RobotRules-6.02nb6...
refreshing p5-Test-Pod-1.51nb2...
refreshing p5-Socket6-0.28nb1...
refreshing p5-Perl4-CoreLibs-0.004...
refreshing p5-Path-Class-0.37nb1...
refreshing p5-Net-LibIDN-0.12nb9...
refreshing p5-Net-HTTP-6.17...
refreshing p5-MusicBrainz-DiscID-0.04...
refreshing p5-Mozilla-CA-20160104nb2...
refreshing p5-LWP-Protocol-https-6.07nb1...
refreshing p5-LWP-MediaTypes-6.02nb6...
refreshing p5-IO-Socket-SSL-2.052...
refreshing p5-IO-Socket-INET6-2.72nb3...
refreshing p5-IO-HTML-1.001nb3...
refreshing p5-HTTP-Negotiate-6.01nb6...
refreshing p5-HTTP-Date-6.02nb6...
refreshing p5-HTTP-Daemon-6.01nb6...
refreshing p5-HTTP-Cookies-6.04...
refreshing p5-HTML-Tagset-3.20nb9...
refreshing p5-HTML-Parser-3.72nb2...
refreshing p5-File-Listing-6.04nb6...
refreshing p5-Encode-Locale-1.05nb3...
refreshing p5-Crypt-SSLeay-0.72nb4...
refreshing p5-Class-Accessor-0.51...
refreshing openldap-client-2.4.45...
openldap-client-2.4.45: copying /opt/pkg/share/examples/openldap/ldap.conf to /opt/pkg/etc/openldap/ldap.conf
refreshing nbsed-20120308...
refreshing nawk-20121220nb1...
refreshing mutt-1.9.3...
mutt-1.9.3: copying /opt/pkg/share/examples/mutt/Muttrc to /opt/pkg/etc/Muttrc
mutt-1.9.3: copying /opt/pkg/share/examples/mutt/mime.types to /opt/pkg/etc/mime.types
mutt-1.9.3: setting permissions on /opt/pkg/bin/mutt_dotlock (o=root, g=mail, m=2551)
refreshing mozilla-rootcerts-1.0.20170121nb6...
===========================================================================
$NetBSD: MESSAGE,v 1.5 2014/08/10 10:47:42 wiz Exp $
Execute this command to extract and rehash all CA root certificates
distributed by the Mozilla Project, so that they can be used by third
party applications using OpenSSL. It also creates a single file
certificate bundle in PEM format which can be used by applications using
GnuTLS.
# mozilla-rootcerts install
To mark these certificates as trusted for users of gnupg2, do
the following (assuming default PKG_SYSCONFBASE and a Bourne shell):
# mkdir -p /usr/pkg/etc/gnupg
# cd /usr/pkg/etc/gnupg
# for c in /etc/openssl/certs/*.pem; do
> openssl x509 -in $c -noout -fingerprint|sed 's|^.*=\(.*\)|\1 S|'
> done > trustlist.txt
===========================================================================
refreshing libxml2-2.9.7...
refreshing libass-0.14.0...
refreshing libarchive-3.3.2...
refreshing gpgme-1.10.0...
gpgme-1.10.0: unregistering info file /opt/pkg/info/gpgme.info
gpgme-1.10.0: registering info file /opt/pkg/info/gpgme.info
refreshing gnupg2-2.2.4...
gnupg2-2.2.4: unregistering info file /opt/pkg/info/gnupg.info
gnupg2-2.2.4: registering info file /opt/pkg/info/gnupg.info
refreshing gettext-lib-0.19.8.1...
gettext-lib-0.19.8.1: copying /opt/pkg/share/examples/gettext/locale.alias to /opt/pkg/share/locale/locale.alias
refreshing eyeD3-0.7.11...
refreshing editline-3.1.20150325...
refreshing cy2-plain-2.1.26nb1...
refreshing bzip2-1.0.6nb1...
refreshing bsdinstall-20160108...
refreshing bootstrap-mk-files-20170802...
refreshing bmake-20150505...
refreshing autoconf-2.69nb7...
autoconf-2.69nb7: unregistering info file /opt/pkg/info/autoconf.info
autoconf-2.69nb7: unregistering info file /opt/pkg/info/standards.info
autoconf-2.69nb7: registering info file /opt/pkg/info/autoconf.info
autoconf-2.69nb7: registering info file /opt/pkg/info/standards.info
refreshing abcde-2.8.1nb1...
===========================================================================
$NetBSD: MESSAGE,v 1.4 2017/01/16 12:27:18 wiz Exp $
You need to install at least one encoder to use with abcde. It has support
for the following encoders in pkgsrc:
audio/bladeenc
audio/fdk-aac
audio/flac
audio/gogo
audio/lame
audio/musepack
audio/speex
audio/vorbis-tools
Preferences can be set in ~/.abcde.conf for each user, and for all users in
/opt/pkg/etc/abcde.conf system-wide.
See the man page and /opt/pkg/share/examples/abcde/abcde.conf for
configuration options.
===========================================================================
pkg_install warnings: 0, errors: 0
upgrading packages...
upgrading nodejs-9.5.0...
upgrading ncursesw-6.0nb4...
upgrading ncurses-6.0nb5...
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment