package ruby1.9.1 1.9.3.194-1ubuntu1.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby1.9.1 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I found this thread, but this did not fix my problem: http://
redtux@hal:~$ gem -v
1.8.23
redtux@hal:~$ sudo update-alternatives --display ruby
ruby - auto mode
link currently points to /usr/bin/ruby1.9.2
/usr/bin/ruby1.9.2 - priority 400
slave erb: /usr/bin/erb1.9.2
slave erb.1.gz: /usr/share/
slave rake: /usr/bin/rake1.9.2
slave rake.1.gz: /usr/share/
slave ruby.1.gz: /usr/share/
slave testrb: /usr/bin/
slave testrb.1.gz: /usr/share/
Current 'best' version is '/usr/bin/
redtux@hal:~$ sudo dpkg -i /var/cache/
(Reading database ... 542718 files and directories currently installed.)
Preparing to replace ruby1.9.1 1.9.3.194-
Unpacking replacement ruby1.9.1 ...
Setting up ruby1.9.1 (1.9.3.
update-
dpkg: error processing ruby1.9.1 (--install):
subprocess installed post-installation script returned error exit status 2
Processing triggers for man-db ...
Processing triggers for menu ...
In file "/usr/share/
?package(
Expected: "="
Skipping file because of errors...
Errors were encountered while processing:
ruby1.9.1
Apart from this, I do not understand the versioning. As you can see, I have already installed ruby1.9.2.1. Probably changing the dependencies in debian/control would fix the issue? Why does the "ruby" package require an older package? And why is there a reference to ruby1.8 in the package description?
redtux@hal:~$ aptitude show ruby
Package: ruby
State: unpacked
Automatically installed: yes
Version: 4.9
Priority: optional
Section: interpreters
Maintainer: Ubuntu Developers <email address hidden>
Architecture: all
Uncompressed Size: 31.7 k
Depends: ruby1.9.1 (>= 1.9.3.194-1)
Suggests: ri, ruby-dev
Conflicts: irb, irb, rdoc, rdoc
Replaces: irb, irb, rdoc, rdoc
Provides: irb, rdoc
Provided by: ruby1.8
Description: Interpreter of object-oriented scripting language Ruby (default version)
Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in
perl). It is simple, straight-forward, and extensible.
This package is a dependency package, which depends on Debian's default Ruby version (currently v1.9.3).
Homepage: http://
ProblemType: Package
DistroRelease: Ubuntu 12.10
Package: ruby1.9.1 1.9.3.194-
ProcVersionSign
Uname: Linux 3.5.0-21-generic x86_64
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
Date: Wed Jan 16 11:37:46 2013
ErrorMessage: Unterprozess installiertes post-installati
InstallationDate: Installed on 2012-01-15 (366 days ago)
InstallationMedia: Linux Mint 12 "Lisa" - Release amd64 (20111120)
MarkForUpload: True
SourcePackage: ruby1.9.1
Title: package ruby1.9.1 1.9.3.194-
UpgradeStatus: No upgrade log present (probably fresh install)