nicinabox Posted November 2, 2013 Author Share Posted November 2, 2013 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. Quote Link to comment
Njon Posted November 5, 2013 Share Posted November 5, 2013 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 Quote Link to comment
nicinabox Posted November 5, 2013 Author Share Posted November 5, 2013 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? Quote Link to comment
Njon Posted November 5, 2013 Share Posted November 5, 2013 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! Quote Link to comment
nicinabox Posted November 5, 2013 Author Share Posted November 5, 2013 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 - Quote Link to comment
Njon Posted November 5, 2013 Share Posted November 5, 2013 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:~# Quote Link to comment
nicinabox Posted November 5, 2013 Author Share Posted November 5, 2013 I'm sorry, I made a typo wget -O- --no-check-certificate https://raw.github.com/nicinabox/trolley/master/install.sh | sh - Quote Link to comment
Njon Posted November 5, 2013 Share Posted November 5, 2013 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! Quote Link to comment
nicinabox Posted November 5, 2013 Author Share Posted November 5, 2013 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. Quote Link to comment
Njon Posted November 5, 2013 Share Posted November 5, 2013 I created the folder "extra" and the it worked 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. Quote Link to comment
nicinabox Posted November 5, 2013 Author Share Posted November 5, 2013 I created the folder "extra" and the it worked 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? Quote Link to comment
Njon Posted November 5, 2013 Share Posted November 5, 2013 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 Quote Link to comment
nicinabox Posted November 5, 2013 Author Share Posted November 5, 2013 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. Quote Link to comment
Njon Posted November 6, 2013 Share Posted November 6, 2013 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 Quote Link to comment
nicinabox Posted November 6, 2013 Author Share Posted November 6, 2013 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. Quote Link to comment
Njon Posted November 7, 2013 Share Posted November 7, 2013 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 ) EDIT: I answer myself 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. Quote Link to comment
Njon Posted November 9, 2013 Share Posted November 9, 2013 Little problem. Every time I reboot the system trolley downloads curl rebooted 3 times and 3 new curl packets Quote Link to comment
nicinabox Posted November 24, 2013 Author Share Posted November 24, 2013 0.1.9 released - https://github.com/nicinabox/trolley/releases/tag/0.1.9 Should fix the above issues. Quote Link to comment
nicinabox Posted December 17, 2013 Author Share Posted December 17, 2013 0.1.10 released - https://github.com/nicinabox/trolley/releases/tag/0.1.10 Trolley is now bundled with boiler (forum thread). Quote Link to comment
nicinabox Posted January 26, 2014 Author Share Posted January 26, 2014 0.2.0_pre2 is now available with Slackware 14.1 + 64bit support (both in the package itself, and the packages that you can install) https://github.com/nicinabox/trolley/releases/tag/0.2.0_pre2 Quote Link to comment
smdion Posted January 27, 2014 Share Posted January 27, 2014 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 Quote Link to comment
nicinabox Posted January 28, 2014 Author Share Posted January 28, 2014 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. Quote Link to comment
nicinabox Posted January 28, 2014 Author Share Posted January 28, 2014 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 Quote Link to comment
HarryRosen Posted January 28, 2014 Share Posted January 28, 2014 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? Quote Link to comment
nicinabox Posted January 28, 2014 Author Share Posted January 28, 2014 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) Quote Link to comment
Recommended Posts
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.