Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an error - Unfortunately, an unexpected error occurred, and Bundler cannot continue #81

Open
nike14 opened this issue Jan 21, 2017 · 2 comments

Comments

@nike14
Copy link

nike14 commented Jan 21, 2017

I followed the instructions given here on http://www.testiatarantula.com/install-on-linux/ for installing Tarantula but I am getting an error at last.

nikhil@ASLP-0224:~/Documents$ sudo ./install.sh 
Installing dependencies with apt...
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://ppa.launchpad.net trusty InRelease                                  
Ign http://dl.google.com stable InRelease                                      
Ign http://in.archive.ubuntu.com trusty InRelease                              
Ign http://extras.ubuntu.com trusty InRelease                                  
Hit http://ppa.launchpad.net trusty InRelease                                  
Hit http://extras.ubuntu.com trusty Release.gpg                                
Get:2 http://security.ubuntu.com trusty-security/main Sources [123 kB]         
Hit http://dl.google.com stable Release.gpg                                    
Hit http://extras.ubuntu.com trusty Release                                    
Get:3 http://in.archive.ubuntu.com trusty-updates InRelease [65.9 kB]          
Ign http://ppa.launchpad.net trusty InRelease                                  
Hit http://extras.ubuntu.com trusty/main Sources                               
Ign http://ppa.launchpad.net trusty InRelease                                  
Get:4 http://security.ubuntu.com trusty-security/restricted Sources [4,637 B]  
Hit http://dl.google.com stable Release                                        
Hit http://extras.ubuntu.com trusty/main amd64 Packages                        
Get:5 http://security.ubuntu.com trusty-security/universe Sources [48.0 kB]    
Hit http://extras.ubuntu.com trusty/main i386 Packages                         
Get:6 http://in.archive.ubuntu.com trusty-backports InRelease [65.9 kB]        
Hit http://ppa.launchpad.net trusty InRelease                                  
Get:7 http://security.ubuntu.com trusty-security/multiverse Sources [3,208 B]  
Hit http://dl.google.com stable/main amd64 Packages                            
Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
Get:8 http://security.ubuntu.com trusty-security/main amd64 Packages [574 kB]  
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://in.archive.ubuntu.com trusty Release.gpg                            
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Get:9 http://in.archive.ubuntu.com trusty-updates/main Sources [388 kB]        
Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Ign http://extras.ubuntu.com trusty/main Translation-en_IN                     
Ign http://extras.ubuntu.com trusty/main Translation-en                        
Get:10 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.4 kB]
Hit http://ppa.launchpad.net trusty Release.gpg                                
Get:11 http://security.ubuntu.com trusty-security/universe amd64 Packages [148 kB]
Ign http://ppa.launchpad.net trusty Release.gpg                                
Get:12 http://in.archive.ubuntu.com trusty-updates/restricted Sources [5,911 B]
Hit https://packagecloud.io jessie InRelease                                   
Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
Get:13 http://in.archive.ubuntu.com trusty-updates/universe Sources [171 kB]   
Get:14 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4,136 B]
Get:15 http://security.ubuntu.com trusty-security/main i386 Packages [533 kB]  
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit https://packagecloud.io jessie/main amd64 Packages                         
Get:16 http://in.archive.ubuntu.com trusty-updates/multiverse Sources [7,535 B]
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Hit https://packagecloud.io jessie/main i386 Packages                          
Ign http://dl.google.com stable/main Translation-en_IN                         
Get:17 http://in.archive.ubuntu.com trusty-updates/main amd64 Packages [938 kB]
Hit http://ppa.launchpad.net trusty Release                                    
Ign http://ppa.launchpad.net trusty Release                                    
Get:18 https://packagecloud.io jessie/main Translation-en_IN                   
Ign http://dl.google.com stable/main Translation-en                            
Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
Get:19 http://security.ubuntu.com trusty-security/restricted i386 Packages [13.1 kB]
Get:20 http://security.ubuntu.com trusty-security/universe i386 Packages [148 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Get:21 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4,284 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en             
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en       
Hit http://security.ubuntu.com trusty-security/restricted Translation-en       
Hit http://security.ubuntu.com trusty-security/universe Translation-en         
Ign https://packagecloud.io jessie/main Translation-en_IN                      
Ign https://packagecloud.io jessie/main Translation-en                         
Get:22 http://in.archive.ubuntu.com trusty-updates/restricted amd64 Packages [16.4 kB]
Get:23 http://in.archive.ubuntu.com trusty-updates/universe amd64 Packages [393 kB]
Err http://ppa.launchpad.net trusty/main amd64 Packages                        
  404  Not Found
Err http://ppa.launchpad.net trusty/main i386 Packages                         
  404  Not Found
Ign http://ppa.launchpad.net trusty/main Translation-en_IN                     
Ign http://ppa.launchpad.net trusty/main Translation-en                        
Get:24 http://in.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.0 kB]
Get:25 http://in.archive.ubuntu.com trusty-updates/main i386 Packages [897 kB] 
Get:26 http://in.archive.ubuntu.com trusty-updates/restricted i386 Packages [16.2 kB]
Get:27 http://in.archive.ubuntu.com trusty-updates/universe i386 Packages [394 kB]
Get:28 http://in.archive.ubuntu.com trusty-updates/multiverse i386 Packages [14.4 kB]
Hit http://in.archive.ubuntu.com trusty-updates/main Translation-en            
Hit http://in.archive.ubuntu.com trusty-updates/multiverse Translation-en      
Hit http://in.archive.ubuntu.com trusty-updates/restricted Translation-en      
Hit http://in.archive.ubuntu.com trusty-updates/universe Translation-en        
Get:29 http://in.archive.ubuntu.com trusty-backports/main Sources [9,652 B]    
Get:30 http://in.archive.ubuntu.com trusty-backports/restricted Sources [28 B] 
Get:31 http://in.archive.ubuntu.com trusty-backports/universe Sources [35.3 kB]
Get:32 http://in.archive.ubuntu.com trusty-backports/multiverse Sources [1,898 B]
Get:33 http://in.archive.ubuntu.com trusty-backports/main amd64 Packages [13.3 kB]
Get:34 http://in.archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Get:35 http://in.archive.ubuntu.com trusty-backports/universe amd64 Packages [43.2 kB]
Get:36 http://in.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1,571 B]
Get:37 http://in.archive.ubuntu.com trusty-backports/main i386 Packages [13.3 kB]
Get:38 http://in.archive.ubuntu.com trusty-backports/restricted i386 Packages [28 B]
Get:39 http://in.archive.ubuntu.com trusty-backports/universe i386 Packages [43.2 kB]
Get:40 http://in.archive.ubuntu.com trusty-backports/multiverse i386 Packages [1,552 B]
Hit http://in.archive.ubuntu.com trusty-backports/main Translation-en          
Hit http://in.archive.ubuntu.com trusty-backports/multiverse Translation-en    
Hit http://in.archive.ubuntu.com trusty-backports/restricted Translation-en    
Hit http://in.archive.ubuntu.com trusty-backports/universe Translation-en      
Hit http://in.archive.ubuntu.com trusty Release                                
Hit http://in.archive.ubuntu.com trusty/main Sources                           
Hit http://in.archive.ubuntu.com trusty/restricted Sources                     
Hit http://in.archive.ubuntu.com trusty/universe Sources                       
Hit http://in.archive.ubuntu.com trusty/multiverse Sources                     
Hit http://in.archive.ubuntu.com trusty/main amd64 Packages                    
Hit http://in.archive.ubuntu.com trusty/restricted amd64 Packages              
Hit http://in.archive.ubuntu.com trusty/universe amd64 Packages                
Hit http://in.archive.ubuntu.com trusty/multiverse amd64 Packages              
Hit http://in.archive.ubuntu.com trusty/main i386 Packages                     
Hit http://in.archive.ubuntu.com trusty/restricted i386 Packages               
Hit http://in.archive.ubuntu.com trusty/universe i386 Packages                 
Hit http://in.archive.ubuntu.com trusty/multiverse i386 Packages               
Hit http://in.archive.ubuntu.com trusty/main Translation-en                    
Hit http://in.archive.ubuntu.com trusty/multiverse Translation-en              
Hit http://in.archive.ubuntu.com trusty/restricted Translation-en              
Hit http://in.archive.ubuntu.com trusty/universe Translation-en                
Ign http://in.archive.ubuntu.com trusty/main Translation-en_IN                 
Ign http://in.archive.ubuntu.com trusty/multiverse Translation-en_IN           
Ign http://in.archive.ubuntu.com trusty/restricted Translation-en_IN           
Ign http://in.archive.ubuntu.com trusty/universe Translation-en_IN             
Fetched 5,235 kB in 35s (146 kB/s)                                             
W: Failed to fetch http://ppa.launchpad.net/pitti/postgresql/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/pitti/postgresql/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'ruby' instead of 'irb'
Note, selecting 'ruby' instead of 'rdoc'
Note, selecting 'apache2-dev' instead of 'apache2-threaded-dev'
Package libopenssl-ruby is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libopenssl-ruby' has no installation candidate
./install.sh: line 120: a2enmod: command not found
Installing Passenger...
D	log/.gitignore
D	log/.gitkeep
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
D	log/.gitignore
D	log/.gitkeep
Already on 'master'
Your branch is up-to-date with 'origin/master'.

Which user will be running Tarantula processes? [www-data]

Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all
non-root users on this machine.
Fetching gem metadata from http://rubygems.org/.......
Fetching version metadata from http://rubygems.org/..
Fetching dependency metadata from http://rubygems.org/.
Rubygems 1.8.23 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
Your lockfile was created by an old Bundler that left some things out.
You can fix this by adding the missing gems to your Gemfile, running bundle install, and then removing the gems from your Gemfile.
The missing gems are:
* echoe depended upon by prawn-format
Using rake 10.3.2
Using i18n 0.6.9
Using multi_json 1.10.1
Using builder 3.0.4
Using erubis 2.7.0
Using journey 1.0.4
Using rack 1.4.5
Using hike 1.2.3
Using tilt 1.4.1
Using mime-types 1.25.1
Using polyglot 0.3.5
Using arel 3.0.3
Using tzinfo 0.3.39
Using coffee-script-source 1.7.0
Using execjs 2.2.0
Using json 1.8.1
Using thor 0.19.1
Using docile 1.1.5
Using simplecov-html 0.8.0
Using tins 1.3.0
Using daemon_controller 1.2.0
Using daemons 1.1.9
Using diff-lcs 1.2.5
Using flexmock 0.9.0
Using libv8 3.16.14.3 (x86_64-linux)
Using libxml-ruby 2.7.0
Using machinist 2.0
Using memcache-client 1.8.5
Using mysql2 0.3.16
Using prawn-core 0.5.0.1
Using prawn-layout 0.2.0.1
Using bundler 1.14.0
Using rb-readline 0.5.1
Using ref 1.0.5
Using rspec-core 2.99.1
Using rspec-mocks 2.99.1
Using ruby-ole 1.2.11.7
Using rubyzip 1.0.0
Using sass 3.3.8
Using hoe 3.12.0
Using faker 1.3.0
Using activesupport 3.2.18
Using rack-cache 1.2
Using rack-test 0.6.2
Using rack-ssl 1.3.4
Using sprockets 2.2.2
Using rest-client 1.6.7
Using treetop 1.4.15
Using coffee-script 2.2.0
Using rdoc 3.12.2
Using uglifier 2.5.1
Using simplecov 0.8.2
Using term-ansicolor 1.3.0
Using passenger 4.0.45
Using rspec-expectations 2.99.1
Using therubyracer 0.12.1
Using spreadsheet 0.6.9
Using zip-zip 0.3
Using test-unit 1.2.3
Using activemodel 3.2.18
Using delayed_job 4.0.1
Using mail 2.5.4
Using coveralls 0.7.0
Using rspec-collection_matchers 1.0.0
Using actionpack 3.2.18
Using activerecord 3.2.18
Using activeresource 3.2.18
Using actionmailer 3.2.18
Using railties 3.2.18
Using delayed_job_active_record 4.0.1
Using coffee-rails 3.2.2
Using jquery-rails 3.1.1
Using rails 3.2.18
Using rspec-rails 2.99.0
Using sass-rails 3.2.6
--- ERROR REPORT TEMPLATE -------------------------------------------------------
# Error Report

## Questions

Please fill out answers to these questions, it'll help us figure out
why things are going wrong.

- **What did you do?**

  I ran the command `/usr/local/bin/bundle install --deployment`

- **What did you expect to happen?**

  I expected Bundler to...

- **What happened instead?**

  Instead, what happened was...

- **Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?**

  I tried...

- **Have you read our issues document, https://github.com/bundler/bundler/blob/master/ISSUES.md?**

  ...

## Backtrace

fatal: deadlock detected
/usr/lib/ruby/1.9.1/thread.rb:189:in sleep' /usr/lib/ruby/1.9.1/thread.rb:189:in block in pop'
internal:prelude:10:in synchronize' /usr/lib/ruby/1.9.1/thread.rb:184:in pop'
/var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/worker.rb:43:in deq' /var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/installer/parallel_installer.rb:127:in process_specs'
/var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/installer/parallel_installer.rb:98:in call' /var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/installer/parallel_installer.rb:73:in call'
/var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/installer.rb:199:in install_in_parallel' /var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/installer.rb:166:in install'
/var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/installer.rb:80:in run' /var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/installer.rb:24:in install'
/var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/cli/install.rb:70:in run' /var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/cli.rb:181:in block in install'
/var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/settings.rb:98:in temporary' /var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/cli.rb:180:in install'
/var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' /var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in invoke_command'
/var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/vendor/thor/lib/thor.rb:359:in dispatch' /var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/cli.rb:20:in dispatch'
/var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/vendor/thor/lib/thor/base.rb:440:in start' /var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/cli.rb:11:in start'
/var/lib/gems/1.9.1/gems/bundler-1.14.0/exe/bundle:32:in block in <top (required)>' /var/lib/gems/1.9.1/gems/bundler-1.14.0/lib/bundler/friendly_errors.rb:121:in with_friendly_errors'
/var/lib/gems/1.9.1/gems/bundler-1.14.0/exe/bundle:24:in <top (required)>' /usr/local/bin/bundle:23:in load'
/usr/local/bin/bundle:23:in `

'


## Environment

Bundler 1.14.0
Rubygems 1.8.23
Ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
GEM_HOME /opt/tarantula/rails/vendor/bundle/ruby/1.9.1
GEM_PATH
Git 1.9.1
Platform x86_64-linux
OpenSSL OpenSSL 1.0.1f 6 Jan 2014


## Bundler settings

frozen
Set for your local app (/opt/tarantula/rails/.bundle/config): "1"
path
Set for your local app (/opt/tarantula/rails/.bundle/config): "vendor/bundle"
disable_shared_gems
Set for your local app (/opt/tarantula/rails/.bundle/config): true


--- TEMPLATE END ----------------------------------------------------------------

Unfortunately, an unexpected error occurred, and Bundler cannot continue.

First, try this link to see if there are any existing issue reports for this error:
https://github.com/bundler/bundler/search?q=deadlock+detected&type=Issues

If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:
https://github.com/bundler/bundler/issues/new

I am not able to figure out what's wrong. Please help.

@pkumar-coreebusiness
Copy link

Any luck?. I am having the same issue. held up for more than 2 days.

@oegegr
Copy link

oegegr commented Mar 30, 2017

I have found some hack. Just add required dependency to /opt/tarantula/rails/Gemfile:
gem 'echoe'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants