package libruby1.8 1.8.7.249-2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby1.8 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ruby1.8
I cannot get rid of error messages concerning ruby..... it originally happened when the upgrade process got disconnected from the Internet in mid-process. Since then, I have tried completely removing Ruby (see exact packages below) but I get the error message at the bottom this message:
libruby1.8
ruby1.8
libreadline-ruby1.8
irb1.8
ruby
libbreakpoint-
libcmdparse2-
liblog4r-ruby1.8
libmmap-ruby1.8
libncurses-ruby1.8
libopenssl-ruby1.8
libruby
rdoc1.8
rubygems1.8
libruby1.8-extras
libshadow-ruby1.8
libglib2-ruby1.8
libatk1-ruby1.8
libcairo-ruby1.8
libpango1-ruby1.8
libgdk-
libgtk2-ruby1.8
libgtk2-ruby
libgconf2-ruby1.8
libgconf2-ruby
libglade2-ruby1.8
libglade2-ruby
libcairo-ruby
screenruler
RESULT:
E: libruby1.8: subprocess installed pre-removal script returned error exit status 2
david@linux:~$ apt-get remove ruby
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
david@linux:~$ sudo apt-get remove ruby
[sudo] password for david:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
david@linux:~$ sudo apt-get remove ruby
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ruby is not installed, so not removed
The following packages were automatically installed and are no longer required:
plasma-
plasma-
kdebase-
libplasma-
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up libruby1.8 (1.8.7.249-2) ...
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing libruby1.8 (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
libruby1.8
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: libruby1.8 1.8.7.249-2
ProcVersionSign
Uname: Linux 2.6.32-23-generic i686
Architecture: i386
Date: Fri Jul 9 07:47:16 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
SourcePackage: ruby1.8
Title: package libruby1.8 1.8.7.249-2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
You use a Geode CPU, which is not supported by maverick. Are you sure that you are installing the package in lucid, not maverick ?