[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [APT] how to debug "Hash Sum mismatch"?



On Fri, Jan 25, 2013 at 10:54:16PM -0500, Tom Roche wrote:
> did `sudo aptitude update`, and got
> 
> > W: Failed to fetch bzip2:/var/lib/apt/lists/partial/watson.nci.nih.gov_cran%5fmirror_bin_linux_debian_squeeze-cran_Packages: Hash Sum mismatch
> 
> So I changed my sources.list
> 
> - deb http://lib.stat.cmu.edu/R/CRAN/bin/linux/debian squeeze-cran/
> - deb http://watson.nci.nih.gov/cran_mirror/bin/linux/debian squeeze-cran/
> + deb http://mirrors.nics.utk.edu/cran/bin/linux/debian squeeze-cran/
> 
> did `sudo aptitude update`, and got
> 
> > W: Failed to fetch bzip2:/var/lib/apt/lists/partial/mirrors.nics.utk.edu_cran_bin_linux_debian_squeeze-cran_Packages: Hash Sum mismatch

Without knowing all your details, I'd probably:

rm /var/lib/apt/lists/*

rm /var/lib/apt/lists/partial/*

then try updating again.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Reply to: