2

I installed Lubuntu 20.04 today (I did checksum on the iso image and it was absolutely fine) and when I started updating and upgrading stuff, I found many things weren't upgrading. Initially it showed that I had a problem with the internet, but my internet was fine. After that, I ran sudo apt-get update, sudo apt update, sudo apt-get upgrade and sudo apt upgrade (I learned these commands from the internet and I don't really know much about them other than that they upgrade and update things).

Until sudo apt-get upgrade, everything was fine but when I ran sudo apt upgrade, more than 400MB of upgrades were not happening. At the bottom was an error message which suggested I run sudo apt upgrade --fix-missing. This helped a lot and most things were upgraded. But still, some stuff aren't upgrading at all. I ran the command several times and rebooted my laptop but still nothing. Here is what it says:

Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-42 all 5.4.0-42.46 [11.0 MB]
Err:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-42 all 5.4.0-42.46
  Hash Sum mismatch
  Hashes of expected file:
   - SHA256:7a21ab1e62daf2176f35c91670c81811afbc93fa8814756f92268f2023868c49
   - SHA1:3771f59745f82f83adc6bdf5bc048dc163c56d3a [weak]
   - MD5Sum:4969040e94112be4f8ba30c14f773cca [weak]
   - Filesize:10951448 [weak]
  Hashes of received file:
   - SHA256:f66f96511478efca3ee58a7f8545ccc511ae8d79d23e03d64cc40b4a5ce196fd
   - SHA1:e2bf94476aeba917c2741c5367e94ea09cb68056 [weak]
   - MD5Sum:2fc3eb37eef5f97a1e4998a5f10dfc06 [weak]
   - Filesize:10951448 [weak]
  Last modification reported: Fri, 10 Jul 2020 11:10:04 +0000
Fetched 11.0 MB in 2s (5,297 kB/s)                
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-5.4.0-42_5.4.0-42.46_all.deb  Hash Sum mismatch
   Hashes of expected file:
    - SHA256:7a21ab1e62daf2176f35c91670c81811afbc93fa8814756f92268f2023868c49
    - SHA1:3771f59745f82f83adc6bdf5bc048dc163c56d3a [weak]
    - MD5Sum:4969040e94112be4f8ba30c14f773cca [weak]
    - Filesize:10951448 [weak]
   Hashes of received file:
    - SHA256:f66f96511478efca3ee58a7f8545ccc511ae8d79d23e03d64cc40b4a5ce196fd
    - SHA1:e2bf94476aeba917c2741c5367e94ea09cb68056 [weak]
    - MD5Sum:2fc3eb37eef5f97a1e4998a5f10dfc06 [weak]
    - Filesize:10951448 [weak]
   Last modification reported: Fri, 10 Jul 2020 11:10:04 +0000
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Everytime I open my laptop, I get a message to upgrade and everytime it fails to do so.

karel
  • 122,292
  • 133
  • 301
  • 332

0 Answers0