influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

Unable to locate package telegraf on Ubuntu Server 17.04

Open LycanStack opened this issue 9 years ago • 3 comments

Following the directions on the website to install Telegraf from the repository fails with the message:

E: Unable to locate package telegraf


System info: [Include InfluxDB version, operating system name, and other relevant details] Fresh install of Ubuntu Server 17.04. Running InfluxDB version 1.1.1 installed from the repository.

lycan@diamond:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 17.04
Release:        17.04
Codename:       zesty
lycan@diamond:~$ influx
Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring.
Connected to http://localhost:8086 version 1.1.1
InfluxDB shell version: 1.1.1
>

Steps to reproduce:

  1. Follow the directions on the Installation page to add the InfluxData repository.
  2. Follow the directions on the Installation page to install Telegraf.

Expected behavior: Telegraf installs.

Actual behavior: The system reports the telegraf package cannot be found.

Additional info:

Installing from the .deb file on the download page works fine.

Log of the full procedure:

lycan@diamond:~$ curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
OK
lycan@diamond:~$ source /etc/lsb-release
lycan@diamond:~$ echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
deb https://repos.influxdata.com/ubuntu zesty stable
lycan@diamond:~$ sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu zesty InRelease
Hit:2 http://security.ubuntu.com/ubuntu zesty-security InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu zesty-updates InRelease
Ign:4 https://repos.influxdata.com/ubuntu zesty InRelease
Ign:5 https://repos.influxdata.com/ubuntu zesty Release
Hit:6 http://us.archive.ubuntu.com/ubuntu zesty-backports InRelease
Ign:7 https://repos.influxdata.com/ubuntu zesty/stable amd64 Packages
Ign:8 https://repos.influxdata.com/ubuntu zesty/stable i386 Packages
Ign:9 https://repos.influxdata.com/ubuntu zesty/stable all Packages
Ign:10 https://repos.influxdata.com/ubuntu zesty/stable Translation-en
Ign:11 https://repos.influxdata.com/ubuntu zesty/stable Translation-en_US
Ign:7 https://repos.influxdata.com/ubuntu zesty/stable amd64 Packages
Ign:8 https://repos.influxdata.com/ubuntu zesty/stable i386 Packages
Ign:9 https://repos.influxdata.com/ubuntu zesty/stable all Packages
Ign:10 https://repos.influxdata.com/ubuntu zesty/stable Translation-en
Ign:11 https://repos.influxdata.com/ubuntu zesty/stable Translation-en_US
Ign:7 https://repos.influxdata.com/ubuntu zesty/stable amd64 Packages
Ign:8 https://repos.influxdata.com/ubuntu zesty/stable i386 Packages
Ign:9 https://repos.influxdata.com/ubuntu zesty/stable all Packages
Ign:10 https://repos.influxdata.com/ubuntu zesty/stable Translation-en
Ign:11 https://repos.influxdata.com/ubuntu zesty/stable Translation-en_US
Ign:7 https://repos.influxdata.com/ubuntu zesty/stable amd64 Packages
Ign:8 https://repos.influxdata.com/ubuntu zesty/stable i386 Packages
Ign:9 https://repos.influxdata.com/ubuntu zesty/stable all Packages
Ign:10 https://repos.influxdata.com/ubuntu zesty/stable Translation-en
Ign:11 https://repos.influxdata.com/ubuntu zesty/stable Translation-en_US
Ign:7 https://repos.influxdata.com/ubuntu zesty/stable amd64 Packages
Ign:8 https://repos.influxdata.com/ubuntu zesty/stable i386 Packages
Ign:9 https://repos.influxdata.com/ubuntu zesty/stable all Packages
Ign:10 https://repos.influxdata.com/ubuntu zesty/stable Translation-en
Ign:11 https://repos.influxdata.com/ubuntu zesty/stable Translation-en_US
Err:7 https://repos.influxdata.com/ubuntu zesty/stable amd64 Packages
  404  Not Found
Ign:8 https://repos.influxdata.com/ubuntu zesty/stable i386 Packages
Ign:9 https://repos.influxdata.com/ubuntu zesty/stable all Packages
Ign:10 https://repos.influxdata.com/ubuntu zesty/stable Translation-en
Ign:11 https://repos.influxdata.com/ubuntu zesty/stable Translation-en_US
Reading package lists... Done
W: The repository 'https://repos.influxdata.com/ubuntu zesty Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://repos.influxdata.com/ubuntu/dists/zesty/stable/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
lycan@diamond:~$ sudo apt-get install telegraf
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package telegraf
lycan@diamond:~$

LycanStack avatar Jun 14 '17 06:06 LycanStack

Can confirm this issue as well, looks like https://repos.influxdata.com/debian/dists/ lacks a zesty distro

cat /etc/os-release

NAME="Ubuntu"
VERSION="17.04 (Zesty Zapus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 17.04"
VERSION_ID="17.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=zesty
UBUNTU_CODENAME=zesty

uname -a

Linux ip-10-0-101-230 4.10.0-24-generic #28-Ubuntu SMP Wed Jun 14 08:14:34 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

aphexddb avatar Jun 27 '17 04:06 aphexddb

same error

jellebens avatar Jul 03 '17 19:07 jellebens

The Telegraf and other TICK packages should now be available for zesty on the repo.

gunnaraasen avatar Jul 26 '17 17:07 gunnaraasen