[Bug 1809828] Re: Cannot install the npm package: dependency broken
For me (on bionic) the conflict seems to be against `libgdal-dev` and other libraries installed from ubuntugis/stable repo when I compiled GrassGIS from source. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809828 Title: Cannot install the npm package: dependency broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1809828/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809828] Re: Cannot install the npm package: dependency broken
I still have this issue with the most recent updates on Ubuntu 18.04. Also reported here: https://askubuntu.com/questions/1088662/npm-depends-node-gyp-0-10-9-but-it-is-not-going-to-be-installed this bug is related to it: https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1517491 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809828 Title: Cannot install the npm package: dependency broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1809828/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809828] Re: Cannot install the npm package: dependency broken
This happens because nodejs in bionic is linked against OpenSSL 1.0 (see #1779863) while most other packages in bionic use OpenSSL 1.1. Installing any package using OpenSSL 1.1 will conflict with nodejs (more exactly: any package depending on libssl-dev, which conflicts with libssl1.0-dev). As Esko noted, bionic has some other packages conflicting because of this OpenSSL 1.0+1.1 mix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809828 Title: Cannot install the npm package: dependency broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1809828/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809828] Re: Cannot install the npm package: dependency broken
#1799261 is basically the same issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809828 Title: Cannot install the npm package: dependency broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1809828/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809828] Re: Cannot install the npm package: dependency broken
So apt is suggesting to give up current ssl-dev for a very old ssl-dev? Not cool :-/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809828 Title: Cannot install the npm package: dependency broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1809828/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809828] Re: Cannot install the npm package: dependency broken
Here's the rabbit hole I went down: # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 18.04.2 LTS Release:18.04 Codename: bionic # apt-get install npm 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: npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed E: Unable to correct problems, you have held broken packages. # apt-get install node-gyp 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: node-gyp : Depends: nodejs-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages. # apt-get install nodejs-dev 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-dev : Depends: libssl1.0-dev (>= 1.0.2) but it is not going to be installed E: Unable to correct problems, you have held broken packages. # apt-get install libssl1.0-dev Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libcurl4-openssl-dev libssl-dev The following NEW packages will be installed: libssl1.0-dev 0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded. Need to get 1,365 kB of archives. After this operation, 1,997 kB disk space will be freed. Do you want to continue? [Y/n] So the packages blocking npm from installing are libssl-dev and libcurl4 -openssl-dev. Some node stuff is apparently depending on old openssl. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809828 Title: Cannot install the npm package: dependency broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1809828/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809828] Re: Cannot install the npm package: dependency broken
I tested this on 18.04.1 up to date to latest @ 19/1/2019 npm installs without problems here, node-gyp is marked for install aswell -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809828 Title: Cannot install the npm package: dependency broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1809828/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809828] Re: Cannot install the npm package: dependency broken
Possibly related: bug #1517491 See also: https://askubuntu.com/questions/1088662/npm-depends-node-gyp-0-10-9-but-it-is-not-going-to-be-installed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809828 Title: Cannot install the npm package: dependency broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1809828/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809828] Re: Cannot install the npm package: dependency broken
This issue also affects 18.04.1. $ lsb_release -ds; cat /proc/version; cat /proc/cmdline Ubuntu 18.04.1 LTS Linux version 4.18.0-13-generic (buildd@lcy01-amd64-024) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #14~18.04.1-Ubuntu SMP Thu Dec 6 14:09:52 UTC 2018 BOOT_IMAGE=/vmlinuz-4.18.0-13-generic root=/dev/mapper/vg-slash ro $ apt-cache policy npm node-gyp npm: Installed: (none) Candidate: 3.5.2-0ubuntu4 Version table: 3.5.2-0ubuntu4 500 500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages 500 http://de.archive.ubuntu.com/ubuntu bionic/universe i386 Packages node-gyp: Installed: (none) Candidate: 3.6.2-1ubuntu1 Version table: 3.6.2-1ubuntu1 500 500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages 500 http://de.archive.ubuntu.com/ubuntu bionic/universe i386 Packages $ sudo apt-get update -qq && sudo apt-get install npm 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: npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed E: Unable to correct problems, you have held broken packages. I do have some third party repos installed, but I don't think they are getting in the way (as the apt-cache policy outputs above seem to confirm). Please find my full "apt-cache policy" output attached. ** Attachment added: "Output of "apt-cache policy"" https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1809828/+attachment/5228523/+files/apt-cache_policy.txt ** Changed in: npm (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809828 Title: Cannot install the npm package: dependency broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1809828/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809828] Re: Cannot install the npm package: dependency broken
I was able to install it following the instructions I found here: https://askubuntu.com/questions/899756/cant-install-npm-unable-to- correct-problems-you-have-held-broken-packages That is, I run sudo apt install libssl1.0-dev sudo apt install nodejs-dev sudo apt install node-gyp sudo apt install npm in that order and it installed correctly. I am now unable to reproduce it too. Even after reverting the instructions I followed, npm installs correctly. I did sudo apt remove --purge --assume-yes npm sudo apt remove --purge --assume-yes node-gyp sudo apt remove --purge --assume-yes nodejs-dev sudo apt remove --purge --assume-yes libssl1.0-dev sudo apt-get clean sudo apt-get autoclean sudo apt-get install -f sudo apt-get --assume-yes autoremove and then `sudo apt-get install npm` successfully installed it -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809828 Title: Cannot install the npm package: dependency broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1809828/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1809828] Re: Cannot install the npm package: dependency broken
Thanks for taking your time to report this issue and help making Ubuntu better. I was unable to reproduce this issue on my Ubuntu 18.10 system, it installed without issues. Could you please try running `sudo apt update` to refresh the package list before reattempting to run `sudo apt install npm`. If it fails, please add the output from `apt policy npm node-gyp` which will list the available versions of both packages. That might tell us what's wrong. ** Changed in: npm (Ubuntu) Status: New => Incomplete ** Tags added: unmetdeps -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809828 Title: Cannot install the npm package: dependency broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/npm/+bug/1809828/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs