This repository has been archived by the owner. It is now read-only.

Install issue with socket.io on CentOS 5.5 #1348

Closed
gametbt opened this Issue Sep 3, 2011 · 5 comments

Comments

Projects
None yet
3 participants
@gametbt

gametbt commented Sep 3, 2011

On Ububtu I had similar issues and when I changed to root I was able to install. I tried the same on CentOS (ie
su to root), but didn't help!

$ npm install socket.io
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword LIBARCHIVE.creationtime' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.dev'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.ino' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.nlink'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.dev' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.ino'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.nlink' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordLIBARCHIVE.creationtime'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.dev' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.ino'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.nlink' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.dev'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.ino' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.nlink'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.dev' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.ino'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.nlink' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordLIBARCHIVE.creationtime'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.dev' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.ino'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.nlink' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordLIBARCHIVE.creationtime'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.dev' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.ino'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.nlink' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.dev'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.ino' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.nlink'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.dev' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.ino'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.nlink' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordLIBARCHIVE.creationtime'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.dev' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.ino'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.nlink' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.dev'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.ino' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.nlink'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.dev' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.ino'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.nlink' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.dev'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.ino' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.nlink'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.dev' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.ino'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.nlink' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.dev'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.ino' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.nlink'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.dev' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.ino'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.nlink' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.dev'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.ino' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.nlink'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword LIBARCHIVE.creationtime' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.dev'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.ino' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.nlink'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.dev' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.ino'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.nlink' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.dev'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.ino' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.nlink'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.dev' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.ino'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.nlink' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.dev'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keyword SCHILY.ino' npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Ignoring unknown extended header keywordSCHILY.nlink'
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm" tar: Error exit delayed from previous errors
npm ERR! tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm"
npm ERR! Failed unpacking /tmp/npm-1315008920566/1315008920566-0.8967039159033448/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1315008920566/1315008920566-0.8967039159033448/tmp.tgz to /tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents
npm ERR! error installing socket.io-client@0.8.2 Error: Failed tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm"
npm ERR! error installing socket.io-client@0.8.2 exited with 2
npm ERR! error installing socket.io-client@0.8.2 at ChildProcess. (/usr/local/node-v0.4.11/lib/node_modules/npm/lib/utils/exec.js:85:8)
npm ERR! error installing socket.io-client@0.8.2 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing socket.io-client@0.8.2 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! error installing socket.io@0.8.2 Error: Failed tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm"
npm ERR! error installing socket.io@0.8.2 exited with 2
npm ERR! error installing socket.io@0.8.2 at ChildProcess. (/usr/local/node-v0.4.11/lib/node_modules/npm/lib/utils/exec.js:85:8)
npm ERR! error installing socket.io@0.8.2 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing socket.io@0.8.2 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! Error: Failed tar "-mvxpf" "-" "-o" "-C" "/tmp/npm-1315008920566/1315008920566-0.8967039159033448/contents/___package.npm"
npm ERR! exited with 2
npm ERR! at ChildProcess. (/usr/local/node-v0.4.11/lib/node_modules/npm/lib/utils/exec.js:85:8)
npm ERR! at ChildProcess.emit (events.js:67:17)
npm ERR! at ChildProcess.onexit (child_process.js:192:12)
npm ERR! Report this entire log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com
npm ERR!
npm ERR! System Linux 2.6.18-238.19.1.el5
npm ERR! command "node" "/usr/local/node/bin/npm" "install" "socket.io"
npm ERR! cwd /opt/sites/nodejs
npm ERR! node -v v0.4.11
npm ERR! npm -v 1.0.27
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/sites/nodejs/npm-debug.log
npm not ok

@isaacs

This comment has been minimized.

Show comment
Hide comment
@isaacs

isaacs Sep 3, 2011

Member

update tar.

Member

isaacs commented Sep 3, 2011

update tar.

@isaacs isaacs closed this Sep 3, 2011

@gametbt

This comment has been minimized.

Show comment
Hide comment
@gametbt

gametbt Sep 3, 2011

You mean the CentOS's tar is the culprit? I have:
$ tar --version
tar (GNU tar) 1.15.1
That is the most updated version on CentOS 5.5. What version do you suggest that I change to?

gametbt commented Sep 3, 2011

You mean the CentOS's tar is the culprit? I have:
$ tar --version
tar (GNU tar) 1.15.1
That is the most updated version on CentOS 5.5. What version do you suggest that I change to?

@isaacs

This comment has been minimized.

Show comment
Hide comment
@isaacs

isaacs Sep 3, 2011

Member

1.15.1 is pretty old. I think the most recent gnutar is something like 1.25. You can maybe get it from source, if CentOS doesn't have it in a package yet.

Member

isaacs commented Sep 3, 2011

1.15.1 is pretty old. I think the most recent gnutar is something like 1.25. You can maybe get it from source, if CentOS doesn't have it in a package yet.

@gametbt

This comment has been minimized.

Show comment
Hide comment
@gametbt

gametbt Sep 6, 2011

Yes, new tar built (v1.26) took care of the problem. Thanks

gametbt commented Sep 6, 2011

Yes, new tar built (v1.26) took care of the problem. Thanks

@xjamundx

This comment has been minimized.

Show comment
Hide comment
@xjamundx

xjamundx Oct 6, 2011

Had the same issue on CentOS 5.5. This made it work:

cd /tmp
wget http://ftp.gnu.org/gnu/tar/tar-1.23.tar.bz2
bunzip tar-1.23.tar.bz2
tar xvf tar-1.23.tar
cd tar-1.23
./configure
make
make install

Then run tar --version again. It didn't seem to work, so I had to also do this:
cp -f src/tar /usr/local/bin/tar

xjamundx commented Oct 6, 2011

Had the same issue on CentOS 5.5. This made it work:

cd /tmp
wget http://ftp.gnu.org/gnu/tar/tar-1.23.tar.bz2
bunzip tar-1.23.tar.bz2
tar xvf tar-1.23.tar
cd tar-1.23
./configure
make
make install

Then run tar --version again. It didn't seem to work, so I had to also do this:
cp -f src/tar /usr/local/bin/tar

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.