Open LeiQiao opened 4 years ago
unzip: cannot find zipfile directory in one of phantomjs-2.1.1-linux-x86_64.tar.bz2 or phantomjs-2.1.1-linux-x86_64.tar.bz2.zip, and cannot find phantomjs-2.1.1-linux-x86_64.tar.bz2.ZIP, period. The command '/bin/sh -c mkdir -p /opt/phantomjs-2.1.1 && wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 && unzip phantomjs-2.1.1-linux-x86_64.tar.bz2 && rm -rf phantomjs-2.1.1-linux-x86_64.tar.bz2 && mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /opt/phantomjs-2.1.1/phantomjs && rm -rf phantomjs-2.1.1-linux-x86_64' returned a non-zero code: 9
貌似解压 tar.bz2 不能用 unzip
采用tar jxvf
unzip: cannot find zipfile directory in one of phantomjs-2.1.1-linux-x86_64.tar.bz2 or phantomjs-2.1.1-linux-x86_64.tar.bz2.zip, and cannot find phantomjs-2.1.1-linux-x86_64.tar.bz2.ZIP, period. The command '/bin/sh -c mkdir -p /opt/phantomjs-2.1.1 && wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 && unzip phantomjs-2.1.1-linux-x86_64.tar.bz2 && rm -rf phantomjs-2.1.1-linux-x86_64.tar.bz2 && mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /opt/phantomjs-2.1.1/phantomjs && rm -rf phantomjs-2.1.1-linux-x86_64' returned a non-zero code: 9
貌似解压 tar.bz2 不能用 unzip