Skip to content

Instantly share code, notes, and snippets.

@groundwater
Last active December 29, 2015 13:59
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 groundwater/7680664 to your computer and use it in GitHub Desktop.
Save groundwater/7680664 to your computer and use it in GitHub Desktop.

dependencies

root@de2af2218c88:/tpo-api# apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nodejs : Depends: rlwrap but it is not installable
E: Unable to correct problems, you have held broken packages.

permissions

npm ERR! Error: EACCES, mkdir '/usr/lib/node_modules/bunyan'
npm ERR!  { [Error: EACCES, mkdir '/usr/lib/node_modules/bunyan']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/usr/lib/node_modules/bunyan',
npm ERR!   fstream_type: 'Directory',
npm ERR!   fstream_path: '/usr/lib/node_modules/bunyan',
npm ERR!   fstream_class: 'DirWriter',
npm ERR!   fstream_stack:
npm ERR!    [ '/usr/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23',
npm ERR!      '/usr/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53',
npm ERR!      'Object.oncomplete (fs.js:107:15)' ] }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
The following packages have been kept back:
  linux-headers-generic-lts-raring linux-headers-server linux-image-generic-lts-raring linux-image-server linux-server
  lxc-docker
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

pkgin

---Dec 31 09:52:14: installing ruby-1.9.3p484...
pkg_add: Package `ruby-1.9.3p484' conflicts with `pkg_alternatives-[0-9]*', and `pkg_alternatives-1.6' is installed.
pkg_add: 1 package addition failed
---Dec 31 09:52:31: installing ruby-1.9.3p484...
pkg_add: Package `ruby-1.9.3p484' conflicts with `pkg_alternatives-[0-9]*', and `pkg_alternatives-1.6' is installed.
pkg_add: 1 package addition failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment