LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   confused about iojs installation using slpkg (https://www.linuxquestions.org/questions/slackware-14/confused-about-iojs-installation-using-slpkg-4175552057/)

Sefid par 08-29-2015 03:54 AM

confused about iojs installation using slpkg
 
I tried to install Atom last night. the version of iojs was 3.1; Atom failed on current. I could not determine why. I updated slpkg and tried again for the newer version went on slackbuilds.
But iojs reversed to 2.5 on slackbuild.
It's OK.

slpkg downloaded the 2.5 version. But when it was decompressing it, it shows the iojs 3.1.0.
I got confused.

Sefid par 08-29-2015 04:32 AM

I cleared the cache manually by rm -r /tmp/slpkg/build/iojs*

Now it downloaded iojs 2.5 again (It downloaded last time too). But again it searchs for /tmp/slpkg/build/iojs/iojs-v3.1.0.tar.xz

The full output:
Code:

#slpkg -s sbo iojs
Reading package lists... Done
Resolving dependencies... Done

The following packages will be automatically installed or upgraded
with new version:

+==============================================================================
| Package                New version        Arch    Build  Repos          Size
+==============================================================================
Installing:
  atom                    1.0.7              x86_64        SBo
Installing for dependencies:
  iojs                    2.5.0              x86_64        SBo

Installing summary
===============================================================================
Total 2 packages.
2 packages will be installed, 0 allready installed and 0 package
will be upgraded.

Would you like to continue [y/N]? y

[1/2][ Download ] --> iojs.tar.gz

--2015-08-29 13:46:18--  http://slackbuilds.org/slackbuilds/14.1/network/iojs.tar.gz
Resolving slackbuilds.org (slackbuilds.org)... 208.94.238.115
Connecting to slackbuilds.org (slackbuilds.org)|208.94.238.115|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3289 (3.2K) [application/x-gzip]
Saving to: '/tmp/slpkg/build/iojs.tar.gz'

iojs.tar.gz                          100[========================================================================>]  3.21K  --.-KB/s  in 0.02s 

2015-08-29 13:46:19 (162 KB/s) - '/tmp/slpkg/build/iojs.tar.gz' saved [3289/3289]


[2/2][ Download ] --> iojs-v2.5.0.tar.xz

--2015-08-29 13:46:19--  https://iojs.org/dist/v2.5.0/iojs-v2.5.0.tar.xz
Resolving iojs.org (iojs.org)... 104.20.6.58, 104.20.7.58, 2400:cb00:2048:1::6814:63a, ...
Connecting to iojs.org (iojs.org)|104.20.6.58|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12520540 (12M) [application/x-xz]
Saving to: '/tmp/slpkg/build/iojs-v2.5.0.tar.xz'

iojs-v2.5.0.tar.xz                    100%[========================================================================>]  11.94M  68.8KB/s  in 3m 16s

2015-08-29 13:49:38 (62.5 KB/s) - '/tmp/slpkg/build/iojs-v2.5.0.tar.xz' saved [12520540/12520540]


+==============================================================================
| MD5SUM check for iojs-v2.5.0.tar.xz [ PASSED ]
+==============================================================================

tar: /tmp/slpkg/build/iojs/iojs-v3.1.0.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Total build time for package iojs : 0.81 Sec

[ Installing ] --> iojs-2.5.0
Cannot install /tmp/:  file not found


55020 08-29-2015 05:14 AM

Have a look at this thread: http://www.linuxquestions.org/questi...om-4175551679/

Use node instead of iojs like Ponce said, and add the sed command to the SlackBuild like I said. Put the sed command before the line that says "if [ "$DISABLE_METRICS" == "yes" ]; then".

ryanpcmcquen 08-29-2015 02:02 PM

iojs works, and is recommended (atom will run faster). Why don't you try manually installing? I think slpkg is confused and you should report this as a bug.

dslackw 08-31-2015 07:13 PM

I wonder how iojs-v3.1.0 version found in the directory /tmp/slpkg/build/iojs/ ? This folder is used by slpkg and sbo repository to build packages but the only version is iojs-v2.5.0.

I think you forgot to update package lists with '# slpkg update'


All times are GMT -5. The time now is 01:34 PM.