What are you trying to use
apm update for?
Looking at the debug spew from the first post, it looks like they executed the command in their home directory. To my understanding,
apm update is specifically for packages that have Node library dependencies ... and if you are a package author, you execute it in the root directory of the package for which you want dependencies updated.
If you are trying to get the latest version of your packages, you should be using