Graylog2 / fpm-recipes

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

Debian/Ubuntu SHA1Removal causing error when updating package list from graylog repo #71

Closed kaospctqc closed 7 years ago

kaospctqc commented 7 years ago

Hello,

I have a problem using the "deb https://packages.graylog2.org/repo/debian/ stable 2.1" repo. I'm using Debian Stretch and I get an "E: The repository 'https://packages.graylog2.org/repo/debian stable Release' provides only weak security information." error when trying to update the package list. As far as I can see it's cause by the SHA1Removal done over at Debian (https://wiki.debian.org/Teams/Apt/Sha1Removal)

I have also found a closed issue that seems related but the error message is slightly different here.

Best regards, Ștefan Ioan

bernd commented 7 years ago

I am unable to reproduce this with the latest 2.1.0-rc.1 release. Please re-open the issue if you still see errors. Thank you!

root@8138b819c329:/# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux testing (stretch)
Release:    testing
Codename:   stretch

root@8138b819c329:/# wget https://packages.graylog2.org/repo/packages/graylog-2.1-repository_latest.deb
--2016-08-25 13:13:23--  https://packages.graylog2.org/repo/packages/graylog-2.1-repository_latest.deb
Resolving packages.graylog2.org (packages.graylog2.org)... 54.247.165.227, 54.228.209.56, 176.34.103.201
Connecting to packages.graylog2.org (packages.graylog2.org)|54.247.165.227|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://graylog2-package-repository.s3.amazonaws.com/packages/graylog-2.1-repository_latest.deb?AWSAccessKeyId=AKIAIJSI6MCSPXFVDPIA&Expires=1472131404&Signature=UR%2FKXw4A7LFam92sbN6Vo8llToA%3D [following]
--2016-08-25 13:13:24--  https://graylog2-package-repository.s3.amazonaws.com/packages/graylog-2.1-repository_latest.deb?AWSAccessKeyId=AKIAIJSI6MCSPXFVDPIA&Expires=1472131404&Signature=UR%2FKXw4A7LFam92sbN6Vo8llToA%3D
Resolving graylog2-package-repository.s3.amazonaws.com (graylog2-package-repository.s3.amazonaws.com)... 54.231.131.130
Connecting to graylog2-package-repository.s3.amazonaws.com (graylog2-package-repository.s3.amazonaws.com)|54.231.131.130|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1998 (2.0K) [application/x-debian-package]
Saving to: 'graylog-2.1-repository_latest.deb'

graylog-2.1-repository_latest.deb       100%[==============================================================================>]   1.95K  --.-KB/s    in 0s      

2016-08-25 13:13:24 (30.6 MB/s) - 'graylog-2.1-repository_latest.deb' saved [1998/1998]

root@8138b819c329:/# dpkg -i graylog-2.1-repository_latest.deb 
Selecting previously unselected package graylog-2.1-repository.
(Reading database ... 8320 files and directories currently installed.)
Preparing to unpack graylog-2.1-repository_latest.deb ...
Unpacking graylog-2.1-repository (1-3) ...
Setting up graylog-2.1-repository (1-3) ...

root@8138b819c329:/# apt-get update
Hit:1 http://security.debian.org stretch/updates InRelease
Hit:2 http://ftp.stw-bonn.de/debian stretch InRelease
Get:3 http://mirror.unitedcolo.de/debian stretch-updates InRelease [124 kB]        
Ign:4 https://packages.graylog2.org/repo/debian stable InRelease                   
Get:5 https://packages.graylog2.org/repo/debian stable Release [7655 B]
Get:6 https://packages.graylog2.org/repo/debian stable Release.gpg [473 B]
Get:7 https://packages.graylog2.org/repo/debian stable/2.1 amd64 Packages [2328 B]
Fetched 134 kB in 2s (54.5 kB/s)   
Reading package lists... Done

root@8138b819c329:/# apt-get install graylog-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  graylog-server
0 upgraded, 1 newly installed, 0 to remove and 29 not upgraded.
Need to get 93.0 MB of archives.
After this operation, 103 MB of additional disk space will be used.
Get:1 https://packages.graylog2.org/repo/debian stable/2.1 amd64 graylog-server all 2.1.0-7.rc.1 [93.0 MB]
Fetched 93.0 MB in 21s (4354 kB/s)                                                                                                                            
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package graylog-server.
(Reading database ... 8324 files and directories currently installed.)
Preparing to unpack .../graylog-server_2.1.0-7.rc.1_all.deb ...
Unpacking graylog-server (2.1.0-7.rc.1) ...
Setting up graylog-server (2.1.0-7.rc.1) ...
[WARNING] uuidgen not available! Please execute 'uuidgen > /etc/graylog/server/node-id' once it's installed.
################################################################################
Graylog does NOT start automatically!

Please run the following commands if you want to start Graylog automatically on system boot:

    sudo rm -f /etc/init/graylog-server.override

    sudo start graylog-server

################################################################################