I know this is old, but the client dont want to upgrade, but still want to monitor; the error when trying to install :
···
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up sensu (0.26.5-2) …
groupadd: invalid option – r
Usage: groupadd [options] GROUP
Options:
-f, --force force exit with success status if the specified
group already exists
-g, --gid GID use GID for the new group
-h, --help display this help message and exit
-K, --key KEY=VALUE overrides /etc/login.defs defaults
-o, --non-unique allow create group with duplicate
(non-unique) GID
dpkg: error processing sensu (–configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
sensu
E: Sub-process /usr/bin/dpkg returned an error code (1)
This particular error looks like it is around options to groupadd - have you tried manually creating the groups first before running the install?
Cheers,
Joel
···
On Tuesday, 17 January 2017 20:33:26 UTC, Dennis Garcia wrote:
I know this is old, but the client dont want to upgrade, but still want to monitor; the error when trying to install :
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up sensu (0.26.5-2) …
groupadd: invalid option – r
Usage: groupadd [options] GROUP
Options:
-f, --force force exit with success status if the specified
group already exists
-g, --gid GID use GID for the new group
-h, --help display this help message and exit
-K, --key KEY=VALUE overrides /etc/login.defs defaults
-o, --non-unique allow create group with duplicate
(non-unique) GID
dpkg: error processing sensu (–configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
sensu
E: Sub-process /usr/bin/dpkg returned an error code (1)
Hi Joel!
Thanks for your time and post,
Yes the first problem was this then anothers came when i solved it; i know this is an EOL Ubuntu, so i’ll only do checks from outside to the services running i think,
Cheers,
···
On Wednesday, January 18, 2017 at 11:36:15 AM UTC-5, joel....@hscic.gov.uk wrote:
This particular error looks like it is around options to groupadd - have you tried manually creating the groups first before running the install?
Cheers,
Joel
On Tuesday, 17 January 2017 20:33:26 UTC, Dennis Garcia wrote:
I know this is old, but the client dont want to upgrade, but still want to monitor; the error when trying to install :
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up sensu (0.26.5-2) …
groupadd: invalid option – r
Usage: groupadd [options] GROUP
Options:
-f, --force force exit with success status if the specified
group already exists
-g, --gid GID use GID for the new group
-h, --help display this help message and exit
-K, --key KEY=VALUE overrides /etc/login.defs defaults
-o, --non-unique allow create group with duplicate
(non-unique) GID
dpkg: error processing sensu (–configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
sensu
E: Sub-process /usr/bin/dpkg returned an error code (1)