Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@e1666efa0c3d:/# curl -sL https://deb.nodesource.com/setup_4.x | bash -
- bash: curl: command not found
- root@e1666efa0c3d:/# apt-get update && apt-get install -y devscripts curl
- root@e1666efa0c3d:/# curl -sL https://deb.nodesource.com/setup_4.x | bash -
- ## Installing the NodeSource Node.js 4.x LTS Argon repo...
- ## Populating apt-get cache...
- ## Installing packages required for setup: apt-transport-https...
- + apt-get install -y apt-transport-https > /dev/null 2>&1
- ## Confirming "jessie" is supported...
- + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_4.x/dists/jessie/Release'
- ## Adding the NodeSource signing key to your keyring...
- + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
- OK
- ## Creating apt sources list file for the NodeSource Node.js 4.x LTS Argon repo...
- + echo 'deb https://deb.nodesource.com/node_4.x jessie main' > /etc/apt/sources.list.d/nodesource.list
- + echo 'deb-src https://deb.nodesource.com/node_4.x jessie main' >> /etc/apt/sources.list.d/nodesource.list
- ## Running `apt-get update` for you...
- + apt-get update
- ## Run `apt-get install nodejs` (as root) to install Node.js 4.x LTS Argon and npm
- root@e1666efa0c3d:/# mkdir -p /foo/debian
- root@e1666efa0c3d:/# cd foo/
- root@e1666efa0c3d:/foo# echo "foo (1.0.0) UNRELEASED; urgency=medium
- >
- > * Initial release. (Closes: #XXXXXX)
- >
- > -- anon Wed, 20 Apr 2016 13:48:31 +0200" > debian/changelog
- root@e1666efa0c3d:/foo#
- root@e1666efa0c3d:/foo# echo "Source: foo
- > Build-Depends:
- > nodejs (= 0.10.29~dfsg-2)
- >
- > Package: foo
- > Architecture: all" > debian/control
- root@e1666efa0c3d:/foo# dpkg -l nodejs
- dpkg-query: no packages found matching nodejs
- root@e1666efa0c3d:/foo# mk-build-deps -i
- parsechangelog/debian: warning: debian/changelog(l5): badly formatted trailer line
- LINE: -- anon Wed, 20 Apr 2016 13:48:31 +0200
- parsechangelog/debian: warning: debian/changelog(l5): found eof where expected more change data or trailer
- dh_testdir
- dh_testroot
- dh_prep
- dh_testdir
- dh_testroot
- dh_install
- dh_installdocs
- dh_installchangelogs
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
- dpkg-deb: building package `foo-build-deps' in `../foo-build-deps_1.0.0_all.deb'.
- The package has been created.
- Attention, the package has been created in the current directory,
- not in ".." as indicated by the message above!
- Selecting previously unselected package foo-build-deps.
- Correcting dependencies... Done
- The following packages will be REMOVED:
- foo-build-deps
- 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
- 1 not fully installed or removed.
- After this operation, 2048 B disk space will be freed.
- Do you want to continue? [Y/n]
- Removing foo-build-deps (1.0.0) ...
- root@e1666efa0c3d:/foo# dpkg -l nodejs
- dpkg-query: no packages found matching nodejs
- root@e1666efa0c3d:/foo#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement