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

Bug #984063 reported by Kirk Bateman
46
This bug affects 8 people
Affects Status Importance Assigned to Milestone
ruby-rvm (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Seems to require the pre-existence of an admin group, should probably be adm

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: ruby-rvm 1.6.9-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu4
Architecture: amd64
Date: Tue Apr 17 16:08:42 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" - Alpha amd64 (20120126)
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
Kirk Bateman (kirk-bateman) 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
tags: added: bugpattern-needed
Revision history for this message
Patrick Atamaniuk (patrick-atamaniuk) wrote :

Pattern: ruby-rvm postinst script calls line 26
          dpkg-statoverride --update --add root admin $MODE $FILE

Group admin is not available:
Up until Ubuntu 11.10, administrator access using the sudo tool was granted via the "admin" Unix group. In Ubuntu 12.04, administrator access will be granted via the "sudo" group.

reference: https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuDesktop and https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuServer

Revision history for this message
Taiwo Oyeniyi (muyiwaoyeniyi) wrote :

How can I fix the 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.