Trolley: A simple package tool for unRAID


Recommended Posts

  • Replies 130
  • Created
  • Last Reply

Top Posters In This Topic

I'm not at home but they are the ruby 'require' errors that Duppie posted

 

 

Sent from my iPad using Tapatalk HD

 

It's likely that you need to run `source /etc/bundlerc` after installing to load some env vars.

 

Duppie is having other issues with Ruby failing to install and his session dropping while that's in progress.

Link to comment

I'm not at home but they are the ruby 'require' errors that Duppie posted

 

 

Sent from my iPad using Tapatalk HD

 

It's likely that you need to run `source /etc/bundlerc` after installing to load some env vars.

 

Duppie is having other issues with Ruby failing to install and his session dropping while that's in progress.

 

Done that and rebooted the server

 

 

Sent from my iPad using Tapatalk HD

Link to comment

I'm not at home but they are the ruby 'require' errors that Duppie posted

 

 

Sent from my iPad using Tapatalk HD

 

It's likely that you need to run `source /etc/bundlerc` after installing to load some env vars.

 

Duppie is having other issues with Ruby failing to install and his session dropping while that's in progress.

 

Done that and rebooted the server

 

 

Sent from my iPad using Tapatalk HD

 

Hrrrm. Any information that you could give me to reproduce the issue would be extremely helpful.

 

Does irb work?

 

# irb
> require 'bundler'

Link to comment

0.2.1 released

 

* Support installing via 3rd party URL (eg, alien)

* Update package version matching to match Slack version by default

* Add force install flag

* Better checks and failures for mismatched arch

Just re-ran the install on 64bit and I'm still on 0.2.0

 

Am I doing this right?

 

Link to comment

0.2.1 released

 

* Support installing via 3rd party URL (eg, alien)

* Update package version matching to match Slack version by default

* Add force install flag

* Better checks and failures for mismatched arch

Just re-ran the install on 64bit and I'm still on 0.2.0

 

Am I doing this right?

 

Man, it sure would be nice if that developer would remember to update the install script!

 

(I fixed the installer, sorry about that)

Link to comment

Searched and looked for "curlftpfs" and got this error:

 

/usr/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require': libcrypto.so.1: cannot open shared object file: No such file or directory - /usr/lib/ruby/1.9.1/i486-linux/digest/sha1.so (LoadError)

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

        from /boot/custom/gems/ruby/1.9.1/gems/bundler-1.5.2/lib/bundler/definition.rb:1:in `<top (required)>'

        from /boot/custom/gems/ruby/1.9.1/gems/bundler-1.5.2/lib/bundler.rb:152:in `definition'

        from /boot/custom/gems/ruby/1.9.1/gems/bundler-1.5.2/lib/bundler.rb:115:in `setup'

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

        from /usr/local/boiler/trolley/lib/trolley/base.rb:46:in `chdir'

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

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

        from /usr/lib/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/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'

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

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

 

I actually did the same with openssl and it worked, then I removed it and tried to add it again and same error :S

 

any suggestions?

 

Link to comment

Searched and looked for "curlftpfs" and got this error:

 

/usr/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require': libcrypto.so.1: cannot open shared object file: No such file or directory - /usr/lib/ruby/1.9.1/i486-linux/digest/sha1.so (LoadError)

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

        from /boot/custom/gems/ruby/1.9.1/gems/bundler-1.5.2/lib/bundler/definition.rb:1:in `<top (required)>'

        from /boot/custom/gems/ruby/1.9.1/gems/bundler-1.5.2/lib/bundler.rb:152:in `definition'

        from /boot/custom/gems/ruby/1.9.1/gems/bundler-1.5.2/lib/bundler.rb:115:in `setup'

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

        from /usr/local/boiler/trolley/lib/trolley/base.rb:46:in `chdir'

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

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

        from /usr/lib/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/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'

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

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

 

I actually did the same with openssl and it worked, then I removed it and tried to add it again and same error :S

 

any suggestions?

 

Try reinstalling OpenSSL and Ruby. If you already have the packages in /boot/extra:

 

installpkg /boot/extra/openssl*

installpkg /boot/extra/ruby*

Link to comment

Two questions:

 

1) What's the preferred way to reinstall trolley in the "go" script? Just this?:

 

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

 

2) Oh. I figured this one out. I guess it's a comment more than a question now. When trying to install a nonexistent package, trolley issues a non-user-friendly stack trace:

 

# trolley install mosh
/usr/lib64/ruby/site_ruby/1.9.1/rubygems/dependency.rb:45:in `initialize': dependency name must be a String, was nil (ArgumentError)
        from /usr/local/boiler/trolley/lib/trolley/package.rb:29:in `new'
        from /usr/local/boiler/trolley/lib/trolley/package.rb:29:in `matched_version'
        from /usr/local/boiler/trolley/lib/trolley/package.rb:20:in `initialize'
        from /usr/local/boiler/trolley/lib/trolley/cli.rb:60:in `new'
        from /usr/local/boiler/trolley/lib/trolley/cli.rb:60:in `install'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/command.rb:27:in `run'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/invocation.rb:121:in `invoke_command'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor.rb:363:in `dispatch'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/base.rb:440:in `start'
        from /usr/local/bin/trolley:13:in `<main>'

Link to comment

0.2.3 released

 

https://github.com/nicinabox/trolley/releases/tag/0.2.3

 

* Prevent archive accumulation

* Add update command

* Add support for "latest" in install and update (eg, trolley install openssl latest)

* Improve exception handling when dealing with non-matched package

 

Stupid question how so i update trolley. got version 0.2.2

 

There are a couple ways. If you're using boiler, `boiler update trolley`. Otherwise, just rerun the installer (https://github.com/nicinabox/trolley#install).

Link to comment
  • 2 weeks later...

I like mosh. trolley couldn't find it, or its dependencies, so I found the dependencies on the web and also built the mosh package from a SlackBuild script.

 

If others would fine it useful, is there some repository where I can put the txz packages?

 

http://coppit.org/temp/mosh-1.2.4-x86_64-1_SBo.tgz

http://coppit.org/temp/protobuf-2.5.0-x86_64-1ponce.txz.gz

http://coppit.org/temp/ncurses-5.9-x86_64-2.txz.gz

 

Note that I added the .gz extension on two so that my web server wouldn't serve them up as text.

 

Also, I had to edit my sshd config in /boot/config/go for it to work:

 

echo ""                         >> /etc/ssh/sshd_config
echo "# Added for mosh support" >> /etc/ssh/sshd_config
echo "AcceptEnv LANG LC_*"      >> /etc/ssh/sshd_config
/etc/rc.d/rc.sshd restart

 

I'm trying to see if there's a better way: http://lime-technology.com/forum/index.php?topic=32120.0

Link to comment

I like mosh. trolley couldn't find it, or its dependencies, so I found the dependencies on the web and also built the mosh package from a SlackBuild script.

 

If others would fine it useful, is there some repository where I can put the txz packages?

 

http://coppit.org/temp/mosh-1.2.4-x86_64-1_SBo.tgz

http://coppit.org/temp/protobuf-2.5.0-x86_64-1ponce.txz.gz

http://coppit.org/temp/ncurses-5.9-x86_64-2.txz.gz

 

Note that I added the .gz extension on two so that my web server wouldn't serve them up as text.

 

Also, I had to edit my sshd config in /boot/config/go for it to work:

 

echo ""                         >> /etc/ssh/sshd_config
echo "# Added for mosh support" >> /etc/ssh/sshd_config
echo "AcceptEnv LANG LC_*"      >> /etc/ssh/sshd_config
/etc/rc.d/rc.sshd restart

 

I'm trying to see if there's a better way: http://lime-technology.com/forum/index.php?topic=32120.0

 

Mosh isn't an official Slackware package, so no, trolley wouldn't know of it. This would be a good candidate to package with boiler though :)

 

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.