How to resolve dpkg error processing package r-base-dev (--configure): trying to install nodejs? [closed]











up vote
0
down vote

favorite












I am having the following error reported when trying to install nodejs.



apt-get install -y nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longe required:
gyp libc-ares-dev libc-ares2 libjs-node-uuid libssl-dev libtcl8.5 libtk8.5
libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fstream node-fstream-ignore
node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once node-osenv node-qs
node-read node-read-package-json node-request node-retry node-rimraf
node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
node-which tcl8.5 tk8.5
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
nodejs-dev npm
The following packages will be upgraded:
nodejs
1 to upgrade, 0 to newly install, 2 to remove and 8 not to upgrade.
17 not fully installed or removed.
Need to get 13.6 MB of archives.
After this operation, 58.8 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_8.x/ trusty/main nodejs amd64 8.14.0-1nodesource1 [13.6 MB]
Fetched 13.6 MB in 23s (586 kB/s)
(Reading database ... 197219 files and directories currently installed.)
Removing npm (1.3.10~dfsg-1) ...
dpkg: nodejs-dev: dependency problems, but removing anyway as you requested:
node-gyp depends on nodejs-dev.

Removing nodejs-dev (0.10.25~dfsg2-2ubuntu1.2) ...
Processing triggers for doc-base (0.10.5) ...
Processing 4 removed doc-base files...
Registering documents with scrollkeeper...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
(Reading database ... 196591 files and directories currently installed.)
Preparing to unpack .../nodejs_8.14.0-1nodesource1_amd64.deb ...
Unpacking nodejs (8.14.0-1nodesource1) over (0.10.25~dfsg2-2ubuntu1.2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for doc-base (0.10.5) ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...
Setting up r-base-core (3.4.4-1trusty0) ...
Preserving user changes to /usr/share/bash-completion/completions/R (renamed from /etc/bash_completion.d/R)...
mv: cannot stat ‘/usr/share/bash-completion/completions/R’: No such file or directory
dpkg: error processing package r-base-core (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of r-cran-boot:
r-cran-boot depends on r-base-core (>= 3.4.1-2trusty0); however:
Package r-base-core is not configured yet.
r-cran-boot depends on r-api-3; however:
Package r-api-3 is not installed.
Package r-base-core which provides r-api-3 is not configured yet.

dpkg: error processing package r-cran-boot (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-mass:
r-cran-mass depends on r-base-core (>= 3.4.4-1trusty0); however:
Package r-base-core is not configured yet.
r-cran-mass depends on r-api-3; however:
Package r-api-3 is not installed.
Package r-base-core which provides r-api-3 is not configured yet.

dpkg: error processing package r-cran-mass (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-cran-kernsmooth:
r-cran-kernsmooth depends on r-base-core (>= 3.4.0-1trusty0); however:
Package r-base-core is not configured yet.


Eventually ending with...



dpkg: error processing package r-base-dev (--configure):
dependency problems - leaving unconfigured
Setting up nodejs (8.14.0-1nodesource1) ...
Errors were encountered while processing:
r-base-core
r-cran-boot
r-cran-mass
r-cran-kernsmooth
r-cran-lattice
r-cran-nlme
r-cran-matrix
r-cran-mgcv
r-cran-rpart
r-cran-survival
r-cran-class
r-cran-nnet
r-cran-spatial
r-cran-codetools
r-recommended
r-base
r-base-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)









share|improve this question















closed as too broad by Rui F Ribeiro, RalfFriedl, GAD3R, Isaac, sam Dec 3 at 16:11


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















    up vote
    0
    down vote

    favorite












    I am having the following error reported when trying to install nodejs.



    apt-get install -y nodejs
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longe required:
    gyp libc-ares-dev libc-ares2 libjs-node-uuid libssl-dev libtcl8.5 libtk8.5
    libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
    node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
    node-forever-agent node-form-data node-fstream node-fstream-ignore
    node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
    node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
    node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
    node-normalize-package-data node-npmlog node-once node-osenv node-qs
    node-read node-read-package-json node-request node-retry node-rimraf
    node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
    node-which tcl8.5 tk8.5
    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED
    nodejs-dev npm
    The following packages will be upgraded:
    nodejs
    1 to upgrade, 0 to newly install, 2 to remove and 8 not to upgrade.
    17 not fully installed or removed.
    Need to get 13.6 MB of archives.
    After this operation, 58.8 MB of additional disk space will be used.
    Get:1 https://deb.nodesource.com/node_8.x/ trusty/main nodejs amd64 8.14.0-1nodesource1 [13.6 MB]
    Fetched 13.6 MB in 23s (586 kB/s)
    (Reading database ... 197219 files and directories currently installed.)
    Removing npm (1.3.10~dfsg-1) ...
    dpkg: nodejs-dev: dependency problems, but removing anyway as you requested:
    node-gyp depends on nodejs-dev.

    Removing nodejs-dev (0.10.25~dfsg2-2ubuntu1.2) ...
    Processing triggers for doc-base (0.10.5) ...
    Processing 4 removed doc-base files...
    Registering documents with scrollkeeper...
    Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
    (Reading database ... 196591 files and directories currently installed.)
    Preparing to unpack .../nodejs_8.14.0-1nodesource1_amd64.deb ...
    Unpacking nodejs (8.14.0-1nodesource1) over (0.10.25~dfsg2-2ubuntu1.2) ...
    Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
    Processing triggers for doc-base (0.10.5) ...
    Processing 1 removed doc-base file...
    Registering documents with scrollkeeper...
    Setting up r-base-core (3.4.4-1trusty0) ...
    Preserving user changes to /usr/share/bash-completion/completions/R (renamed from /etc/bash_completion.d/R)...
    mv: cannot stat ‘/usr/share/bash-completion/completions/R’: No such file or directory
    dpkg: error processing package r-base-core (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of r-cran-boot:
    r-cran-boot depends on r-base-core (>= 3.4.1-2trusty0); however:
    Package r-base-core is not configured yet.
    r-cran-boot depends on r-api-3; however:
    Package r-api-3 is not installed.
    Package r-base-core which provides r-api-3 is not configured yet.

    dpkg: error processing package r-cran-boot (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of r-cran-mass:
    r-cran-mass depends on r-base-core (>= 3.4.4-1trusty0); however:
    Package r-base-core is not configured yet.
    r-cran-mass depends on r-api-3; however:
    Package r-api-3 is not installed.
    Package r-base-core which provides r-api-3 is not configured yet.

    dpkg: error processing package r-cran-mass (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of r-cran-kernsmooth:
    r-cran-kernsmooth depends on r-base-core (>= 3.4.0-1trusty0); however:
    Package r-base-core is not configured yet.


    Eventually ending with...



    dpkg: error processing package r-base-dev (--configure):
    dependency problems - leaving unconfigured
    Setting up nodejs (8.14.0-1nodesource1) ...
    Errors were encountered while processing:
    r-base-core
    r-cran-boot
    r-cran-mass
    r-cran-kernsmooth
    r-cran-lattice
    r-cran-nlme
    r-cran-matrix
    r-cran-mgcv
    r-cran-rpart
    r-cran-survival
    r-cran-class
    r-cran-nnet
    r-cran-spatial
    r-cran-codetools
    r-recommended
    r-base
    r-base-dev
    E: Sub-process /usr/bin/dpkg returned an error code (1)









    share|improve this question















    closed as too broad by Rui F Ribeiro, RalfFriedl, GAD3R, Isaac, sam Dec 3 at 16:11


    Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am having the following error reported when trying to install nodejs.



      apt-get install -y nodejs
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longe required:
      gyp libc-ares-dev libc-ares2 libjs-node-uuid libssl-dev libtcl8.5 libtk8.5
      libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
      node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
      node-forever-agent node-form-data node-fstream node-fstream-ignore
      node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
      node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
      node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
      node-normalize-package-data node-npmlog node-once node-osenv node-qs
      node-read node-read-package-json node-request node-retry node-rimraf
      node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
      node-which tcl8.5 tk8.5
      Use 'apt-get autoremove' to remove them.
      The following packages will be REMOVED
      nodejs-dev npm
      The following packages will be upgraded:
      nodejs
      1 to upgrade, 0 to newly install, 2 to remove and 8 not to upgrade.
      17 not fully installed or removed.
      Need to get 13.6 MB of archives.
      After this operation, 58.8 MB of additional disk space will be used.
      Get:1 https://deb.nodesource.com/node_8.x/ trusty/main nodejs amd64 8.14.0-1nodesource1 [13.6 MB]
      Fetched 13.6 MB in 23s (586 kB/s)
      (Reading database ... 197219 files and directories currently installed.)
      Removing npm (1.3.10~dfsg-1) ...
      dpkg: nodejs-dev: dependency problems, but removing anyway as you requested:
      node-gyp depends on nodejs-dev.

      Removing nodejs-dev (0.10.25~dfsg2-2ubuntu1.2) ...
      Processing triggers for doc-base (0.10.5) ...
      Processing 4 removed doc-base files...
      Registering documents with scrollkeeper...
      Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
      (Reading database ... 196591 files and directories currently installed.)
      Preparing to unpack .../nodejs_8.14.0-1nodesource1_amd64.deb ...
      Unpacking nodejs (8.14.0-1nodesource1) over (0.10.25~dfsg2-2ubuntu1.2) ...
      Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
      Processing triggers for doc-base (0.10.5) ...
      Processing 1 removed doc-base file...
      Registering documents with scrollkeeper...
      Setting up r-base-core (3.4.4-1trusty0) ...
      Preserving user changes to /usr/share/bash-completion/completions/R (renamed from /etc/bash_completion.d/R)...
      mv: cannot stat ‘/usr/share/bash-completion/completions/R’: No such file or directory
      dpkg: error processing package r-base-core (--configure):
      subprocess installed post-installation script returned error exit status 1
      dpkg: dependency problems prevent configuration of r-cran-boot:
      r-cran-boot depends on r-base-core (>= 3.4.1-2trusty0); however:
      Package r-base-core is not configured yet.
      r-cran-boot depends on r-api-3; however:
      Package r-api-3 is not installed.
      Package r-base-core which provides r-api-3 is not configured yet.

      dpkg: error processing package r-cran-boot (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of r-cran-mass:
      r-cran-mass depends on r-base-core (>= 3.4.4-1trusty0); however:
      Package r-base-core is not configured yet.
      r-cran-mass depends on r-api-3; however:
      Package r-api-3 is not installed.
      Package r-base-core which provides r-api-3 is not configured yet.

      dpkg: error processing package r-cran-mass (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of r-cran-kernsmooth:
      r-cran-kernsmooth depends on r-base-core (>= 3.4.0-1trusty0); however:
      Package r-base-core is not configured yet.


      Eventually ending with...



      dpkg: error processing package r-base-dev (--configure):
      dependency problems - leaving unconfigured
      Setting up nodejs (8.14.0-1nodesource1) ...
      Errors were encountered while processing:
      r-base-core
      r-cran-boot
      r-cran-mass
      r-cran-kernsmooth
      r-cran-lattice
      r-cran-nlme
      r-cran-matrix
      r-cran-mgcv
      r-cran-rpart
      r-cran-survival
      r-cran-class
      r-cran-nnet
      r-cran-spatial
      r-cran-codetools
      r-recommended
      r-base
      r-base-dev
      E: Sub-process /usr/bin/dpkg returned an error code (1)









      share|improve this question















      I am having the following error reported when trying to install nodejs.



      apt-get install -y nodejs
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longe required:
      gyp libc-ares-dev libc-ares2 libjs-node-uuid libssl-dev libtcl8.5 libtk8.5
      libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
      node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
      node-forever-agent node-form-data node-fstream node-fstream-ignore
      node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
      node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
      node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
      node-normalize-package-data node-npmlog node-once node-osenv node-qs
      node-read node-read-package-json node-request node-retry node-rimraf
      node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
      node-which tcl8.5 tk8.5
      Use 'apt-get autoremove' to remove them.
      The following packages will be REMOVED
      nodejs-dev npm
      The following packages will be upgraded:
      nodejs
      1 to upgrade, 0 to newly install, 2 to remove and 8 not to upgrade.
      17 not fully installed or removed.
      Need to get 13.6 MB of archives.
      After this operation, 58.8 MB of additional disk space will be used.
      Get:1 https://deb.nodesource.com/node_8.x/ trusty/main nodejs amd64 8.14.0-1nodesource1 [13.6 MB]
      Fetched 13.6 MB in 23s (586 kB/s)
      (Reading database ... 197219 files and directories currently installed.)
      Removing npm (1.3.10~dfsg-1) ...
      dpkg: nodejs-dev: dependency problems, but removing anyway as you requested:
      node-gyp depends on nodejs-dev.

      Removing nodejs-dev (0.10.25~dfsg2-2ubuntu1.2) ...
      Processing triggers for doc-base (0.10.5) ...
      Processing 4 removed doc-base files...
      Registering documents with scrollkeeper...
      Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
      (Reading database ... 196591 files and directories currently installed.)
      Preparing to unpack .../nodejs_8.14.0-1nodesource1_amd64.deb ...
      Unpacking nodejs (8.14.0-1nodesource1) over (0.10.25~dfsg2-2ubuntu1.2) ...
      Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
      Processing triggers for doc-base (0.10.5) ...
      Processing 1 removed doc-base file...
      Registering documents with scrollkeeper...
      Setting up r-base-core (3.4.4-1trusty0) ...
      Preserving user changes to /usr/share/bash-completion/completions/R (renamed from /etc/bash_completion.d/R)...
      mv: cannot stat ‘/usr/share/bash-completion/completions/R’: No such file or directory
      dpkg: error processing package r-base-core (--configure):
      subprocess installed post-installation script returned error exit status 1
      dpkg: dependency problems prevent configuration of r-cran-boot:
      r-cran-boot depends on r-base-core (>= 3.4.1-2trusty0); however:
      Package r-base-core is not configured yet.
      r-cran-boot depends on r-api-3; however:
      Package r-api-3 is not installed.
      Package r-base-core which provides r-api-3 is not configured yet.

      dpkg: error processing package r-cran-boot (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of r-cran-mass:
      r-cran-mass depends on r-base-core (>= 3.4.4-1trusty0); however:
      Package r-base-core is not configured yet.
      r-cran-mass depends on r-api-3; however:
      Package r-api-3 is not installed.
      Package r-base-core which provides r-api-3 is not configured yet.

      dpkg: error processing package r-cran-mass (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of r-cran-kernsmooth:
      r-cran-kernsmooth depends on r-base-core (>= 3.4.0-1trusty0); however:
      Package r-base-core is not configured yet.


      Eventually ending with...



      dpkg: error processing package r-base-dev (--configure):
      dependency problems - leaving unconfigured
      Setting up nodejs (8.14.0-1nodesource1) ...
      Errors were encountered while processing:
      r-base-core
      r-cran-boot
      r-cran-mass
      r-cran-kernsmooth
      r-cran-lattice
      r-cran-nlme
      r-cran-matrix
      r-cran-mgcv
      r-cran-rpart
      r-cran-survival
      r-cran-class
      r-cran-nnet
      r-cran-spatial
      r-cran-codetools
      r-recommended
      r-base
      r-base-dev
      E: Sub-process /usr/bin/dpkg returned an error code (1)






      dpkg r






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 2 at 8:34









      Rui F Ribeiro

      38.5k1479128




      38.5k1479128










      asked Dec 1 at 23:48









      BoB

      6




      6




      closed as too broad by Rui F Ribeiro, RalfFriedl, GAD3R, Isaac, sam Dec 3 at 16:11


      Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






      closed as too broad by Rui F Ribeiro, RalfFriedl, GAD3R, Isaac, sam Dec 3 at 16:11


      Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.





























          active

          oldest

          votes






















          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          Morgemoulin

          Scott Moir

          Souastre