Our network requires that we use an apt-cacher server for outbound access to debian/ubuntu repositories. I successfully set up elasticsearch and was able to install that through our apt-cacher server. However I’m getting a 404 from the graylog2 repo server. Here’s the output from an apt-get update:
Has anyone else run into this? Thanks for any help you can give!
jochen, thanks for the response! You’ll have to enlighten me on how to change that. I manually downloaded/installed the graylog-2.2-repository_latest.deb and then ran apt-get update, at which point I got the 404. The line I have in /etc/apt/sources.list.d/graylog.list is:
Oh, I’m sorry. Forget my last post, your URI is correct, mine was wrong. It points to the HTML page (text/html) listing the contents of the package repository instead of providing the binary contents of the listed files.
This being said, your original URI works for me:
curl -Ls http://packages.graylog2.org/repo/debian/dists/stable/2.2/binary-amd64/Packages | tail -n20
Version: 2.2.3-1
License: GPLv3
Vendor: graylog
Architecture: all
Maintainer: Graylog, Inc. <hello@graylog.org>
Installed-Size: 105137
Depends: uuid-runtime
Conflicts: graylog2-web, graylog-web
Replaces: graylog2-server
Section: net
Priority: extra
Homepage: https://www.graylog.org/
Description: Graylog server
Filename: pool/stable/2.2/g/graylog-server/graylog-server_2.2.3-1_all.deb
MD5sum: c8b795c67e4eeeb1ca39d89ccd93a07f
SHA1: 4c828157eefa2e68bcea4133cc80630bb826dd3b
SHA256: abf0928e6fbb817365e3035f47598dce95ccc73d3b48a97ff6aebc801f81d747
SHA512: 5446a1e065fab93761612dd508a9a5fd05557948ed0c9b211c47dede83fb70282a68736ab048ac0c0ed516c4ca587cad23b47984b30dc3367a58377c41b8d96e
Size: 97541418
Maybe there’s a proxy delivering the wrong response in your network?
After further inspection, it appears that packages.graylog2.org has a 302 on it to graylog2-package-repository.s3.amazonaws.com. I had to add this URL to our firewall to allow the traffic from our apt-cacher server. Hopefully me bumping my head on this will help someone else.