Hello,
I'm trying to install parsoid on Ubuntu 12. I installed nodejs from source, but when I try and install parsoid via apt-get it fails saying that it depends on nodejs (>= 0.8.0) even though node --version returns v0.10.31!
Anyone have any ideas what could be wrong?
Cheers, Aran
On Thu, Aug 28, 2014 at 11:25 AM, Aran aran@organicdesign.co.nz wrote:
I'm trying to install parsoid on Ubuntu 12. I installed nodejs from source, but when I try and install parsoid via apt-get it fails saying that it depends on nodejs (>= 0.8.0) even though node --version returns v0.10.31!
Anyone have any ideas what could be wrong?
The package manager doesn't know anything about software you manually installed.
The ideal thing to do would be to just install the nodejs package: I see Ubuntu trusty has 0.10.25, and Debian has 0.10.29 in both testing and unstable. You may be able to just download the source package and rebuild it for precise.
Or you could try using the "equivs" package to fake out the package manager.
On 08/28/2014 08:46 AM, Brad Jorsch (Anomie) wrote:
On Thu, Aug 28, 2014 at 11:25 AM, Aran aran@organicdesign.co.nz wrote:
I'm trying to install parsoid on Ubuntu 12. I installed nodejs from source, but when I try and install parsoid via apt-get it fails saying that it depends on nodejs (>= 0.8.0) even though node --version returns v0.10.31!
Anyone have any ideas what could be wrong?
The package manager doesn't know anything about software you manually installed.
The ideal thing to do would be to just install the nodejs package: I see Ubuntu trusty has 0.10.25, and Debian has 0.10.29 in both testing and unstable.
+1 for using the regular package rather than a manual install from source. Normally the right nodejs package should be automatically pulled in when you install parsoid from the repository as described in [1]. What happens when you just do a 'apt-get install nodejs' ?
Gabriel
[1]: https://www.mediawiki.org/wiki/Parsoid/Setup#Ubuntu_.2F_Debian_on_amd64
Yeah I tried installing from apt-get first, but it installed 0.6.x, Ubuntu 12 is quite old now.....
On 28/08/14 13:23, Gabriel Wicke wrote:
On 08/28/2014 08:46 AM, Brad Jorsch (Anomie) wrote:
On Thu, Aug 28, 2014 at 11:25 AM, Aran aran@organicdesign.co.nz wrote:
I'm trying to install parsoid on Ubuntu 12. I installed nodejs from source, but when I try and install parsoid via apt-get it fails saying that it depends on nodejs (>= 0.8.0) even though node --version returns v0.10.31!
Anyone have any ideas what could be wrong?
The package manager doesn't know anything about software you manually installed.
The ideal thing to do would be to just install the nodejs package: I see Ubuntu trusty has 0.10.25, and Debian has 0.10.29 in both testing and unstable.
+1 for using the regular package rather than a manual install from source. Normally the right nodejs package should be automatically pulled in when you install parsoid from the repository as described in [1]. What happens when you just do a 'apt-get install nodejs' ?
Gabriel
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Thu, Aug 28, 2014 at 12:23 PM, Gabriel Wicke gwicke@wikimedia.org wrote:
What happens when you just do a 'apt-get install nodejs' ?
Presumably it installs nodejs version 0.6.12~dfsg1-1ubuntu1, since that's the version available in Ubuntu precise (which I assume is what was meant by "Ubuntu 12").
Yeah that's what it installed, so then I uninstalled and did it from source instead.
On 28/08/14 13:40, Brad Jorsch (Anomie) wrote:
On Thu, Aug 28, 2014 at 12:23 PM, Gabriel Wicke gwicke@wikimedia.org wrote:
What happens when you just do a 'apt-get install nodejs' ?
Presumably it installs nodejs version 0.6.12~dfsg1-1ubuntu1, since that's the version available in Ubuntu precise (which I assume is what was meant by "Ubuntu 12").
Thanks I was able to use the equivs package to get parsoid to run properly - I also then found the following link in some fine print on MW Parsoid/Setup page which works too: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
On 28/08/14 12:46, Brad Jorsch (Anomie) wrote:
On Thu, Aug 28, 2014 at 11:25 AM, Aran aran@organicdesign.co.nz wrote:
I'm trying to install parsoid on Ubuntu 12. I installed nodejs from source, but when I try and install parsoid via apt-get it fails saying that it depends on nodejs (>= 0.8.0) even though node --version returns v0.10.31!
Anyone have any ideas what could be wrong?
The package manager doesn't know anything about software you manually installed.
The ideal thing to do would be to just install the nodejs package: I see Ubuntu trusty has 0.10.25, and Debian has 0.10.29 in both testing and unstable. You may be able to just download the source package and rebuild it for precise.
Or you could try using the "equivs" package to fake out the package manager.
On 08/28/2014 02:29 PM, Aran wrote:
Thanks I was able to use the equivs package to get parsoid to run properly - I also then found the following link in some fine print on MW Parsoid/Setup page which works too: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
Glad to hear that you got it working. I added a note about the Ubuntu version requirements to the setup instructions, with a pointer to the manual install section.
Gabriel
wikitech-l@lists.wikimedia.org