Stanley Lan
2020-Apr-27 22:46 UTC
[R-sig-Debian] hash sum mismatch (tested on xenial cran35 repo ) startnig 4/27
Starting 4/27/2020 I started having issues installing r-base/dev packages on unbuntu 16.04. Here are the commands I used based on https://cran.r-project.org/bin/linux/ubuntu/README.html echo "deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/" | sudo tee -a /etc/apt/sources.list gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 gpg -a --export E298A3A825C0D65DFD57CBB651716619E084DAB9 | sudo apt-key add - apt-get clean rm -r /var/lib/apt/lists/* apt-get update apt-get install --yes r-base Here are the logs from the installation attempt: # apt-get install r-base Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: r-base-core r-cran-boot r-cran-class r-cran-cluster r-cran-codetools r-cran-foreign r-cran-kernsmooth r-cran-lattice r-cran-mass r-cran-matrix r-cran-mgcv r-cran-nlme r-cran-nnet r-cran-rpart r-cran-spatial r-cran-survival r-recommended Suggested packages: elpa-ess r-doc-info | r-doc-pdf r-mathlib The following packages will be upgraded: r-base r-base-core r-cran-boot r-cran-class r-cran-cluster r-cran-codetools r-cran-foreign r-cran-kernsmooth r-cran-lattice r-cran-mass r-cran-matrix r-cran-mgcv r-cran-nlme r-cran-nnet r-cran-rpart r-cran-spatial r-cran-survival r-recommended 18 upgraded, 0 newly installed, 0 to remove and 19 not upgraded. Need to get 8,934 kB/45.4 MB of archives. After this operation, 10.6 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-lattice 0.20-41-1cran1xenial0 [1,177 kB] Err:1 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-lattice 0.20-41-1cran1xenial0 Hash Sum mismatch Get:2 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-matrix 1.2-18-1xenial0 [3,456 kB] Err:2 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-matrix 1.2-18-1xenial0 Hash Sum mismatch Get:3 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-spatial 7.3-11-2xenial0 [127 kB] Err:3 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-spatial 7.3-11-2xenial0 Writing more data than expected (127700 > 126876) Get:4 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-rpart 4.1-15-2xenial0 [697 kB] Err:4 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-rpart 4.1-15-2xenial0 Hash Sum mismatch Get:5 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-mgcv 1.8-31-1cran1xenial0 [2,771 kB] Err:5 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-mgcv 1.8-31-1cran1xenial0 Hash Sum mismatch Get:6 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-kernsmooth 2.23-16-1+1xenial0 [91.7 kB] Err:6 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-kernsmooth 2.23-16-1+1xenial0 Hash Sum mismatch Get:7 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-cluster 2.1.0-2xenial0 [527 kB] Err:7 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-cluster 2.1.0-2xenial0 Hash Sum mismatch Get:8 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-class 7.3-16-1xenial0 [87.9 kB] Err:8 https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/ r-cran-class 7.3-16-1xenial0 Hash Sum mismatch Fetched 8,726 kB in 0s (15.9 MB/s) E: Failed to fetch https://cloud.r-project.org/bin/linux/ubuntu/xenial-cran35/r-cran-lattice_0.20-41-1cran1xenial0_amd64.deb Hash Sum mismatch E: Failed to fetch https://cloud.r-project.org/bin/linux/ubuntu/xenial-cran35/r-cran-matrix_1.2-18-1xenial0_amd64.deb Hash Sum mismatch E: Failed to fetch https://cloud.r-project.org/bin/linux/ubuntu/xenial-cran35/r-cran-spatial_7.3-11-2xenial0_amd64.deb Writing more data than expected (127700 > 126876) E: Failed to fetch https://cloud.r-project.org/bin/linux/ubuntu/xenial-cran35/r-cran-rpart_4.1-15-2xenial0_amd64.deb Hash Sum mismatch E: Failed to fetch https://cloud.r-project.org/bin/linux/ubuntu/xenial-cran35/r-cran-mgcv_1.8-31-1cran1xenial0_amd64.deb Hash Sum mismatch E: Failed to fetch https://cloud.r-project.org/bin/linux/ubuntu/xenial-cran35/r-cran-kernsmooth_2.23-16-1+1xenial0_amd64.deb Hash Sum mismatch E: Failed to fetch https://cloud.r-project.org/bin/linux/ubuntu/xenial-cran35/r-cran-cluster_2.1.0-2xenial0_amd64.deb Hash Sum mismatch E: Failed to fetch https://cloud.r-project.org/bin/linux/ubuntu/xenial-cran35/r-cran-class_7.3-16-1xenial0_amd64.deb Hash Sum mismatch E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing Can someone assist? [[alternative HTML version deleted]]
Michael Rutter
2020-Apr-27 23:14 UTC
[R-sig-Debian] hash sum mismatch (tested on xenial cran35 repo ) startnig 4/27
On 4/27/20 6:46 PM, Stanley Lan wrote:> Starting 4/27/2020 I started having issues installing r-base/dev packages on unbuntu 16.04. > > Here are the commands I used based on > https://cran.r-project.org/bin/linux/ubuntu/README.html > > echo "deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/" | sudo tee -a /etc/apt/sources.list > gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 > gpg -a --export E298A3A825C0D65DFD57CBB651716619E084DAB9 | sudo apt-key add - > apt-get clean > rm -r /var/lib/apt/lists/* > apt-get update > apt-get install --yes r-base-- Clipped for clarity> E: Failed to fetch https://cloud.r-project.org/bin/linux/ubuntu/xenial-cran35/r-cran-cluster_2.1.0-2xenial0_amd64.deb Hash Sum mismatch > > E: Failed to fetch https://cloud.r-project.org/bin/linux/ubuntu/xenial-cran35/r-cran-class_7.3-16-1xenial0_amd64.deb Hash Sum mismatch > > E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing > > Can someone assist? >Stanley, Totally my fault and should fix itself on the next sync. I created a small error when working on the deployment of R 4.0 binaries to CRAN. Didn't catch it in time for sync. My apologizes. If you need the packages ASAP, use the PPA where they are synced from: https://launchpad.net/~marutter/+archive/ubuntu/rrutter3.5 You can replace the echo and gpg commands with: sudo add-apt-repository -y ppa:marutter/rrutter3.5 Michael
Stanley Lan
2020-Apr-28 00:20 UTC
[R-sig-Debian] hash sum mismatch (tested on xenial cran35 repo ) startnig 4/27
Great to know it's fixed soon. Thanks. Stanley ________________________________ From: R-SIG-Debian <r-sig-debian-bounces at r-project.org> on behalf of Michael Rutter <marutter at gmail.com> Sent: Monday, April 27, 2020 7:14 PM To: r-sig-debian at r-project.org <r-sig-debian at r-project.org> Subject: Re: [R-sig-Debian] hash sum mismatch (tested on xenial cran35 repo ) startnig 4/27 On 4/27/20 6:46 PM, Stanley Lan wrote:> Starting 4/27/2020 I started having issues installing r-base/dev packages on unbuntu 16.04. > > Here are the commands I used based on > https://cran.r-project.org/bin/linux/ubuntu/README.html > > echo "deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/" | sudo tee -a /etc/apt/sources.list > gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 > gpg -a --export E298A3A825C0D65DFD57CBB651716619E084DAB9 | sudo apt-key add - > apt-get clean > rm -r /var/lib/apt/lists/* > apt-get update > apt-get install --yes r-base-- Clipped for clarity> E: Failed to fetch https://cloud.r-project.org/bin/linux/ubuntu/xenial-cran35/r-cran-cluster_2.1.0-2xenial0_amd64.deb Hash Sum mismatch > > E: Failed to fetch https://cloud.r-project.org/bin/linux/ubuntu/xenial-cran35/r-cran-class_7.3-16-1xenial0_amd64.deb Hash Sum mismatch > > E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing > > Can someone assist? >Stanley, Totally my fault and should fix itself on the next sync. I created a small error when working on the deployment of R 4.0 binaries to CRAN. Didn't catch it in time for sync. My apologizes. If you need the packages ASAP, use the PPA where they are synced from: https://launchpad.net/~marutter/+archive/ubuntu/rrutter3.5 You can replace the echo and gpg commands with: sudo add-apt-repository -y ppa:marutter/rrutter3.5 Michael _______________________________________________ R-SIG-Debian mailing list R-SIG-Debian at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian [[alternative HTML version deleted]]
Reasonably Related Threads
- hash sum mismatch (tested on xenial cran35 repo ) startnig 4/27
- Xenial rpart package on CRAN built with wrong R version?
- Xenial rpart package on CRAN built with wrong R version?
- Xenial rpart package on CRAN built with wrong R version?
- Advice on article about installing R on Linux