I had to backport from Debian Sid:

mkdir curl
wget http://http.debian.net/debian/pool/main/c/curl/curl_7.52.1-3.dsc 
http://http.debian.net/debian/pool/main/c/curl/curl_7.52.1.orig.tar.gz 
http://http.debian.net/debian/pool/main/c/curl/curl_7.52.1-3.debian.tar.xz
sudo apt-get install autoconf automake libgnutls28-dev libidn2-0-dev 
libkrb5-dev libldap2-dev libnss3-dev libpsl-dev librtmp-dev libtool quilt 
stunnel4 libnghttp2-dev libssh2-1-dev
cd curl-7.52.1
dpkg-buildpackage -b -j4
# if you want to skip tests
# DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -b -j4
sudo dpkg -i ../curl_7.52.1-3_amd64.deb ../libcurl3_7.52.1-3_amd64.deb

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to curl in Ubuntu.
https://bugs.launchpad.net/bugs/1567697

Title:
  libcurl is missing http2 support

Status in curl package in Ubuntu:
  Confirmed

Bug description:
  libcurl supports HTTP/2.0 through libnghttp2, but the package on
  Ubuntu is not compiled with it.

  Alternatively, a libcurl4-(gnutls|openssl)-nghttp2 might be a good
  idea.

  See also: https://curl.haxx.se/docs/http2.html

  curl CLI tool should not need an update, as it already has the
  commandline switches, but when you use them it comes back with
  unsupported protocol.

  drwilco@eris:~$ curl --http2 www.google.com
  curl: (1) Unsupported protocol

  
  drwilco@eris:~$ lsb_release -rd
  Description:  Ubuntu Xenial Xerus (development branch)
  Release:      16.04
  root@eris:~# apt-cache policy libcurl3
  libcurl3:
    Installed: 7.47.0-1ubuntu2
    Candidate: 7.47.0-1ubuntu2
    Version table:
   *** 7.47.0-1ubuntu2 500
          500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1567697/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to