Linux Lite Forums

Full Version: Unable to apt update
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to do a sudo apt update but I get the following errors. These errors appear different than others I've seen here.
I'm running Linux Lite 5.0 RC1 in a VirtualBox session on Windows 10 (64-bit naturally)

Code:
Get:19 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages [4,648 kB]
Err:7 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages           
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:5819330 [weak]
   - SHA256:f1f57667c2bff2e47ea82e40ea8e09c86c46133f6ff71a976fc36ab28538a804
   - SHA1:94f6193089c7e5943386c8f2e982f4d5ca9e3e46 [weak]
   - MD5Sum:a57fb3f3ff2a2fcdccdee7e608701fd4 [weak]
  Hashes of received file:
   - SHA256:ca75a9cbbe8f00455bc36f171e44910bb4f03696cdf0ebfc9df7e5937219d2e0
   - SHA1:3d3afcd1a205c214fa6c9feeab60939917c602b4 [weak]
   - MD5Sum:a57fb3f3ff2a2fcdccdee7e608701fd4 [weak]
   - Filesize:5819330 [weak]
  Last modification reported: Wed, 22 Apr 2020 18:50:20 +0000
  Release file created at: Thu, 23 Apr 2020 02:58:24 +0000
Err:19 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages       
 
Get:20 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,632 kB]
Hit:21 http://repo.linuxliteos.com/linuxlite emerald InRelease       
Err:20 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
 
Get:22 http://us.archive.ubuntu.com/ubuntu focal/universe Translation-en [5,126 kB]
Err:22 http://us.archive.ubuntu.com/ubuntu focal/universe Translation-en
 
Fetched 19.2 MB in 2s (11.2 MB/s)     
Reading package lists... Done
E: Failed to fetch store:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_focal_main_binary-amd64_Packages.xz  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:5819330 [weak]
    - SHA256:f1f57667c2bff2e47ea82e40ea8e09c86c46133f6ff71a976fc36ab28538a804
    - SHA1:94f6193089c7e5943386c8f2e982f4d5ca9e3e46 [weak]
    - MD5Sum:a57fb3f3ff2a2fcdccdee7e608701fd4 [weak]
   Hashes of received file:
    - SHA256:ca75a9cbbe8f00455bc36f171e44910bb4f03696cdf0ebfc9df7e5937219d2e0
    - SHA1:3d3afcd1a205c214fa6c9feeab60939917c602b4 [weak]
    - MD5Sum:a57fb3f3ff2a2fcdccdee7e608701fd4 [weak]
    - Filesize:5819330 [weak]
   Last modification reported: Wed, 22 Apr 2020 18:50:20 +0000
   Release file created at: Thu, 23 Apr 2020 02:58:24 +0000
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/focal/universe/binary-i386/by-hash/SHA256/f1660a98848f79e506d34e12cd620717d4008fa1c37f5201d8daca83e0f808d3 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/focal/universe/binary-amd64/by-hash/SHA256/04c7ebdc1aa40e0ec124d3fd01db02863ea39c6831bc118e5f015f20f13901b8 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/focal/universe/i18n/by-hash/SHA256/a06a07f5bf363958106b4f7161a1929ebd6f42a39b1f3d73a23f1566410926d3 
E: Some index files failed to download. They have been ignored, or old ones used instead.
Hi Tom, please run Install Updates via the Menu and paste the error log (if you get one) here.
(04-23-2020, 05:49 AM)Jerry link Wrote: [ -> ]Hi Tom, please run Install Updates via the Menu and paste the error log (if you get one) here.

Here it is:

===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://www.linuxliteos.com/forums/ and paste the log below into a new or existing thread for assistance.

============ Log ===========

Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://archive.canonical.com/ubuntu focal InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu focal/main i386 Packages [718 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu focal/main Translation-en [505 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.3 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22.0 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu focal/restricted i386 Packages [8,112 B]
Get:12 http://us.archive.ubuntu.com/ubuntu focal/restricted Translation-en [6,212 B]
Get:13 http://us.archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]
Get:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,631 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,631 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,631 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,631 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,631 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,631 kB]
Hit:20 http://repo.linuxliteos.com/linuxlite emerald InRelease
Err:8 http://us.archive.ubuntu.com/ubuntu focal/main Translation-en
  Hash Sum mismatch
  Hashes of expected file:
  - Filesize:3024022 [weak]
  - SHA256:10e6dddb4cda486a5a40d71f869ed5891b52ac8e06168dbcb02dd2e97c234d3f
  - SHA1:b19bd53f9a20c503efa885b8329d4ad2e4e276e1 [weak]
  - MD5Sum:56ced23516d4bb1a9fb99c60ae30306e [weak]
  Hashes of received file:
  - SHA256:05df63f68ad4c1d9862e80950b9fed823f8f6bccc1b254c7518e055fef240b74
  - SHA1:0053f39de9ac2b1e0d9b9d46f71669675ba2eaf5 [weak]
  - MD5Sum:56ced23516d4bb1a9fb99c60ae30306e [weak]
  - Filesize:3024022 [weak]
  Last modification reported: Wed, 22 Apr 2020 16:40:22 +0000
  Release file created at: Thu, 23 Apr 2020 07:25:31 +0000
