Graylog2 / fpm-recipes

Graylog package build recipes
http://docs.graylog.org/en/latest/pages/installation/operating_system_packages.html
18 stars 18 forks source link

Issues with Heroku/packages.graylog2.org? #11

Closed zacharinas closed 9 years ago

zacharinas commented 10 years ago

Hello, been getting this error all afternoon. Sometimes as soon as I run the apt-get install it will say "0% [Working]" and hang there. Other times the download will start but take a very long time (internet connection here tests at 20Mbps).

Just wasn't sure if there might be a known issue or if I need to check something on my end.

:~$ sudo apt-get install graylog2-server Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: graylog2-server 0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded. Need to get 66.2 MB of archives. After this operation, 74.6 MB of additional disk space will be used. Get:1 https://packages.graylog2.org/repo/debian/ trusty/0.90 graylog2-server all 0.90.0-1 [66.2 MB] Fetched 66.2 MB in 10min 25s (106 kB/s) E: Failed to fetch https://packages.graylog2.org/repo/debian/pool/trusty/0.90/g/graylog2-server/graylog2-server_0.90.0-1_all.deb Hash Sum mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

zacharinas commented 10 years ago

Just a few more details. We are not behind a proxy. I have cleared /var/lib/apt/lists and lists/partial and run apt-get clean apt-get update. Be great to use the package install if possible. I'm guessing here but issue seems to be on server side (heroku).

mariussturm commented 10 years ago

Hi, thanks for the report. I can reproduce the slow download on my side. The problem is that the Heroku app is only creating a redirect to a S3 bucket. So the actual download happens directly from S3. I think we can't do much about S3 download speed rapidly. We will further investigate and in doubt talk to AWS.

mariussturm commented 10 years ago

The Hash Sum mismatch looks odd, we use the repo for our own stuff and never see that. How do you add the repo and the key to your machine?

zacharinas commented 10 years ago

Hi,

I just ran the following from the Graylog2 site http://www.graylog2.org/resources/documentation/general/packages

$ wget https://packages.graylog2.org/repo/packages/graylog2-0.90-repository-ubuntu14.04_latest.deb $ sudo dpkg -i graylog2-0.90-repository-ubuntu14.04_latest.deb $ sudo apt-get install apt-transport-https $ sudo apt-get update $ sudo apt-get install graylog2-server graylog2-web

mariussturm commented 10 years ago

Sorry cant reproduce the hashsum mismatch. Cut&Paste these commands to a fresh Ubuntu box works perfectly fine.

joschi commented 9 years ago

Problem could not be reproduced.

anujith-singh commented 8 years ago

I have the exact same issue @zacharinas could you figure out a solution for this?

anujith-singh commented 8 years ago

Worked after few attempts