Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: error updating package fluent-bit on Ubuntu 20.04 (focal) with apt #108

Open
jbauerrfid opened this issue Feb 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jbauerrfid
Copy link

Description

Package fails to update and breaks the Ubuntu upgrades

Steps to Reproduce

Have

  • fluent-bit installed on Ubuntu 20 LTS
  • package reference in file /etc/apt/sources.list.d/newrelic-infra.list
deb [arch=amd64] https://download.newrelic.com/infrastructure_agent/linux/apt focal main

Then run

$ sudo apt update && sudo apt upgrade

which failes with a download error.

Expected Behavior

Ubuntu upgrades packages including new relic normally

Relevant Logs / Console output

Err:1 https://download.newrelic.com/infrastructure_agent/linux/apt focal/main amd64 fluent-bit amd64 2.2.2
  404  Not Found [IP: 151.101.194.137 443]
E: Failed to fetch https://download.newrelic.com/infrastructure_agent/linux/apt/pool/main/f/fluent-bit/fluent-bit_2.2.2_ubuntu-focal_amd64.deb  404  Not Found [IP: 151.101.194.137 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Your Environment

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal

Additional context

It appears that apt wants to install version 2.2.2 from the package repo, but there is only 2.0.8 available.

Workaround

Rename the package reference:

$ cd /etc/apt/sources.list.d
$ sudo mv newrelic-infra.list newrelic-infra.list.bak

Then run Ubuntu updates normally. So at least the rest of the Ubuntu upgrades works now.

@jbauerrfid jbauerrfid added the bug Something isn't working label Feb 16, 2024
@alturaajimenez
Copy link

This is also happening on all of our AWS Ubuntu 20.04 servers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants