Skip to content

Instantly share code, notes, and snippets.

@wjt
Last active December 22, 2015 03:48
Show Gist options
  • Save wjt/6412403 to your computer and use it in GitHub Desktop.
Save wjt/6412403 to your computer and use it in GitHub Desktop.
How to Good-bye Passwords: If You Upgrade Node 100 Times Everyday. Malarkey? or Effective Way?
  1. Looked up the pre-upgrade version of nodejs in /var/log/dpkg.log, which was 0.6.19~dfsd1-7
  2. Grabbed it from snapshot.debian.org and installed it
  3. Ran vault --export vault.json, which worked perfectly
  4. Re-ran apt-get dist-upgrade to move back to Node v0.10.17
  5. Upgraded npm from 1.1.4~dfsg-2 – the current version in unstable, which is incompatible with nodejs 0.10.17~dfsg1-2 in unstable – to 1.2.18~dfsg-3 from experimental
  6. Installed [email protected] using npm
  7. Deleted my old .vault
  8. Ran vault --import vault.json
  9. Joy and kittens

(Step 1.5 was asking nvm to install Node 0.6.19, watching thousands of lines of compiler warnings from V8 fly past, and losing the will to live before I remembered about snapshots.debian.org.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment