[R-sig-Debian] hash sum mismatch (tested on xenial cran35 repo ) startnig 4/27

Michael Rutter m@rutter @end|ng |rom gm@||@com
Tue Apr 28 01:14:52 CEST 2020



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



More information about the R-SIG-Debian mailing list