Trying to install debian package npm, makes apt-get to remove libssl-dev

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite
1












:~/$ uname -a
Linux hostname 4.9.0-4-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux


I think that I have a clear dependency tree without broken packages.



:~/$ sudo apt-get check
Reading package lists... Done
Building dependency tree
Reading state information... Done


However when I try to install npm, apt-get wants to remove libssl-dev:



:~$ sudo apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libldns2 libssl-doc
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
gyp libjs-inherits libjs-node-uuid libssl1.0-dev libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules
node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob
node-graceful-fs node-gyp node-hosted-git-info node-inflight node-inherits node-ini node-is-builtin-module node-isexe 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-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request
node-retry node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license
node-which node-wrappy node-yallist nodejs nodejs-dev nodejs-doc
Suggested packages:
node-hawk node-aws-sign node-oauth-sign node-http-signature debhelper
The following packages will be REMOVED:
libldns-dev libssl-dev
The following NEW packages will be installed:
gyp libjs-inherits libjs-node-uuid libssl1.0-dev libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules
node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob
node-graceful-fs node-gyp node-hosted-git-info node-inflight node-inherits node-ini node-is-builtin-module node-isexe 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-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request
node-retry node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license
node-which node-wrappy node-yallist nodejs nodejs-dev nodejs-doc npm
0 upgraded, 71 newly installed, 2 to remove and 32 not upgraded.
Need to get 7,517 kB of archives.
After this operation, 25.1 MB of additional disk space will be used.
Do you want to continue? [Y/n]


My sources.list:



$ cat /etc/apt/sources.list

deb http://ftp.us.debian.org/debian sid main contrib non-free
deb-src http://ftp.us.debian.org/debian sid main contrib non-free

# 3rd party
# deb http://www.deb-multimedia.org unstable main non-free
deb [arch=amd64] https://download.docker.com/linux/debian stretch stable
# deb-src [arch=amd64] https://download.docker.com/linux/debian stretch stable
deb http://http.us.debian.org/debian/ stretch main non-free contrib


Any ideas why? Do you think I should report a bug?







share|improve this question

























    up vote
    3
    down vote

    favorite
    1












    :~/$ uname -a
    Linux hostname 4.9.0-4-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux


    I think that I have a clear dependency tree without broken packages.



    :~/$ sudo apt-get check
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done


    However when I try to install npm, apt-get wants to remove libssl-dev:



    :~$ sudo apt-get install npm
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    libldns2 libssl-doc
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
    gyp libjs-inherits libjs-node-uuid libssl1.0-dev libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules
    node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob
    node-graceful-fs node-gyp node-hosted-git-info node-inflight node-inherits node-ini node-is-builtin-module node-isexe 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-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request
    node-retry node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license
    node-which node-wrappy node-yallist nodejs nodejs-dev nodejs-doc
    Suggested packages:
    node-hawk node-aws-sign node-oauth-sign node-http-signature debhelper
    The following packages will be REMOVED:
    libldns-dev libssl-dev
    The following NEW packages will be installed:
    gyp libjs-inherits libjs-node-uuid libssl1.0-dev libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules
    node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob
    node-graceful-fs node-gyp node-hosted-git-info node-inflight node-inherits node-ini node-is-builtin-module node-isexe 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-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request
    node-retry node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license
    node-which node-wrappy node-yallist nodejs nodejs-dev nodejs-doc npm
    0 upgraded, 71 newly installed, 2 to remove and 32 not upgraded.
    Need to get 7,517 kB of archives.
    After this operation, 25.1 MB of additional disk space will be used.
    Do you want to continue? [Y/n]


    My sources.list:



    $ cat /etc/apt/sources.list

    deb http://ftp.us.debian.org/debian sid main contrib non-free
    deb-src http://ftp.us.debian.org/debian sid main contrib non-free

    # 3rd party
    # deb http://www.deb-multimedia.org unstable main non-free
    deb [arch=amd64] https://download.docker.com/linux/debian stretch stable
    # deb-src [arch=amd64] https://download.docker.com/linux/debian stretch stable
    deb http://http.us.debian.org/debian/ stretch main non-free contrib


    Any ideas why? Do you think I should report a bug?







    share|improve this question























      up vote
      3
      down vote

      favorite
      1









      up vote
      3
      down vote

      favorite
      1






      1





      :~/$ uname -a
      Linux hostname 4.9.0-4-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux


      I think that I have a clear dependency tree without broken packages.



      :~/$ sudo apt-get check
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done


      However when I try to install npm, apt-get wants to remove libssl-dev:



      :~$ sudo apt-get install npm
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
      libldns2 libssl-doc
      Use 'sudo apt autoremove' to remove them.
      The following additional packages will be installed:
      gyp libjs-inherits libjs-node-uuid libssl1.0-dev libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules
      node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob
      node-graceful-fs node-gyp node-hosted-git-info node-inflight node-inherits node-ini node-is-builtin-module node-isexe 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-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request
      node-retry node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license
      node-which node-wrappy node-yallist nodejs nodejs-dev nodejs-doc
      Suggested packages:
      node-hawk node-aws-sign node-oauth-sign node-http-signature debhelper
      The following packages will be REMOVED:
      libldns-dev libssl-dev
      The following NEW packages will be installed:
      gyp libjs-inherits libjs-node-uuid libssl1.0-dev libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules
      node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob
      node-graceful-fs node-gyp node-hosted-git-info node-inflight node-inherits node-ini node-is-builtin-module node-isexe 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-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request
      node-retry node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license
      node-which node-wrappy node-yallist nodejs nodejs-dev nodejs-doc npm
      0 upgraded, 71 newly installed, 2 to remove and 32 not upgraded.
      Need to get 7,517 kB of archives.
      After this operation, 25.1 MB of additional disk space will be used.
      Do you want to continue? [Y/n]


      My sources.list:



      $ cat /etc/apt/sources.list

      deb http://ftp.us.debian.org/debian sid main contrib non-free
      deb-src http://ftp.us.debian.org/debian sid main contrib non-free

      # 3rd party
      # deb http://www.deb-multimedia.org unstable main non-free
      deb [arch=amd64] https://download.docker.com/linux/debian stretch stable
      # deb-src [arch=amd64] https://download.docker.com/linux/debian stretch stable
      deb http://http.us.debian.org/debian/ stretch main non-free contrib


      Any ideas why? Do you think I should report a bug?







      share|improve this question













      :~/$ uname -a
      Linux hostname 4.9.0-4-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux


      I think that I have a clear dependency tree without broken packages.



      :~/$ sudo apt-get check
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done


      However when I try to install npm, apt-get wants to remove libssl-dev:



      :~$ sudo apt-get install npm
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
      libldns2 libssl-doc
      Use 'sudo apt autoremove' to remove them.
      The following additional packages will be installed:
      gyp libjs-inherits libjs-node-uuid libssl1.0-dev libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules
      node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob
      node-graceful-fs node-gyp node-hosted-git-info node-inflight node-inherits node-ini node-is-builtin-module node-isexe 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-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request
      node-retry node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license
      node-which node-wrappy node-yallist nodejs nodejs-dev nodejs-doc
      Suggested packages:
      node-hawk node-aws-sign node-oauth-sign node-http-signature debhelper
      The following packages will be REMOVED:
      libldns-dev libssl-dev
      The following NEW packages will be installed:
      gyp libjs-inherits libjs-node-uuid libssl1.0-dev libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules
      node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob
      node-graceful-fs node-gyp node-hosted-git-info node-inflight node-inherits node-ini node-is-builtin-module node-isexe 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-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request
      node-retry node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license
      node-which node-wrappy node-yallist nodejs nodejs-dev nodejs-doc npm
      0 upgraded, 71 newly installed, 2 to remove and 32 not upgraded.
      Need to get 7,517 kB of archives.
      After this operation, 25.1 MB of additional disk space will be used.
      Do you want to continue? [Y/n]


      My sources.list:



      $ cat /etc/apt/sources.list

      deb http://ftp.us.debian.org/debian sid main contrib non-free
      deb-src http://ftp.us.debian.org/debian sid main contrib non-free

      # 3rd party
      # deb http://www.deb-multimedia.org unstable main non-free
      deb [arch=amd64] https://download.docker.com/linux/debian stretch stable
      # deb-src [arch=amd64] https://download.docker.com/linux/debian stretch stable
      deb http://http.us.debian.org/debian/ stretch main non-free contrib


      Any ideas why? Do you think I should report a bug?









      share|improve this question












      share|improve this question




      share|improve this question








      edited Dec 2 '17 at 21:06









      Jeff Schaller

      31.1k846105




      31.1k846105









      asked Dec 2 '17 at 19:51









      chefarov

      1777




      1777




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          9
          down vote



          accepted










          You’re not doing anything wrong: npm depends on node-gyp, which depends on nodejs-dev, which depends on libssl1.0-dev, which conflicts with libssl-dev. Thus it is currently not possible to have npm and libssl-dev installed simultaneously, in Debian unstable; this is filed as bug #850660.



          There’s not much you can do about it, apart from subscribe to the bug to be informed of any change to the situation...






          share|improve this answer





















          • Also worth reading bugs.debian.org/cgi-bin/bugreport.cgi?bug=859297 it looks like there is progress on getting nodejs moved over to openssl 1.1.
            – plugwash
            Dec 3 '17 at 2:02


















          up vote
          0
          down vote













          I "solved" this problem by installing node from nvm.
          https://github.com/creationix/nvm






          share|improve this answer





















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f408425%2ftrying-to-install-debian-package-npm-makes-apt-get-to-remove-libssl-dev%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            9
            down vote



            accepted










            You’re not doing anything wrong: npm depends on node-gyp, which depends on nodejs-dev, which depends on libssl1.0-dev, which conflicts with libssl-dev. Thus it is currently not possible to have npm and libssl-dev installed simultaneously, in Debian unstable; this is filed as bug #850660.



            There’s not much you can do about it, apart from subscribe to the bug to be informed of any change to the situation...






            share|improve this answer





















            • Also worth reading bugs.debian.org/cgi-bin/bugreport.cgi?bug=859297 it looks like there is progress on getting nodejs moved over to openssl 1.1.
              – plugwash
              Dec 3 '17 at 2:02















            up vote
            9
            down vote



            accepted










            You’re not doing anything wrong: npm depends on node-gyp, which depends on nodejs-dev, which depends on libssl1.0-dev, which conflicts with libssl-dev. Thus it is currently not possible to have npm and libssl-dev installed simultaneously, in Debian unstable; this is filed as bug #850660.



            There’s not much you can do about it, apart from subscribe to the bug to be informed of any change to the situation...






            share|improve this answer





















            • Also worth reading bugs.debian.org/cgi-bin/bugreport.cgi?bug=859297 it looks like there is progress on getting nodejs moved over to openssl 1.1.
              – plugwash
              Dec 3 '17 at 2:02













            up vote
            9
            down vote



            accepted







            up vote
            9
            down vote



            accepted






            You’re not doing anything wrong: npm depends on node-gyp, which depends on nodejs-dev, which depends on libssl1.0-dev, which conflicts with libssl-dev. Thus it is currently not possible to have npm and libssl-dev installed simultaneously, in Debian unstable; this is filed as bug #850660.



            There’s not much you can do about it, apart from subscribe to the bug to be informed of any change to the situation...






            share|improve this answer













            You’re not doing anything wrong: npm depends on node-gyp, which depends on nodejs-dev, which depends on libssl1.0-dev, which conflicts with libssl-dev. Thus it is currently not possible to have npm and libssl-dev installed simultaneously, in Debian unstable; this is filed as bug #850660.



            There’s not much you can do about it, apart from subscribe to the bug to be informed of any change to the situation...







            share|improve this answer













            share|improve this answer



            share|improve this answer











            answered Dec 2 '17 at 20:01









            Stephen Kitt

            140k22302363




            140k22302363











            • Also worth reading bugs.debian.org/cgi-bin/bugreport.cgi?bug=859297 it looks like there is progress on getting nodejs moved over to openssl 1.1.
              – plugwash
              Dec 3 '17 at 2:02

















            • Also worth reading bugs.debian.org/cgi-bin/bugreport.cgi?bug=859297 it looks like there is progress on getting nodejs moved over to openssl 1.1.
              – plugwash
              Dec 3 '17 at 2:02
















            Also worth reading bugs.debian.org/cgi-bin/bugreport.cgi?bug=859297 it looks like there is progress on getting nodejs moved over to openssl 1.1.
            – plugwash
            Dec 3 '17 at 2:02





            Also worth reading bugs.debian.org/cgi-bin/bugreport.cgi?bug=859297 it looks like there is progress on getting nodejs moved over to openssl 1.1.
            – plugwash
            Dec 3 '17 at 2:02













            up vote
            0
            down vote













            I "solved" this problem by installing node from nvm.
            https://github.com/creationix/nvm






            share|improve this answer

























              up vote
              0
              down vote













              I "solved" this problem by installing node from nvm.
              https://github.com/creationix/nvm






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                I "solved" this problem by installing node from nvm.
                https://github.com/creationix/nvm






                share|improve this answer













                I "solved" this problem by installing node from nvm.
                https://github.com/creationix/nvm







                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered Jun 7 at 13:34









                Oxyless

                1




                1






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f408425%2ftrying-to-install-debian-package-npm-makes-apt-get-to-remove-libssl-dev%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Christian Cage

                    How to properly install USB display driver for Fresco Logic FL2000DX on Ubuntu?