[Bug 963662] Re: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
*** This bug is a duplicate of bug 894311 *** https://bugs.launchpad.net/bugs/894311 ** This bug has been marked a duplicate of bug 894311 ruby-rvm's maintainer scripts expect the admin group to exist -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/963662 Title: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ruby-rvm/+bug/963662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 963662] Re: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Hi, I am a Linux noob but managed to solve this problem on a Ubuntu 12.04 64bit I found out where the rvm post inst file is located at: /var/lib/dpkg/info/ruby-rvm.postinst Opened it and replaced the admin group requirement to sudo: The file contents are attached. After changing it save it on your desktop and run the following command to copy the fixed file to the original location: sudo cp ~/Desktop/ruby-rvm.postinst /var/lib/dpkg/info/ruby-rvm.postinst ** Attachment added: This is the ruby-rvm.postinst after changing the group to sudo https://bugs.launchpad.net/ubuntu/+source/ruby-rvm/+bug/963662/+attachment/3127286/+files/ruby-rvm.postinst -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/963662 Title: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ruby-rvm/+bug/963662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 963662] Re: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
It still affects RVM on my system. This just occurred (for a few weeks, but not a big rush for me) $ sudo apt-get install ruby-rvm Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: ruby-rvm 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 709 kB of archives. After this operation, 2,257 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe ruby-rvm all 1.6.9-0ubuntu2 [709 kB] Fetched 709 kB in 28s (25.2 kB/s) Selecting previously unselected package ruby-rvm. (Reading database ... 214836 files and directories currently installed.) Unpacking ruby-rvm (from .../ruby-rvm_1.6.9-0ubuntu2_all.deb) ... Processing triggers for man-db ... 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 Errors were encountered while processing: ruby-rvm E: Sub-process /usr/bin/dpkg returned an error code (1) $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y 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 Errors were encountered while processing: ruby-rvm E: Sub-process /usr/bin/dpkg returned an error code (1) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/963662 Title: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ruby-rvm/+bug/963662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 963662] Re: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
** Also affects: ruby-rvm Importance: Undecided Status: New ** No longer affects: ruby-rvm -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/963662 Title: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ruby-rvm/+bug/963662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 963662] Re: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ruby-rvm (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/963662 Title: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ruby-rvm/+bug/963662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 963662] Re: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/963662 Title: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ruby-rvm/+bug/963662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 963662] Re: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
** Tags removed: need-duplicate-check -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/963662 Title: package ruby-rvm 1.6.9-0hostname2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ruby-rvm/+bug/963662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs