You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found pretty much same issue about this #35, but opening new one as it's closed and can't be re-opened easily.
Describe the problem
Can't install do-agent on Debian 9.7 with sysvinit ini system.
Steps to reproduce
Have Debian 9.7 with sysvinit and try to install do-agent. Throws this error:
boa:~# sudo ./install.sh
Cleaning up old sources...OK
Verifying machine compatability...OK
Verifying compatability with script...OK
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'do-agent' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing apt repository...
Installing gpg key...OK
Selecting previously unselected package do-agent.
(Reading database ... 70509 files and directories currently installed.)
Preparing to unpack .../do-agent_3.5.5_amd64.deb ...
Unpacking do-agent (3.5.5) ...
Setting up do-agent (3.5.5) ...
Detecting SELinux
SELinux not enforced
Unknown init system. Exiting...
dpkg: error processing package do-agent (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
do-agent
E: Sub-process /usr/bin/dpkg returned an error code (1)
Expected behavior
do-agent should support all init systems - systemd, sysvinit, upstart. Seems that it's only supporting systemd and upstart. It is seen when viewing this code part -
boa:~# /opt/digitalocean/bin/do-agent --version
do-agent (DigitalOcean Agent)
Version: 3.5.5
Revision: 8fe5d9e
Build Date: Thu Aug 1 17:36:22 UTC 2019
Go Version: go1.12.1
Website: https://github.com/digitalocean/do-agent
Copyright (c) 2019 DigitalOcean, Inc. All rights reserved.
This work is licensed under the terms of the Apache 2.0 license.
For a copy, see <https://www.apache.org/licenses/LICENSE-2.0.html>.
Found pretty much same issue about this #35, but opening new one as it's closed and can't be re-opened easily.
Describe the problem
Can't install do-agent on Debian 9.7 with sysvinit ini system.
Steps to reproduce
Have Debian 9.7 with sysvinit and try to install do-agent. Throws this error:
Expected behavior
do-agent should support all init systems - systemd, sysvinit, upstart. Seems that it's only supporting systemd and upstart. It is seen when viewing this code part -
do-agent/packaging/scripts/after_install.sh
Line 24 in 7977cee
System Information
Distribution and version: Debian 9.7 x64
do-agent information:
/opt/digitalocean/bin/do-agent --version:
apt-cache policy do-agent:
The text was updated successfully, but these errors were encountered: