Grafana 3upgrade issues

Hi,

I was not able to upgrade to grafana3.

FYI:-

Err:1 https://packagecloud.io/grafana/stable/debian jessie/main amd64 grafana amd64 4.3.1
GnuTLS recv error (-54): Error in the pull function.
E: Failed to fetch https://packagecloud.io/grafana/stable/debian/pool/jessie/main/g/grafana/grafana_4.3.1_amd64.deb GnuTLS recv error (-54): Error in the pull function.

Did you follow the instruction guide? When did you the above package cloud error? Maybe a temporary network issue? Seems to be working here.

Add the apt source line specified in installation docs, the apt-get update, the apt-get install grafana

Hi,

Facing the same issues.

apt-get install grafana
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be upgraded:
grafana
1 upgraded, 0 newly installed, 0 to remove and 91 not upgraded.
Need to get 47.2 MB of archives.
After this operation, 4,712 kB of additional disk space will be used.
Get:1 https://packagecloud.io/grafana/stable/debian jessie/main amd64 grafana amd64 4.3.1 [47.2 MB]
Err:1 https://packagecloud.io/grafana/stable/debian jessie/main amd64 grafana amd64 4.3.1
GnuTLS recv error (-54): Error in the pull function.
E: Failed to fetch https://packagecloud.io/grafana/stable/debian/pool/jessie/main/g/grafana/grafana_4.3.1_amd64.deb GnuTLS recv error (-54): Error in the pull function.

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

failed to replicate this on ubuntu 16

What OS & Version are you running?

its ubuntu 16.02 64bit

That looks like a TLS issue. Are you behind a proxy or corporate firewall?

Do you get an error if you run this command:

curl -v https://packagecloud.io/grafana/stable/debian/pool/jessie/main/g/grafana/grafana_4.3.1_amd64.deb

Here is my output

curl -v https://packagecloud.io/grafana/stable/debian/pool/jessie/main/g/grafana/grafana_4.3.1_amd64.deb

  • Trying 50.97.198.58…
  • Connected to packagecloud.io (50.97.198.58) port 443 (#0)
  • found 173 certificates in /etc/ssl/certs/ca-certificates.crt
  • found 694 certificates in /etc/ssl/certs
  • ALPN, offering http/1.1
  • SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
  • server certificate verification OK
  • server certificate status verification SKIPPED
  • common name: packagecloud.io (matched)
  • server certificate expiration date OK
  • server certificate activation date OK
  • certificate public key: RSA
  • certificate version: #3
  • subject: OU=Domain Control Validated,OU=EssentialSSL,CN=packagecloud.io
  • start date: Mon, 12 Dec 2016 00:00:00 GMT
  • expire date: Mon, 12 Mar 2018 23:59:59 GMT
  • issuer: C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO RSA Domain Validation Secure Server CA
  • compression: NULL
  • ALPN, server did not agree to a protocol

GET /grafana/stable/debian/pool/jessie/main/g/grafana/grafana_4.3.1_amd64.deb HTTP/1.1
Host: packagecloud.io
User-Agent: curl/7.47.0
Accept: /

< HTTP/1.1 302 Found
< Server: nginx
< Date: Wed, 24 May 2017 07:16:01 GMT
< Content-Type: text/html;charset=utf-8
< Content-Length: 0
< Connection: keep-alive
< Status: 302 Found
< Strict-Transport-Security: max-age=31536000
< Location: https://packagecloud-prod.global.ssl.fastly.net/888/1112/debian/package_files/286811.deb?t=1495610461_27295e91f152cc8a3ae686fddc19baa1bcebf196
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< Cache-Control: no-cache
< X-Request-Id: 8747c117-795a-496d-9cad-43de188462a1
< X-Runtime: 0.158989
< Strict-Transport-Security: max-age=31536000
< X-Frame-Options: DENY
<

You seem to be able to curl the file so maybe you can just download the debian file and upgrade that way.

Otherwise it seems to be a problem with GnuTLS and Packet not being able to agree on a TLS protocol (error 54). Have you tried updating your GnuTLS package? Or it could be a proxy issue.

apt-get install gnutls-bin

After i install the package, i can do the installation. thanks.

1 Like