简体   繁体   English

在Ubuntu 12.04中安装ruby-rvm时出错

[英]error installing ruby-rvm in ubuntu 12.04

when i try to install ruby-rvm in ubuntu 12.04 using this command 当我尝试使用此命令在ubuntu 12.04中安装ruby-rvm时

sudo apt-get install ruby-rvm  

it downloads the packages correctly but then gives this error 它会正确下载软件包,但会出现此错误

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)

the contents of stateoverride file are as follows stateoverride文件的内容如下

root mlocate 2755 /usr/bin/mlocate
hplip root 755 /var/run/hplip
root ssl-cert 710 /etc/ssl/private
root crontab 2755 /usr/bin/crontab

您不应该以这种方式安装rvm,因为ubuntu储存库中的软件包非常旧并且包含多个错误,请查看此说明以获取正确清洁和安装rvm的方法: https ://stackoverflow.com/a/9056395/497756

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM