apt-get update fails due to HTTP/401


#1

Ubuntu installation instructions state to have this line as APT-source:
deb https://sensu.global.ssl.fastly.net/apt sensu main

After proper apt-key setup, the update result is:

Err http://enterprise.sensuapp.com sensu-enterprise/main amd64 Packages

401 Unauthorized

Fetched 2,518 kB in 4s (508 kB/s)

W: Failed to fetch http://enterprise.sensuapp.com/apt/dists/sensu-enterprise/main/binary-amd64/Packages 401 Unauthorized

E: Some index files failed to download. They have been ignored, or old ones used instead.

Any ideas? And no, I don’t have an enterprise subscription. The idea is just to install the community edition via .deb-packages.

Regards,

Jari Turkia


#2

In this case you want:

deb http://repositories.sensuapp.org/apt sensu main

···

On Friday, September 2, 2016 at 4:06:11 PM UTC+2, Jari Turkia wrote:

And no, I don’t have an enterprise subscription. The idea is just to install the community edition via .deb-packages.


#3

Thanks. Works like a charm!

Regards,

Jari Turkia

···

On Saturday, September 3, 2016 at 4:31:58 PM UTC+3, Alexander Skiba wrote:

On Friday, September 2, 2016 at 4:06:11 PM UTC+2, Jari Turkia wrote:

And no, I don’t have an enterprise subscription. The idea is just to install the community edition via .deb-packages.

In this case you want:

deb http://repositories.sensuapp.org/apt sensu main