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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!