Skip to content

Instantly share code, notes, and snippets.

@tlvenn
Forked from jperkin/gist:3436515
Created April 27, 2016 14:49
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 tlvenn/0f9dab8bf6ded9170af8b4cb2f7c11fe to your computer and use it in GitHub Desktop.
Save tlvenn/0f9dab8bf6ded9170af8b4cb2f7c11fe to your computer and use it in GitHub Desktop.
Upgrade SmartOS pkgsrc
From 2012Q1 to 2012Q2, assuming 32-bit dataset (i386)
# Update repositories.conf for pkgin, and set $PKG_PATH for pkg_add
REPO=http://pkgsrc.joyent.com/sdc6/2012Q2/i386/All
echo ${REPO} >/opt/local/etc/pkgin/repositories.conf
export PKG_PATH=${REPO}
# Update core packages manually
pkg_add -u bootstrap-mk-files bmake
# Update everything else
pkgin up
pkgin -y fug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment