LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-28-2012, 03:39 AM   #1
tomehb
LQ Newbie
 
Registered: Feb 2010
Posts: 11

Rep: Reputation: 0
Upgrade to Wheezy - Redmine / Ruby issues


After upgrading redmine does not install correctly out put below, any help would be brillant.

Installation Attempt
Code:
root@TOMS-VM:~# apt-get install redmine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ruby-json ruby-shadow
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  bundler dbconfig-common libjs-prototype libjs-scriptaculous rake ruby-actionmailer-2.3 ruby-actionpack-2.3 ruby-activerecord-2.3 ruby-rails-2.3
Suggested packages:
  ruby-rmagick ruby-openid bzr cvs darcs git mercurial subversion
Recommended packages:
  ruby-dev build-essential rubygems-integration javascript-common zip
The following NEW packages will be installed:
  bundler dbconfig-common libjs-prototype libjs-scriptaculous rake redmine ruby-actionmailer-2.3 ruby-actionpack-2.3 ruby-activerecord-2.3 ruby-rails-2.3
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6,770 kB of archives.
After this operation, 18.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously unselected package rake.
(Reading database ... 27452 files and directories currently installed.)
Unpacking rake (from .../rake_0.9.2.2-4_all.deb) ...
Selecting previously unselected package libjs-prototype.
Unpacking libjs-prototype (from .../libjs-prototype_1.7.0-2_all.deb) ...
Selecting previously unselected package libjs-scriptaculous.
Unpacking libjs-scriptaculous (from .../libjs-scriptaculous_1.9.0-2_all.deb) ...
Selecting previously unselected package ruby-activerecord-2.3.
Unpacking ruby-activerecord-2.3 (from .../ruby-activerecord-2.3_2.3.14-2_all.deb) ...
Selecting previously unselected package ruby-actionpack-2.3.
Unpacking ruby-actionpack-2.3 (from .../ruby-actionpack-2.3_2.3.14-4_all.deb) ...
Selecting previously unselected package ruby-actionmailer-2.3.
Unpacking ruby-actionmailer-2.3 (from .../ruby-actionmailer-2.3_2.3.14-3_all.deb) ...
Selecting previously unselected package ruby-rails-2.3.
Unpacking ruby-rails-2.3 (from .../ruby-rails-2.3_2.3.14-4_all.deb) ...
Selecting previously unselected package dbconfig-common.
Unpacking dbconfig-common (from .../dbconfig-common_1.8.47+nmu1_all.deb) ...
Selecting previously unselected package bundler.
Unpacking bundler (from .../bundler_1.1.4-6_all.deb) ...
Selecting previously unselected package redmine.
Unpacking redmine (from .../redmine_1.4.4+dfsg1-1_all.deb) ...
Processing triggers for man-db ...
Setting up rake (0.9.2.2-4) ...
Setting up libjs-prototype (1.7.0-2) ...
Setting up libjs-scriptaculous (1.9.0-2) ...
Setting up ruby-activerecord-2.3 (2.3.14-2) ...
Setting up ruby-actionpack-2.3 (2.3.14-4) ...
Setting up ruby-actionmailer-2.3 (2.3.14-3) ...
Setting up ruby-rails-2.3 (2.3.14-4) ...
Setting up dbconfig-common (1.8.47+nmu1) ...

Creating config file /etc/dbconfig-common/config with new version
Setting up bundler (1.1.4-6) ...
Setting up redmine (1.4.4+dfsg1-1) ...
dbconfig-common: writing config to /etc/dbconfig-common/redmine/instances/default.conf

Creating config file /etc/dbconfig-common/redmine/instances/default.conf with new version

Creating config file /etc/redmine/default/database.yml.new with new version
granting access to database redmine_default for redmine@localhost: already exists.
creating database redmine_default: success.
verifying database redmine_default exists: success.
dbconfig-common: flushing administrative password

Creating config file /etc/redmine/default/database.yml with new version
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/share/redmine/vendor/rails/railties/lib/rails/gem_dependency.rb:21.
/usr/lib/ruby/vendor_ruby/rake/version.rb:2: warning: already initialized constant VERSION
/usr/lib/ruby/vendor_ruby/rake/version.rb:5: warning: already initialized constant MAJOR
/usr/lib/ruby/vendor_ruby/rake/version.rb:5: warning: already initialized constant MINOR
/usr/lib/ruby/vendor_ruby/rake/version.rb:5: warning: already initialized constant BUILD
/usr/lib/ruby/vendor_ruby/rake/version.rb:6: warning: already initialized constant NUMBERS
/usr/lib/ruby/vendor_ruby/rake.rb:27: warning: already initialized constant RAKEVERSION
/usr/lib/ruby/vendor_ruby/rake/early_time.rb:17: warning: already initialized constant EARLY
/usr/lib/ruby/vendor_ruby/rake/alt_system.rb:32: warning: already initialized constant WINDOWS
/usr/lib/ruby/vendor_ruby/rake/application.rb:31: warning: already initialized constant DEFAULT_RAKEFILES
WARNING: Possible conflict with Rake extension: String#ext already exists
WARNING: Possible conflict with Rake extension: String#pathmap already exists
/usr/lib/ruby/vendor_ruby/rake/task_arguments.rb:77: warning: already initialized constant EMPTY_TASK_ARGS
/usr/lib/ruby/vendor_ruby/rake/invocation_chain.rb:49: warning: already initialized constant EMPTY
/usr/lib/ruby/vendor_ruby/rake/file_utils.rb:9: warning: already initialized constant RUBY
/usr/lib/ruby/vendor_ruby/rake/file_utils.rb:86: warning: already initialized constant LN_SUPPORTED
/usr/lib/ruby/vendor_ruby/rake/file_utils_ext.rb:16: warning: already initialized constant DEFAULT
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:44: warning: already initialized constant ARRAY_METHODS
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:47: warning: already initialized constant MUST_DEFINE
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:51: warning: already initialized constant MUST_NOT_DEFINE
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:55: warning: already initialized constant SPECIAL_RETURN
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:61: warning: already initialized constant DELEGATING_METHODS
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:364: warning: already initialized constant DEFAULT_IGNORE_PATTERNS
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:370: warning: already initialized constant DEFAULT_IGNORE_PROCS
/usr/lib/ruby/vendor_ruby/rake.rb:68: warning: already initialized constant FileList
/usr/lib/ruby/vendor_ruby/rake.rb:69: warning: already initialized constant RakeFileUtils
rake aborted!
stack level too deep

(See full trace by running task with --trace)
dpkg: error processing redmine (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 redmine
E: Sub-process /usr/bin/dpkg returned an error code (1)

dpkg
Code:
root@VB-VM-S-2-LDP02-GB:~# dpkg --list | grep redmine
iF  redmine                            1.4.4+dfsg1-1           all          flexible project management web application
ii  redmine-mysql                      1.4.4+dfsg1-1           all          metapackage providing MySQL dependencies for Redmine
 
Old 11-28-2012, 03:53 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
See if any of these apply - http://bugs.debian.org/cgi-bin/pkgre...;dist=unstable

Seems to be a rake problem.
Have you tried purging that package to get rid of any old configs, then reinstall the new version in a clean state?
 
1 members found this post helpful.
Old 11-29-2012, 04:20 AM   #3
tomehb
LQ Newbie
 
Registered: Feb 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by descendant_command View Post
See if any of these apply - http://bugs.debian.org/cgi-bin/pkgre...;dist=unstable

Seems to be a rake problem.
Have you tried purging that package to get rid of any old configs, then reinstall the new version in a clean state?
Fixed this late last night, it was a rake issue
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to upgrade from sqeeze to wheezy? pikerSHC Debian 6 07-19-2012 12:56 PM
[SOLVED] Debian wheezy: apt-get upgrade does not upgrade llvm to 2.8 odin_ago Linux - Software 2 11-12-2011 05:01 PM
3G modem unstable after upgrade to wheezy jothan sans cheer Linux - Networking 1 04-24-2011 12:57 PM
[SOLVED] wheezy nfs upgrade radiodee1 Debian 11 04-11-2011 03:49 AM
Any issues installing Ruby Gems and Ruby on Rails in Slackware? Lufbery Slackware 8 02-09-2011 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration