package ruby-rvm 1.6.9-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #964777 reported by pawel.wolanski
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ruby-rvm (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

problem appeared while installing from console. sudo apt-get install ruby-rvm on unstable ubuntu 12.04

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: ruby-rvm 1.6.9-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic-pae 3.2.6
Uname: Linux 3.2.0-17-generic-pae i686
ApportVersion: 1.93-0ubuntu2
Architecture: i386
Date: Sun Mar 25 22:41:41 2012
DuplicateSignature:
 Setting up ruby-rvm (1.6.9-0ubuntu2) ...
 dpkg-statoverride: error: syntax error: unknown group 'admin' in statoverride file
 dpkg: error processing ruby-rvm (--configure):
  subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
PackageArchitecture: all
SourcePackage: ruby-rvm
Title: package ruby-rvm 1.6.9-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
pawel.wolanski (mikolayek) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ruby-rvm (Ubuntu):
status: New → Confirmed
Revision history for this message
Marco K (mrcktz) wrote :

"sudo gedit /var/lib/dpkg/info/ruby-rvm.postinst" and replaced all references to the "admin" group with my ubuntu username... don't know if that is the right way to solve it, but it solved it for me. dpkg was stuck trying to configure ruby-rvm, after the change the configuration process was producing no errors.

Revision history for this message
Marco K (mrcktz) wrote :

https://bugs.launchpad.net/ubuntu/+source/ruby-rvm/+bug/894311 this solved it.
Don't change it to your username, change admin to sudo or use the patch from the linked bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.