Bernard Savonet
asked on
Problem to update curl 7.36 / 7.38 on Debian 8 Jessie
For some unknown reason, curl on one of my machines works no more with https, and I don't know how I can upgrade it. This has happened unnoticedly last week.
Error message
From bash command line:
Version
I don't know why the version has now be changed to this https-less version
1 - Any idea how this version is now in place?
(no suspect ssh connection logged)
2 - I have tried unsuccessfully to uninstall / reinstall curl
Note that apt-get displays that the version is 7.38/amd64 while curl autoproclams to be 7.36/X86_64
3 - Any suggestion on how I could solve that by forcing some other version
- by directly installing (how?)
- by changing depot?
Current /etc/apt/sources.list:
Error message
From bash command line:
# curl https://localhost
curl: (1) Protocol https not supported or disabled in libcurl
#
(same for any host)Version
I don't know why the version has now be changed to this https-less version
# curl -V
curl 7.36.0 (x86_64-unknown-linux-gnu) libcurl/7.36.0
Protocols: dict file ftp gopher http imap pop3 rtsp smtp telnet tftp
Features: IPv6 Largefile
#
1 - Any idea how this version is now in place?
(no suspect ssh connection logged)
2 - I have tried unsuccessfully to uninstall / reinstall curl
Note that apt-get displays that the version is 7.38/amd64 while curl autoproclams to be 7.36/X86_64
# apt-get remove curl libcurl3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
curl libcurl3
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 933 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 32395 files and directories currently installed.)
Removing curl (7.38.0-4+deb8u9) ...
Removing libcurl3:amd64 (7.38.0-4+deb8u9) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
# apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
# apt-get purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libcurl3
The following NEW packages will be installed:
curl libcurl3
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/460 kB of archives.
After this operation, 933 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package libcurl3:amd64.
(Reading database ... 32380 files and directories currently installed.)
Preparing to unpack .../libcurl3_7.38.0-4+deb8u9_amd64.deb ...
Unpacking libcurl3:amd64 (7.38.0-4+deb8u9) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.38.0-4+deb8u9_amd64.deb ...
Unpacking curl (7.38.0-4+deb8u9) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libcurl3:amd64 (7.38.0-4+deb8u9) ...
Setting up curl (7.38.0-4+deb8u9) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
# curl -V
curl 7.36.0 (x86_64-unknown-linux-gnu) libcurl/7.36.0
Protocols: dict file ftp gopher http imap pop3 rtsp smtp telnet tftp
Features: IPv6 Largefile
#
3 - Any suggestion on how I could solve that by forcing some other version
- by directly installing (how?)
- by changing depot?
Current /etc/apt/sources.list:
# cat /etc/apt/sources.list
deb http://mirrors.online.net/debian jessie main contrib non-free
deb http://mirrors.online.net/debian jessie-updates main contrib
deb http://security.debian.org jessie/updates main contrib
#deb http://security.debian.org/debian-security jessie/updates main
deb http://security.debian.org/debian-security jessie/updates main contrib non-free
deb-src http://security.debian.org/debian-security jessie/updates main contrib non-free
#
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Finally solved by deleting some files which were in /usr/local, changing some links to libcurl, desinstalling curl and libcurl, purging dpkg caches and reinstalling.
Now at expected version for Jessie and all Ok.
Your ldd suggestion (and its results) have been essential to help me guessing some directions, thx!
Now at expected version for Jessie and all Ok.
Your ldd suggestion (and its results) have been essential to help me guessing some directions, thx!
ASKER
Thx for thed comments which led me into the right direction
In your case there was a private library of libcurl in /usr/local... messing things up... Good you found it.
ASKER
Open in new window
I ran the same thing on another computer, with the same Debian 8.10Quite different pictures... so it really puzzles me....
Open in new window
Any suggestion or hint?