Err:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
 
Get:21 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages [4,646 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu focal/universe Translation-en [5,126 kB]
Err:22 http://us.archive.ubuntu.com/ubuntu focal/universe Translation-en
 
Fetched 18.7 MB in 13s (1,436 kB/s)
Reading package lists...
E: Failed to fetch store:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_focal_main_i18n_Translation-en.xz  Hash Sum mismatch
  Hashes of expected file:
    - Filesize:3024022 [weak]
    - SHA256:10e6dddb4cda486a5a40d71f869ed5891b52ac8e06168dbcb02dd2e97c234d3f
    - SHA1:b19bd53f9a20c503efa885b8329d4ad2e4e276e1 [weak]
    - MD5Sum:56ced23516d4bb1a9fb99c60ae30306e [weak]
  Hashes of received file:
    - SHA256:05df63f68ad4c1d9862e80950b9fed823f8f6bccc1b254c7518e055fef240b74
    - SHA1:0053f39de9ac2b1e0d9b9d46f71669675ba2eaf5 [weak]
    - MD5Sum:56ced23516d4bb1a9fb99c60ae30306e [weak]
    - Filesize:3024022 [weak]
  Last modification reported: Wed, 22 Apr 2020 16:40:22 +0000
  Release file created at: Thu, 23 Apr 2020 07:25:31 +0000
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dist...847ce66328 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dist...78be9d4c76 
E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Lite Tweaks, Package System Repair. Then change US repository to another. Try that.
(04-23-2020, 08:42 AM)toml_12953 link Wrote:[quote author=Jerry link=topic=7234.msg51640#msg51640 date=1587620987]
Hi Tom, please run Install Updates via the Menu and paste the error log (if you get one) here.

Here it is:

===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://www.linuxliteos.com/forums/ and paste the log below into a new or existing thread for assistance.

============ Log ===========

Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://archive.canonical.com/ubuntu focal InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu focal/main i386 Packages [718 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu focal/main Translation-en [505 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.3 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22.0 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu focal/restricted i386 Packages [8,112 B]
Get:12 http://us.archive.ubuntu.com/ubuntu focal/restricted Translation-en [6,212 B]
Get:13 http://us.archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]
Get:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,631 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,631 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,631 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,631 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,631 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8,631 kB]
Hit:20 http://repo.linuxliteos.com/linuxlite emerald InRelease
Err:8 http://us.archive.ubuntu.com/ubuntu focal/main Translation-en
  Hash Sum mismatch
  Hashes of expected file:
  - Filesize:3024022 [weak]
  - SHA256:10e6dddb4cda486a5a40d71f869ed5891b52ac8e06168dbcb02dd2e97c234d3f
  - SHA1:b19bd53f9a20c503efa885b8329d4ad2e4e276e1 [weak]
  - MD5Sum:56ced23516d4bb1a9fb99c60ae30306e [weak]
  Hashes of received file:
  - SHA256:05df63f68ad4c1d9862e80950b9fed823f8f6bccc1b254c7518e055fef240b74
  - SHA1:0053f39de9ac2b1e0d9b9d46f71669675ba2eaf5 [weak]
  - MD5Sum:56ced23516d4bb1a9fb99c60ae30306e [weak]
  - Filesize:3024022 [weak]
  Last modification reported: Wed, 22 Apr 2020 16:40:22 +0000
  Release file created at: Thu, 23 Apr 2020 07:25:31 +0000
Err:14 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
 
Get:21 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages [4,646 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu focal/universe Translation-en [5,126 kB]
Err:22 http://us.archive.ubuntu.com/ubuntu focal/universe Translation-en
 
Fetched 18.7 MB in 13s (1,436 kB/s)
Reading package lists...
E: Failed to fetch store:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_focal_main_i18n_Translation-en.xz  Hash Sum mismatch
  Hashes of expected file:
    - Filesize:3024022 [weak]
    - SHA256:10e6dddb4cda486a5a40d71f869ed5891b52ac8e06168dbcb02dd2e97c234d3f
    - SHA1:b19bd53f9a20c503efa885b8329d4ad2e4e276e1 [weak]
    - MD5Sum:56ced23516d4bb1a9fb99c60ae30306e [weak]
  Hashes of received file:
    - SHA256:05df63f68ad4c1d9862e80950b9fed823f8f6bccc1b254c7518e055fef240b74
    - SHA1:0053f39de9ac2b1e0d9b9d46f71669675ba2eaf5 [weak]
    - MD5Sum:56ced23516d4bb1a9fb99c60ae30306e [weak]
    - Filesize:3024022 [weak]
  Last modification reported: Wed, 22 Apr 2020 16:40:22 +0000
  Release file created at: Thu, 23 Apr 2020 07:25:31 +0000
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dist...847ce66328 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dist...78be9d4c76 
E: Some index files failed to download. They have been ignored, or old ones used instead.
[/quote]

try this:
$ sudo bash
# mkdir /etc/gcrypt
# echo all >> /etc/gcrypt/hwf.deny