On Fri, Feb 19, 2021 at 04:26:17PM +0100, Kamil Jońca wrote:
> Harald Dunkel <harald.dun...@aixigo.com> writes:
> 
> > Hi folks,
> >
> > aptitude shows
> >
> > E: Failed to fetch
> >    
> > http://deb.debian.org/debian/pool/main/s/spectre-meltdown-checker/spectre-meltdown-checker_0.42-1_all.deb:
> >  Hash Sum mismatch
> >    Hashes of expected file:
> >    - SHA256:a5b777497c860a51ce1f1fd888f727531ea60be625ffe6787aebf12823177e2f
> >    - MD5Sum:3e6e8e46213f00c03d1103757bca1fd5 [weak]
> >    - Filesize:45208 [weak]
> >    Hashes of received file:
> >    - SHA256:1dca832b59ff6fce1b506c5291418a30c99e0d1f5b43b504909bfd8bbfdc3490
> >    - MD5Sum:2f3d9c6f6a5f7704b64f6f582ee4dcd7 [weak]
> >    - Filesize:45208 [weak]
> >    Last modification reported: Mon, 27 May 2019 11:14:06 +0000
> > E: Unable to fetch some packages; try '-o APT::Get::Fix-Missing=true' to 
> > continue with missing packages
> >
> > I already cleared the cache of apt-cacher-ng, but the problem comes back.
> > What would you suggest how to proceed?
> 
I had struggled with a similar problem. I went to
http://localhost:3142/acng-report.html page:

Under "Shared processing options":
        
        Check the following:
                `Force the download of index files (even having fresh ones)'

Under "Expiration":
  
  Check the following:
    `Ignore the threshold that aborts early when there is probably not much to 
do'
    `then validate file contents through checksum (SLOW), also detecting 
corrupt files,'
    `then truncate damaged files immediately.'
    `Treat incomplete files as damaged.'
    `Purge unreferenced files immediately after scan'

Then click on "Start Scan and/or Expiration" button. 

In the resultant page click on "Check all" button and then click on "Delete
selected files". You will be shown another page asking for confirmation of
deleting the files - click on the "Delete now" button.

Now try another run of "apt/apt-get update". I had to do the above steps quiet a
few times before I was able to get things working.

HTH,
didar



> What do you mean "already cleared cache"  I have similar problem with
> other package and I have to pysically
> "rm /path/to/package/in/apt-cacher"
> 
> KJ


> -- 
> http://stopstopnop.pl/stop_stopnop.pl_o_nas.html

-- 
Freedom is what you do with what's been done to you.
                -- Jean-Paul Sartre

Reply via email to