Skip to content

Instantly share code, notes, and snippets.

@jperkin
Created August 23, 2012 13:18
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save jperkin/3436515 to your computer and use it in GitHub Desktop.
Save jperkin/3436515 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