Ubuntu 24.04 installer got an error while installation: failed to fetch a file and hash sum mismatch

Bug #2068836 reported by Lucky Ducky

This bug report will be marked for expiration in 11 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-desktop-provision
Incomplete
Undecided
Unassigned

Bug Description

I am trying to install Ubuntu 24.04 from my USB stick.
While installation I got an error message that Something went wrong in the installer window.

In logs I found next error message:

...
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: Fetched 149 MB in 20s (7,296 kB/s)
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: E: Failed to fetch file:/cdrom/pool/main/l/linux-firmware/linux-firmware_20240318.git3b128b60-0ubuntu2_amd64.deb Hash Sum mismatch
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: Hashes of expected file:
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: - SHA512:04b4c530acd73f2c5cbe4c7fed14e99d58b3e17fe9846e9332614b86f3585d307be2c3ce83a67199400542b38c97e4eb50bbdebb125ec3e291ef92f4feec2b48
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: - SHA256:7b2d9bdf5a4b494d6200f6b925508530f6c8e67ee6e2e4d5dcd79b8d2f281f5f
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: - Filesize:475433818 [weak]
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: - SHA1:7f0fcb5ff056056a6e0dbb0a83d3a28006f6bcc9 [weak]
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: - MD5Sum:b423233cce99a21f1fb9c2e2ea2ba817 [weak]
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: Hashes of received file:
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: - SHA512:8d0668f7fabc021c981c2a8426ab3ba3f283bae2c7f03975d4e8e127b6c14a3f4bd52e78fad9c229fc15a9dd476059b32ea050d66c42a1ebb27e89358a6bdeae
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: - SHA256:d92e7b8d508d728b400c970dc0bc9295bf8d779405a5c9f383ce9e24431ab13e
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: - SHA1:3a5df369ca05b4586f0e88dbdf129f64e2e67884 [weak]
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: - MD5Sum:cb7892053eba4ce568bbe78c94805abd [weak]
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: - Filesize:475433818 [weak]
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: Last modification reported: Tue, 09 Apr 2024 23:09:13 +0000
Jun 09 14:14:16 ubuntu subiquity_log.4183[8153]: E: Some files failed to download
...

I have downloaded this file manually and checked its hash. Hash is okay.

ubuntu@ubuntu:~/Downloads$ shasum -a 256 linux-firmware_20240318.git3b128b60-0ubuntu2_amd64.deb
7b2d9bdf5a4b494d6200f6b925508530f6c8e67ee6e2e4d5dcd79b8d2f281f5f linux-firmware_20240318.git3b128b60-0ubuntu2_amd64.deb

ubuntu@ubuntu:~/Downloads$ shasum -a 512 linux-firmware_20240318.git3b128b60-0ubuntu2_amd64.deb
04b4c530acd73f2c5cbe4c7fed14e99d58b3e17fe9846e9332614b86f3585d307be2c3ce83a67199400542b38c97e4eb50bbdebb125ec3e291ef92f4feec2b48 linux-firmware_20240318.git3b128b60-0ubuntu2_amd64.deb

Revision history for this message
Lucky Ducky (lockereasy) wrote :
Download full text (389.3 KiB)

All logs from the installation process.

Jun 09 14:10:33 ubuntu subiquity_event.4183[4183]: subiquity/load_cloud_config/extract_autoinstall:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/load_cloud_config/extract_autoinstall:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Early/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Early/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Reporting/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Reporting/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Error/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Error/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Userdata/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Userdata/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Package/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Package/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Debconf/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Debconf/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Kernel/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Kernel/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Zdev/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Zdev/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Ad/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Ad/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Late/apply_autoinstall_config:
Jun 09 14:10:34 ubuntu subiquity_event.4183[4183]: subiquity/Late/apply_autoinstall_config:
Jun 09 14:11:35 ubuntu subiquity_event.4183[4183]: subiquity/Ad/has_support_GET:
Jun 09 14:12:35 ubuntu subiquity_event.4183[4183]: configuring apt
Jun 09 14:12:35 ubuntu subiquity_log.4183[6080]: start: cmd-apt-config: curtin command apt-config
Jun 09 14:12:35 ubuntu subiquity_log.4183[6080]: Handling apt to target /tmp/tmpcus5nrz1/mount with config {'debconf_selections': {'subiquity': ''}, 'disable_components': [], 'disable_suites': ['security'], 'preserve_sources_list': False, 'primary': [{'arches': ['default'], 'uri': 'http://pl.archive.ubuntu.com/ubuntu/'}], 'security': [{'arches': ['amd64', 'i386'], 'uri': 'http://security.ubuntu.com/ubuntu/'}, {'arches': ['s390x', 'arm64', 'armhf', 'powerpc', 'ppc64el', 'riscv64'], 'uri': 'http://ports.ubuntu.com/ubuntu-ports'}]}
Jun 09 14:12:35 ubuntu subiquity_log.4183[6080]: Running command ['mount', '--bind', '/dev', '/tmp/tmpcus5nrz1/mount/dev'] with allowed return codes [0] (capture=False)
Jun 09 14:12:35 ubuntu subiquity_log.4183[6080]: Running command ['mount', '--bind', '/proc', '/tmp/tmpcus5nrz1/...

description: updated
description: updated
Revision history for this message
Lucky Ducky (lockereasy) wrote :

Two days ago I have installed this image and everything went good.

Revision history for this message
Lucky Ducky (lockereasy) wrote :
description: updated
Lucky Ducky (lockereasy)
description: updated
description: updated
Lucky Ducky (lockereasy)
description: updated
description: updated
description: updated
Revision history for this message
Lucky Ducky (lockereasy) wrote :

I solved this.

I just burned an image with Rufus.
Previously I used dd and etcher on macOs, it wasn't work.

If you still had an issue, try install Ubuntu multiple times, it may caused by server/connection problem.

Good luck!

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report Could you add the logs from/var/log/installer after getting the problem?

Changed in ubuntu-desktop-provision:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.