aboutsummaryrefslogtreecommitdiffstats
path: root/packer
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-07-12 18:23:37 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-07-12 18:23:40 +0200
commita28182974b77503aca3750b59b3bd1a58d30f00d (patch)
tree20ec6c2c89a4f73bac980b64026cdd87757dc189 /packer
parent80a1c441e8b1be62c1d90e0b0f40fb0f5bf03a64 (diff)
Remove conflict in installation of nodejs
: The following packages have unmet dependencies: : nodejs : Conflicts: npm Change-Id: Ic331d758b111edd15d778c71971cbf3915678d54 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'packer')
-rw-r--r--packer/provision/agl_dependencies.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh
index f9993565..a669fbaf 100644
--- a/packer/provision/agl_dependencies.sh
+++ b/packer/provision/agl_dependencies.sh
@@ -68,7 +68,9 @@ EOFSYSCTL
# install node.js and tools (npm, gulp, bower)
#
curl -v --connect-timeout 60 --retry 3 -sL https://deb.nodesource.com/setup_8.x | bash -
-DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs npm
+DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs
+which -a npm
+dpkg -L nodejs
npm install --global gulp bower
# tools used to generate developer website (https://github.com/automotive-grade-linux/docs-agl)