Skip to content

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

Open
@jbauerrfid

Description

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.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions