Linuxbrew / legacy-linuxbrew

:skull: This repository is defunct, because it has been split into https://github.com/Linuxbrew/brew and https://github.com/Linuxbrew/homebrew-core
http://linuxbrew.sh
Other
2.23k stars 296 forks source link

homebrew upgrade error #1127

Closed yzhzu closed 6 years ago

yzhzu commented 6 years ago

hello, everyone, recently, when I want to upgrade homebrew package list. but the error was still existing. as following:

curl: (77) error setting certificate verify locations:
  CAfile: /home/rcmm/.linuxbrew/etc/openssl/cert.pem
  CApath: /usr/local/etc/openssl/certs
Error: Failed to download resource "****"
Download failed: https://linuxbrew.bintray.com/bottles/binutils-2.29.1.x86_64_linux.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://ftp.gnu.org/gnu/binutils/binutils-2.29.1.tar.gz"****"; 

can anyone help me deal with the error? thank you very much. yongzhang the error information

[rcmm@localhost ~]$ brew upgrade
Updating Homebrew...
==> Upgrading 101 outdated packages, with result:
binutils 2.29.1, linux-headers 4.4.80, glibc 2.23, gmp 6.1.2, mpfr 3.1.6, isl 0.18, gcc 5.4.0, libxml2 2.9.6, libpng 1.6.32, freetype 2.8.1, expat 2.2.4, fontconfig 2.12.6, linuxbrew/xorg/libpciaccess 0.13.5, pixman 0.34.0_1, pcre 8.41, util-linux 2.30.1, glib 2.54.1, cairo 1.14.10_1, sqlite 3.20.1, python3 3.6.3, openblas 0.2.20, numpy 1.13.3, jpeg 9b, libtiff 4.0.8_4, little-cms2 2.8_1, webp 0.6.0_2, homebrew/science/raxml 8.2.11_1, homebrew/science/fasttree 2.1.10, homebrew/science/gubbins 2.3.1, open-mpi 2.1.2, gd 2.2.5, homebrew/science/blast 2.6.0_2, homebrew/science/prodigal 2.6.3, parallel 20170922, homebrew/science/prokka 1.12_1, curl 7.56.0, cmake 3.9.4, python 2.7.14, homebrew/science/megahit 1.1.2, homebrew/science/spades 3.11.0, tseemann/bioinformatics-linux/abricate 0.7, capnp 0.6.1, homebrew/science/mash 2.0, bison 3.0.4_1, help2man 1.47.5, gobject-introspection 1.54.1, shared-mime-info 1.9, gdk-pixbuf 2.36.11, icu4c 59.1, harfbuzz 1.5.1, pango 1.40.12, librsvg 2.40.19, imagemagick 7.0.7-7, homebrew/science/bwa 0.7.16a, homebrew/science/htslib 1.6, homebrew/science/freebayes 1.1.0_1, homebrew/science/samtools 1.5, homebrew/science/vcftools 0.1.15_1, homebrew/science/cd-hit 4.6.8, tseemann/bioinformatics-linux/nullarbor 1.28, homebrew/science/orthofinder 1.1.10, homebrew/science/genometools 1.5.10, boost 1.65.1, homebrew/science/vsearch 2.4.4, mysql 5.7.19, homebrew/science/snpeff 4.3p, tseemann/bioinformatics-linux/ascp 3.7.2.354.010c3b8, protobuf 3.4.1, sphinx-doc 1.6.4, homebrew/science/cutadapt 1.14, homebrew/science/bamtools 2.4.1_1, intltool 0.51.0_1, texinfo 6.5, r 3.4.2, tbb 2018_U1, xrootd 4.7.0, homebrew/science/parsnp 1.2_1, homebrew/science/trf 4.09, eigen 3.3.4, tseemann/bioinformatics-linux/trim-galore 0.4.4, homebrew/science/picard-tools 2.12.1, tseemann/bioinformatics-linux/varsim 0.8.1, homebrew/science/bowtie 1.2.1.1, bowtie2 2.3.3.1, tseemann/bioinformatics-linux/figtree 1.4.3, homebrew/science/beast2 2.4.7, gnuplot 5.2.0, homebrew/science/bless 0.24_4, homebrew/science/breseq 0.31.1, homebrew/science/cufflinks 2.2.1_3, homebrew/science/mothur 1.39.5_2, ruby 2.4.2, libgcrypt 1.8.1, p11-kit 0.23.9, libatomic_ops 7.4.6, gnutls 3.5.15, homebrew/science/diamond 0.9.10, atk 2.26.0, hicolor-icon-theme 0.17, linuxbrew/xorg/libdrm 2.4.82, coreutils 8.28_1
==> Upgrading sphinx-doc
==> Installing dependencies for sphinx-doc: binutils, linux-headers, glibc, gmp, mpfr, isl, gcc, sqlite, python
==> Installing sphinx-doc dependency: binutils
==> Downloading https://linuxbrew.bintray.com/bottles/binutils-2.29.1.x86_64_linux.bottle.tar.gz

curl: (77) error setting certificate verify locations:
  CAfile: /home/rcmm/.linuxbrew/etc/openssl/cert.pem
  CApath: /usr/local/etc/openssl/certs
Error: Failed to download resource "binutils"
Download failed: https://linuxbrew.bintray.com/bottles/binutils-2.29.1.x86_64_linux.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://ftp.gnu.org/gnu/binutils/binutils-2.29.1.tar.gz

curl: (77) error setting certificate verify locations:
  CAfile: /home/rcmm/.linuxbrew/etc/openssl/cert.pem
  CApath: /usr/local/etc/openssl/certs
Trying a mirror...
==> Downloading https://ftpmirror.gnu.org/binutils/binutils-2.29.1.tar.gz

curl: (77) error setting certificate verify locations:
  CAfile: /home/rcmm/.linuxbrew/etc/openssl/cert.pem
  CApath: /usr/local/etc/openssl/certs
Error: Failed to download resource "binutils"
Download failed: https://ftpmirror.gnu.org/binutils/binutils-2.29.1.tar.gz
sjackman commented 6 years ago

Please enclose copy-and-paste blocks in triple back ticks. See https://help.github.com/articles/basic-writing-and-formatting-syntax/#quoting-code

sjackman commented 6 years ago

Please see https://github.com/Linuxbrew/brew/wiki/FAQ#why-does-curl-fail Try brew postinstall openssl If that doesn't work, please report its error message.