Setting up ruby-rvm (1.6.9-0ubuntu2) ... error - ruby-on-rails-3

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)
This error is drivin me crazy. can anyone help me.. m fed offfffff

https://bugs.launchpad.net/ubuntu/+source/ruby-rvm/+bug/963662
Locate /var/lib/dpkg/info/ruby-rvm.postinst
Opened it and replaced the admin group requirement to sudo. Save the file and try again.

Related

How can I find out which package is missing for conan?

I am trying to install an environment using conan. I receive the message
opengl/system: Already installed!
ERROR: opengl/system: Error in package_info() method, line 60
pkg_config.fill_cpp_info(self.cpp_info, is_system=self.settings.os != "FreeBSD")
ConanException: pkg-config command ['pkg-config', '--print-provides', 'gl', '--print-errors'] failed with error: Command 'pkg-config --print-provides gl --print-errors' returned non-zero exit status 127.
/bin/sh: 1: pkg-config: not found
This says me a lot of information, except that which package is not yet installed.
How can I find out that?

Lynis wont work, 'error: Unknown option 'ssl-certificate-paths-to-ignore' found (with value: /etc/letsencrypt/archive:)

How do I correct/get rid of the following error? It prevents me from executing any lynis commands.
Output of "Sudo lynis show version" or any lynis command:
"Error: Unknown option 'ssl-certificate-paths-to-ignore' found (with value: /etc/letsencrypt/archive:)".
Background: Installed lynis, but couldn't figure out how to use it - got stuck on changing the parameters following a guide. Tried using another guide (https://adamtheautomator.com/lynis/), which included installing lynis again, and got this error
Tried purging and removing lynis, but got this error again after reinstalling, because thought the error had occured when I had first tried to install and configure lynis.
During the purge got:
"Purging configuration files for lynis (3.0.8-100) ...
dpkg: warning: while removing lynis, directory '/etc/lynis' not empty so not removed
Purging configuration files for menu (2.1.47ubuntu4) ...".

Failure to build arch package - aborting

I'm trying to build a package for ArchLinux with the following command:
extra-x86_64-build -cr archbuild
It fails with the following error:
Dropping capabilities failed: Operation not permitted
Child died too early.
==> ERROR: Aborting...
I have no idea why is it failing.
Update: Running as root or a normal user makes no difference, both return the same error.

How to fix 'unknown user 'redis' in statoverride file'

I'm installing redis, everytime I run this command sudo apt install redis-server I got an unrecoverable fatal error
I already tried many solutions to completly remove redis, redis-server, but nothing worked, this is the error
dpkg: unrecoverable fatal error, aborting:
unknown user 'redis' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
I solved it by opening the statoverride file using
sudo nano /var/lib/dpkg/statoverride
then removing the line with the user called "redis" along with any blank lines.

Apache does not install on FreeBSD 8.4

today i tried to install a Webserver on FreeBSD 8.4... I updated the ports, but apache gives me this message:
pkg_create: make_dist: tar command failed with code 256
*** Error code 1
Stop in /usr/ports/devel/p5-Locale-gettext.
*** Error code 1
Stop in /usr/ports/misc/help2man.
*** Error code 1
Stop in /usr/ports/misc/help2man.
*** Error code 1
Stop in /usr/ports/devel/autoconf.
*** Error code 1
Stop in /usr/ports/www/apache24.
*** Error code 1
Stop in /usr/ports/www/apache24.
How can I resolve?
Thank you and sorry for bad english
The error is probably in the line before the error cascade you posted.
The error is not in apache but in p5-Locale-gettext. Most likely it is missing some files.
Workaround:
cd /usr/ports/misc/help2man
make config
disable the NLS option
...and try again.
After this, i tried to install PHP 5.3, but i got this message
configure: error: xml2-config not found. Please check your libxml2 installation.
And it says to give you the config.log
Here you are:
http://notepad.cc/share/c8K36t3G3x