Report this

What is the reason for this report?

package install issue for "do-agent"

Posted on January 17, 2017
Mike

By Mike

received error while installing ‘do-agent’ package via wget-bash script:

The following NEW packages will be installed:
  do-agent
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,538 kB of archives.
After this operation, 7,827 kB of additional disk space will be used.
Get:1 https://repos.sonar.digitalocean.com/apt/ main/main do-agent amd64 0.4.6 [2,538 kB]
Fetched 2,538 kB in 0s (10.3 MB/s)
Selecting previously unselected package do-agent.
(Reading database ... 94352 files and directories currently installed.)
Preparing to unpack .../do-agent_0.4.6_amd64.deb ...
Unpacking do-agent (0.4.6) ...
Setting up do-agent (0.4.6) ...
do-agent: unrecognized service
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)
[mike@hostnumber1:~]$ 


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@dpashk You can check if sysvinit is installed with dpkg -l sysvinit

This comment has been deleted

@luxio how do I check? I used the standard Debian image provided by DigitalOcean.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.