Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Trolley: A simple package tool for unRAID

Featured Replies

  • Author

0.1.6 is out with updater fix. Sorry about that. The updater now hooks into the initial installer, so using either is functionally identical.

  • Replies 130
  • Views 32.4k
  • Created
  • Last Reply

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

  • Author

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?

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!

  • Author

Hmm that should definitely work.

 

Try it without the quiet flag. Maybe there's an error in there.

 

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

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:~# 

 

 

  • Author

I'm sorry, I made a typo  :-[

 

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

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!

  • Author

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.

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.

  • Author

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?

ok, rebooted and everything works  ;)

thank you

 

root@Server:~# trolley      
usage: trolley [-h] [-V] {install,info,remove,list,search,update} ...
trolley: error: too few arguments

  • Author

ok, rebooted and everything works  ;)

thank you

 

root@Server:~# trolley      
usage: trolley [-h] [-V] {install,info,remove,list,search,update} ...
trolley: error: too few arguments

 

Hooray! Sorry that was such a hassle. Hopefully these issues will shake out over time.

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

  • Author

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.

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.

Little problem.

Every time I reboot the system trolley downloads curl

 

screenshot.tiff

 

rebooted 3 times and 3 new curl packets  :D

  • 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

  • Author

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.

  • Author

0.2.0 released

 

* Ruby rewrite for easier maintainability

* 32 & 64 compatible

* Tested with rspec

* New API with support for Slackware versions 13.1-14.1 and Slackware64-14.1

* Supports version constraints natively

* Automatically installs packages matching your architecture

 

Get it: https://github.com/nicinabox/trolley/releases/tag/0.2.0

 

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?

  • Author

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)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.