Linux agent for Debian 11

Hey All!

Been a week since the release of Debian 11 and was wondering when the infrastructure agent would be updated to run on it? Currently seeing this error when installing?

FATAL We encountered an error during the installation: there is no newrelic infrastructure 
agent available for the distribution with codename 'bullseye'.. If this problem persists please 
visit the documentation and support page for additional help here: 
https://one.newrelic.com/-/06vjAeZLKjP

Any information would be great!

3 Likes

Hi @josh112 ,

Welcome to New Relic Explorers Hub.

As I can see currently supported Debian versions are:

  • Debian 8 (Jessie)
  • Debian 9 (Stretch)
  • Debian 10 (Buster)

As Debian has released this version quite recently (9 days ago), I believe the new version of the Infrastructure agent will support this version of Debian.

Please keep updated on Infrastructure release notes for the new version of the Infrastructure agent.

Thank you for pointing this out, I will notify our development team as well.

Let us know if you have any additional questions.

Thanks.

KR,
Marin

1 Like

Can confirm the agent works fine if already installed. The main issue is that it can’t be updated through apt as the New Relic repo isn’t available for bullseye yet.

1 Like

That’s good to know! I’m not sure if I want to manually install the agent or wait. I can’t imagine they’re going to take much longer before releasing it via apt.

1 Like

I can confirm that from what we see the agents continues to run on bullseye (debian 11) with the newrelic buster release. And the apt update via src works as well with the buster release src, but we have not had an agent upgrade yet.

I don’t think there’s any question as to whether the infra agent works on buster. The issue is with Debian 11/Bullseye, not Debian 10/Buster.

New Relic supports up to Debian 10 at the moment. We’re asking them to include support for Debian 11.

Understood, what I am saying is we upgraded from buster to bullseye (debian 11) and it is still working with the newrelic buster release.

Gotcha. We’re in the same boat. Works fine post-upgrade but we can’t update the agent via apt because the repo isn’t available for bullseye yet. Could do it manually, but I’d rather avoid that if we can.

cant we just use the buster repository for the bullseye deployment for now? i mean the source is updating, not sure if a apt upgrade would work thought.

From my testing it doesn’t work. There may be a way around it, or you could do a manual update I guess, but I’d prefer NR just add support than have to mess with apt sources.

The agent generally seems to be pretty stable so it shouldn’t be a major issue waiting a little bit for NR to release a package for bullseye. I suppose it’ll be more annoying for people deploying new agents, but I’m not expecting to deal with that in the immediate future.

# apt-get update
Get:3 https://download.newrelic.com/infrastructure_agent/linux/apt buster InRelease [10.8 kB
Fetched 227 kB in 1s (259 kB/s)
Reading package lists... Done
W: Skipping acquire of configured file 'maindeb/binary-amd64/Packages' as repository     'https://download.newrelic.com/infrastructure_agent/linux/apt buster InRelease' doesn't have the component 'maindeb' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'maindeb/i18n/Translation-en_US' as repository 'https://download.newrelic.com/infrastructure_agent/linux/apt buster InRelease' doesn't have the component 'maindeb' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'maindeb/i18n/Translation-en' as repository 'https://download.newrelic.com/infrastructure_agent/linux/apt buster InRelease' doesn't have the component 'maindeb' (component misspelt in sources.list?)
W: Skipping acquire of configured file '[arch=amd64]/binary-amd64/Packages' as repository 'https://download.newrelic.com/infrastructure_agent/linux/apt buster InRelease' doesn't have the component '[arch=amd64]' (component misspelt in sources.list?)
W: Skipping acquire of configured file '[arch=amd64]/i18n/Translation-en' as repository 'https://download.newrelic.com/infrastructure_agent/linux/apt buster InRelease' doesn't have the component '[arch=amd64]' (component misspelt in sources.list?)
W: Skipping acquire of configured file '[arch=amd64]/i18n/Translation-en_US' as repository 'https://download.newrelic.com/infrastructure_agent/linux/apt buster InRelease' doesn't have the component '[arch=amd64]' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'https://download.newrelic.com/infrastructure_agent/linux/apt/binary-amd64/Packages' as repository 'https://download.newrelic.com/infrastructure_agent/linux/apt buster InRelease' doesn't have the component 'https://download.newrelic.com/infrastructure_agent/linux/apt' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'https://download.newrelic.com/infrastructure_agent/linux/apt/i18n/Translation-en_US' as repository 'https://download.newrelic.com/infrastructure_agent/linux/apt buster InRelease' doesn't have the component 'https://download.newrelic.com/infrastructure_agent/linux/apt' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'https://download.newrelic.com/infrastructure_agent/linux/apt/i18n/Translation-en' as repository 'https://download.newrelic.com/infrastructure_agent/linux/apt buster InRelease' doesn't have the component 'https://download.newrelic.com/infrastructure_agent/linux/apt' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'buster/binary-amd64/Packages' as repository 'https://download.newrelic.com/infrastructure_agent/linux/apt buster InRelease' doesn't have the component 'buster' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'buster/i18n/Translation-en' as repository 'https://download.newrelic.com/infrastructure_agent/linux/apt buster InRelease' doesn't have the component 'buster' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'buster/i18n/Translation-en_US' as repository 'https://download.newrelic.com/infrastructure_agent/linux/apt buster InRelease' doesn't have the component 'buster' (component misspelt in sources.list?)

Updating the source to bullseye fails:

# apt-get update
Ign:4 https://download.newrelic.com/infrastructure_agent/linux/apt bullseye InRelease                                            
Err:7 https://download.newrelic.com/infrastructure_agent/linux/apt bullseye Release       
  404  Not Found [IP: 151.101.1.27 443]
Reading package lists... Done
E: The repository 'https://download.newrelic.com/infrastructure_agent/linux/apt bullseye Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

i was able to do an apt-get update and apt-get upgrade on my bullseye debian 11 via the buster release channel.

but a new deployment still does not work because its expecting the bullseye repository…

Thanks for sharing this and the tests performed so far. Debian 11 is currently being considered here: Support new OS versions · Issue #677 · newrelic/infrastructure-agent · GitHub
Usually, support is first added to the infra-agent with a fast-follow of all available on-host integrations and the log-fwd (in case you are using any of those).

The lack of Debian 11 support is preventing us from deploying the infrastructure agent.

If we have any further update on Debian 11, we will be sure to keep the community posted!

Just FYI, this continuing lack of OS support is making us consider switching to alternatives to your product. As a reminder, we’re paying for this service, and lack of OS support makes the service useless to us.

I appreciate where you are coming from @Zr40 but at this moment in time, we simply need to wait while Debian 11 is being tested.

Hopefully there will be an update soon.