{"action":"opened","issue":{"url":"https://api.github.com/repos/keybase/node-installer/issues/72","labels_url":"https://api.github.com/repos/keybase/node-installer/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/keybase/node-installer/issues/72/comments","events_url":"https://api.github.com/repos/keybase/node-installer/issues/72/events","html_url":"https://github.com/keybase/node-installer/issues/72","id":111819454,"number":72,"title":"Updating with keybase-installer fails","user":{"login":"mvz","id":10898,"avatar_url":"https://avatars.githubusercontent.com/u/10898?v=3","gravatar_id":"","url":"https://api.github.com/users/mvz","html_url":"https://github.com/mvz","followers_url":"https://api.github.com/users/mvz/followers","following_url":"https://api.github.com/users/mvz/following{/other_user}","gists_url":"https://api.github.com/users/mvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvz/subscriptions","organizations_url":"https://api.github.com/users/mvz/orgs","repos_url":"https://api.github.com/users/mvz/repos","events_url":"https://api.github.com/users/mvz/events{/privacy}","received_events_url":"https://api.github.com/users/mvz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-16T12:14:58Z","updated_at":"2015-10-16T12:14:58Z","closed_at":null,"body":"On Debian unstable, I am unable to update keybase.\r\n\r\nWhen I run `keybase-installer` as myself, it fails because it cannot unlink `/usr/local/lib/node_modules/keybase`:\r\n\r\n```\r\nnpm ERR! error rolling back Error: EACCES: permission denied, unlink '/usr/local/lib/node_modules/keybase'\r\n```\r\n\r\nWhen I run `keybase-installer` as root, it fails with the following output:\r\n\r\n```\r\n[matijs@walnut] sudo keybase-installer\r\ninfo: Made temporary directory: /tmp/keybase_install_BWlzfd5n7n_Cu8QE0gaiyg\r\ninfo: Using keyset version v1\r\ninfo: Fetching URL https://dist.keybase.io/sig/files/1/index.asc\r\ninfo: cleaning up tmpdir /tmp/keybase_install_BWlzfd5n7n_Cu8QE0gaiyg\r\nerror: exit code 2\r\nwarn: gpg: key 7F9E8BFA: public key \"Keybase.io Index Signing (v1) <index@keybase.io>\" imported\r\nwarn: gpg: failed to create temporary file '/root/.gnupg/.#lk0x00005587eb757490.walnut.7322': No such file or directory\r\nwarn: gpg: can't connect to the agent: No such file or directory\r\nwarn: gpg: Total number processed: 1\r\nwarn: gpg:               imported: 1\r\nwarn: gpg: no ultimately trusted keys found\r\n```"}}