Saturday 9 April 2011

Installing Nodejs on Readynas duo

 working from https://github.com/joyent/node/wiki/Installation

Failed for lack of a C complier. So tried this which failed at

apt-get install libc6-dev
Tried this

Then try apt-get upgrade again, apt-get -f install back and forth until only the package that has the error is left.


A lot of scary messages later.. no progress
Setting up apache-common (1.3.33-6sarge3) ...
addgroup: The group `www-data' already exists.
dpkg: error processing apache-common (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 apache-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Realise this is all a bit dangerous
 Please remember, do not replace the libc6 package! I haven't try that, but I guess it will brick the system if tried.
apt-get install libssl-dev
...
Unpacking libssl-dev (from .../libssl-dev_0.9.8g-10_sparc.deb) ...
Setting up apache-common (1.3.33-6sarge3) ...
addgroup: The group `www-data' already exists.
dpkg: error processing apache-common (--configure):
 subprocess post-installation script returned error exit status 1
Setting up linux-kernel-headers (2.6.17.8ReadyNAS.netgear1) ...
Setting up libc6-dev (2.3.2.ds1-22sarge6.infrant1) ...
Setting up zlib1g-dev (1:1.2.2-4.sarge.2) ...
Setting up libssl-dev (0.9.8g-10) ...
Errors were encountered while processing:
 apache-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Looking for advice on the readynas forums

No comments:

Post a Comment