Failed installation of newrelic-infra on Ubuntu 16.04

When I try to install newrelic-infra in my Ubuntu server I get this error:

# apt-get install newrelic-infra

Setting up newrelic-infra (1.0.898) ...
Failed to start newrelic-infra.service: Unknown unit: newrelic-infra.service
See system logs and 'systemctl status newrelic-infra.service' for details.
dpkg: error processing package newrelic-infra (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

# systemctl status newrelic-infra.service
Failed to get properties: No such interface ''

What is happening? How to solve this? I am running linux server on Google CLoud

Hi there @danicuki, and welcome back to the community!

We definitely want to get you up and running on Infrastructure. Can you please share what version of Ubuntu you are using?

We are running Ubuntu 16.04

Hi @danicuki,

I’d like you to try uninstalling the Infrastructure agent and cleaning out your repo, then doing a full reinstall. This will rule out having the incorrect repo installed. Please try the following, tailored specifically for Ubuntu 16.04:


  1. Uninstall: sudo apt-get remove newrelic-infra
  2. Clear out the repo: sudo rm -r /etc/apt/sources.list.d/newrelic-infra.list


  1. I assume you already have your config file set up with your license key in it. However, if you haven’t done that yet, please enter echo "license_key: YOUR_LICENSE_KEY" | sudo tee -a /etc/newrelic-infra.yml
  2. curl | sudo apt-key add -
  3. printf "deb [arch=amd64] xenial main" | sudo tee -a /etc/apt/sources.list.d/newrelic-infra.list
  4. sudo apt-get update
  5. sudo apt-get install newrelic-infra -y

Let us know if this helps or if you’re still encountering difficulties.

1 Like

Failed to get properties: No such interface ‘’

Getting this error while trying to reinstall agent.

Hi @sahib.singh1

Did you try @Fidelicatessen procedure above?