Trolley: A simple package tool for unRAID


Recommended Posts

  • Replies 130
  • Created
  • Last Reply

Top Posters In This Topic

nicinabox, error during install!

 

<://raw.github.com/nicinabox/trolley/master/install.sh | sh -                
/boot/extra/trolley-0.1.7-noarch-unraid.tgz: No such file or directory
Cannot install /boot/extra/trolley-0.1.7-noarch-unraid.tgz:  file not found

Link to comment

nicinabox, error during install!

 

<://raw.github.com/nicinabox/trolley/master/install.sh | sh -                
/boot/extra/trolley-0.1.7-noarch-unraid.tgz: No such file or directory
Cannot install /boot/extra/trolley-0.1.7-noarch-unraid.tgz:  file not found

 

Did you use?

wget -qO- --no-check-certificate https://raw.github.com/nicinabox/trolley/master/install.sh | sh -

 

It works correctly on my end. Maybe github had a hiccup?

Link to comment

this is what I get  :(

 

root@Server:~# wget -qO- --no-check-certificate https://raw.github.com/nicinabox/trolley/master/install.sh | sh -
/boot/extra/trolley-0.1.7-noarch-unraid.tgz: No such file or directory
Cannot install /boot/extra/trolley-0.1.7-noarch-unraid.tgz:  file not found
root@Server:~# 

 

I'll try tomorrow!

Link to comment

I don't think this is good... or is it?

 

root@Server:~# wget O- --no-check-certificate https://raw.github.com/nicinabox/trolley/master/install.sh | sh -
--2013-11-05 22:33:42--  http://o-/
Resolving o- (o-)... failed: Name or service not known.
wget: unable to resolve host address `o-'
--2013-11-05 22:33:43--  https://raw.github.com/nicinabox/trolley/master/install.sh
Resolving raw.github.com (raw.github.com)... 185.31.16.133
Connecting to raw.github.com (raw.github.com)|185.31.16.133|:443... connected.
WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 362 [text/plain]
Saving to: `install.sh'

100%[=====================================================================================>] 362         --.-K/s   in 0s      

2013-11-05 22:33:44 (5.50 MB/s) - `install.sh' saved [362/362]

FINISHED --2013-11-05 22:33:44--
Downloaded: 1 files, 362 in 0s (5.50 MB/s)
root@Server:~# 

 

 

Link to comment

Same issue

 

root@Server:~# wget -O- --no-check-certificate https://raw.github.com/nicinabox/trolley/master/install.sh | sh -
--2013-11-05 22:43:40--  https://raw.github.com/nicinabox/trolley/master/install.sh
Resolving raw.github.com (raw.github.com)... 185.31.16.133
Connecting to raw.github.com (raw.github.com)|185.31.16.133|:443... connected.
WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 362 [text/plain]
Saving to: `STDOUT'

100%[=====================================================================================>] 362         --.-K/s   in 0s      

2013-11-05 22:43:41 (7.23 MB/s) - written to stdout [362/362]

/boot/extra/trolley-0.1.7-noarch-unraid.tgz: No such file or directory
Cannot install /boot/extra/trolley-0.1.7-noarch-unraid.tgz:  file not found
root@Server:~# 

 

I think there are some problems with github. If I try to download the tgz from the site, Safari tells me "Decompression failed". So I think that the problem is this!

Link to comment

Hmm, it doesn't look like it's executing the install script. That needs to happen before installpkg can run. Do you haven an `install.sh` file in that directory? Also, what is your wget version out of curiousity?

 

I doubt this is an issue with Github. Does OSX's native archive manager support tgz? I've always used The Unarchiver.

Link to comment

I created the folder "extra" and the it worked  :o

Other problems:

this is what I get

root@Server:~# trolley 
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
usage: trolley [-h] [-V] {install,info,remove,list,search,update} ...
trolley: error: too few arguments
root@Server:~# 

 

and this when installing

root@Server:~# wget -qO- --no-check-certificate https://raw.github.com/nicinabox/trolley/master/install.sh | sh -
Verifying package trolley-0.1.7-noarch-unraid.tgz.
Installing package trolley-0.1.7-noarch-unraid.tgz:
PACKAGE DESCRIPTION:
WARNING:  Package has not been created with 'makepkg'
Executing install script for trolley-0.1.7-noarch-unraid.tgz.
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Searching for argparse
Reading https://pypi.python.org/simple/argparse/
Download error on https://pypi.python.org/simple/argparse/: unknown url type: https -- Some packages may not be found!
Couldn't find index page for 'argparse' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: unknown url type: https -- Some packages may not be found!
No local packages or download links found for argparse
error: Could not find suitable distribution for Requirement.parse('argparse')
ln: creating symbolic link `plz': File exists
Package trolley-0.1.7-noarch-unraid.tgz installed.

 

Edit : I'm using Python 2.7.5.

Link to comment

I created the folder "extra" and the it worked  :o

 

OOOOHHH shit. Okay, that makes sense. Updated the installer to create the directory if it doesn't exist.

 

Other problems:

this is what I get

root@Server:~# trolley 
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
usage: trolley [-h] [-V] {install,info,remove,list,search,update} ...
trolley: error: too few arguments
root@Server:~# 

 

and this when installing

root@Server:~# wget -qO- --no-check-certificate https://raw.github.com/nicinabox/trolley/master/install.sh | sh -
Verifying package trolley-0.1.7-noarch-unraid.tgz.
Installing package trolley-0.1.7-noarch-unraid.tgz:
PACKAGE DESCRIPTION:
WARNING:  Package has not been created with 'makepkg'
Executing install script for trolley-0.1.7-noarch-unraid.tgz.
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Searching for argparse
Reading https://pypi.python.org/simple/argparse/
Download error on https://pypi.python.org/simple/argparse/: unknown url type: https -- Some packages may not be found!
Couldn't find index page for 'argparse' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: unknown url type: https -- Some packages may not be found!
No local packages or download links found for argparse
error: Could not find suitable distribution for Requirement.parse('argparse')
ln: creating symbolic link `plz': File exists
Package trolley-0.1.7-noarch-unraid.tgz installed.

 

I'm not familiar with this error, but it looks like it runs successfully. Could be related to missing openssl?

Link to comment

Another question:

trolley installs only packages that I previously installed using the "install" command, right?

I ask you this because when I rebooted my system after installing python 2.7, I found also version 2.6.6 in the extra folder (which is a needed by another plugin, but I didn't search for it with trolley).

I hope it's clear

Link to comment

Another question:

trolley installs only packages that I previously installed using the "install" command, right?

I ask you this because when I rebooted my system after installing python 2.7, I found also version 2.6.6 in the extra folder (which is a needed by another plugin, but I didn't search for it with trolley).

I hope it's clear

 

Not exactly. Trolley is basically a shortcut for finding the official package, downloading it to your unraid machine, moving to /boot/extra/, and running installpkg on that package. 

 

If you installed python 2.7 specifically, the .txz should be in your /boot/extra folder. Check to make sure you don't have both there.

Link to comment

last question, I promise  :)

I would like to install "iptables" with trolley but if I search in the forums I read that it is not supported by the kernel. If I try to install it will it run?

(I know, this sound like a PM  ;D)

 

EDIT: I answer myself  :D

root@Server:~# iptables -L                                                                                                                                 
FATAL: Module ip_tables not found.
iptables v1.4.10: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Link to comment
  • 3 weeks later...
  • 4 weeks later...
  • 1 month later...

Hey nicainabox, great plugin. Anyway to add in additional packages.  I have node/vnstat packages on my github that I would love to install with trolley

 

smdion, Trolley is strictly design for installing official Slackware packages. If you have a 3rd party package you'd like to distribute, check out boiler. It's designed for publishing 3rd party packages for unRAID specifically.

Link to comment

I am running unraid 6 beta 2

 

when I try and run this I get the following error

 

 

root@Tower:~# trolley info openssl

/usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler (LoadError)

        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /usr/local/boiler/trolley/lib/trolley/base.rb:2:in `<top (required)>'

        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /usr/local/boiler/trolley/lib/trolley/cli.rb:1:in `<top (required)>'

        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /usr/local/bin/trolley:12:in `<main>'

 

 

any ideas?

Link to comment

I am running unraid 6 beta 2

 

when I try and run this I get the following error

 

 

root@Tower:~# trolley info openssl

/usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler (LoadError)

        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /usr/local/boiler/trolley/lib/trolley/base.rb:2:in `<top (required)>'

        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /usr/local/boiler/trolley/lib/trolley/cli.rb:1:in `<top (required)>'

        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /usr/local/bin/trolley:12:in `<main>'

 

 

any ideas?

 

Did you repoen your terminal session after you installed? (Or run /etc/bundlerc)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.