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:~]$
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.
Click below to sign up and get $100 of credit to try our products over 60 days!