:: [DNG] Problem doing apt-get update
Inizio della pagina
Delete this message
Reply to this message
Autore: Steve Schlaifer
Data:  
To: dng
Oggetto: [DNG] Problem doing apt-get update
My sources.list looks like

deb http://deb.devuan.org/merged ascii main
deb-src http://deb.devuan.org/merged ascii main

deb http://deb.devuan.org/merged ascii-security main
deb-src http://deb.devuan.org/merged ascii-security main

deb http://deb.devuan.org/merged ascii-updates main
deb-src http://deb.devuan.org/merged ascii-updates main

When I do an apt-get update I get multiple errors that there is a hash
sum mismatch.

root@wildwilly:~# apt-get update
Hit:1 http://packages.x2go.org/debian stretch InRelease
Get:3 http://deb.devuan.org/merged ascii-security InRelease [24.9 kB]
Get:4 http://deb.devuan.org/merged ascii-updates InRelease [25.6 kB]
Get:2 http://deb.devuan.org/merged ascii InRelease [25.6 kB]
Get:5 http://deb.devuan.org/merged ascii-security/main Sources [169 kB]
Get:6 http://deb.devuan.org/merged ascii-security/main amd64 Packages
[449 kB] Get:7 http://deb.devuan.org/merged ascii-security/main amd64
Contents (deb) [36 B] Get:7 http://deb.devuan.org/merged
ascii-security/main amd64 Contents (deb) [36 B] Get:7
http://deb.devuan.org/merged ascii-security/main amd64 Contents (deb)
[36 B] Err:7 http://deb.devuan.org/merged ascii-security/main amd64
Contents (deb) Hash Sum mismatch Hashes of expected file:
   - Filesize:36 [weak]
   -
SHA256:9cad778da94c963d0c90af4c7f68f4b8cda336044cf4c9a093faf04051c7bb3a
Hashes of received file:
   -
SHA256:1a9177fb742461fc9f9212cff7a321d1a19bc5d384da31a833691035768d65e0
   - Filesize:36 [weak]
  Last modification reported: Sun, 05 May 2019 01:31:08 +0000
  Release file created at: Sun, 05 May 2019 20:44:04 +0000
Get:10 http://deb.devuan.org/merged ascii-updates/main amd64 Contents
(deb) [335 kB] Get:10 http://deb.devuan.org/merged ascii-updates/main
amd64 Contents (deb) [335 kB] Get:10 http://deb.devuan.org/merged
ascii-updates/main amd64 Contents (deb) [335 kB] Err:10
http://deb.devuan.org/merged ascii-updates/main amd64 Contents (deb)
Hash Sum mismatch Hashes of expected file:
   - Filesize:335185 [weak]
   -
SHA256:be0d1ef811b63aac1665957a6b794989bf7cff590690fa96bb17782364fa8d3a
Hashes of received file:
   -
SHA256:ec9550550cf4d89d8c6c96e9ceb910e73b867e13a9193ce94165e0de6ebb5754
   - Filesize:335185 [weak]
  Last modification reported: Sun, 05 May 2019 01:33:19 +0000
  Release file created at: Sun, 05 May 2019 15:06:04 +0000
Get:13 http://deb.devuan.org/merged ascii/main amd64 Contents (deb)
[28.2 MB] Err:13 http://deb.devuan.org/merged ascii/main amd64 Contents
(deb) Hash Sum mismatch
  Hashes of expected file:
   - Filesize:28212324 [weak]
   -
SHA256:3b3541730daefcac171445d556ad6bfd1e8bd16e480302e6d25aba8349a7dde2
Hashes of received file:
   -
SHA256:5cdb4b9056cf2d1b5b86fe3917c789cdf37b020e15e2c0f27cac5ffcfc7ce9ca
   - Filesize:28212324 [weak]
  Last modification reported: Sun, 05 May 2019 01:31:52 +0000
  Release file created at: Sun, 05 May 2019 01:44:02 +0000
Fetched 28.6 MB in 1min 25s (334
kB/s) Reading package lists... Done
E: Failed to fetch
http://deb.devuan.org/merged/dists/ascii-security/main/Contents-amd64.gz
Hash Sum mismatch Hashes of expected file:
    - Filesize:36 [weak]
    -
SHA256:9cad778da94c963d0c90af4c7f68f4b8cda336044cf4c9a093faf04051c7bb3a
      Hashes of received file: -
      SHA256:1a9177fb742461fc9f9212cff7a321d1a19bc5d384da31a833691035768d65e0
    - Filesize:36 [weak]
   Last modification reported: Sun, 05 May 2019 01:31:08 +0000
   Release file created at: Sun, 05 May 2019 20:44:04 +0000
E: Failed to fetch
http://deb.devuan.org/merged/dists/ascii-updates/main/Contents-amd64.gz
Hash Sum mismatch Hashes of expected file:
    - Filesize:335185 [weak]
    -
SHA256:be0d1ef811b63aac1665957a6b794989bf7cff590690fa96bb17782364fa8d3a
Hashes of received file:
    -
SHA256:ec9550550cf4d89d8c6c96e9ceb910e73b867e13a9193ce94165e0de6ebb5754
    - Filesize:335185 [weak]
   Last modification reported: Sun, 05 May 2019 01:33:19 +0000
   Release file created at: Sun, 05 May 2019 15:06:04 +0000
E: Failed to fetch
http://deb.devuan.org/merged/dists/ascii/main/Contents-amd64.gz  Hash
Sum mismatch Hashes of expected file:
    - Filesize:28212324 [weak]
    -
SHA256:3b3541730daefcac171445d556ad6bfd1e8bd16e480302e6d25aba8349a7dde2
Hashes of received file:
    -
SHA256:5cdb4b9056cf2d1b5b86fe3917c789cdf37b020e15e2c0f27cac5ffcfc7ce9ca
    - Filesize:28212324 [weak]
   Last modification reported: Sun, 05 May 2019 01:31:52 +0000
   Release file created at: Sun, 05 May 2019 01:44:02 +0000
E: Some index files failed to download. They have been ignored, or old
ones used instead.



I have various combinations of apt-get clean, rm -r /var/lib/apt/lists
as were suggested on the web. I'm open to other suggestions but it
looks like this may be a race condition as this all works on my laptop.

I've seen a page that talks about Acquire-by-hash, is this enabled and
how can I make use of it if it is enabled?
--

                --Steve


"The world is a dangerous place to live; not because of the people who
are evil, but because of the people who don't do anything about it. "
                --Albert Einstein.