Ubuntu 24.04.03 LTS installation fails

Ubuntu Version:

Ubuntu 24.04.03 LTS -desktop-amd64

Desktop Environment (if applicable):

GNOME

Problem Description:

(I’m a complete newbie on Linux :cry: )
I am trying to perform a fresh installation of Ubuntu 24.04.03 LTS on a virtual machine (Oracle VirtualBox and VMware Workstation Player), but the installation consistently fails at the same point. The installer crashes with a “Something went wrong” error message.

Relevant System Information:

Host OS: Windows 11 24H2(KB5063878)

Virtualization Software: Oracle VirtualBox 7.2.0 r170228 / VMware Workstation Player 17.5.2 build-23775571 (Issue occurs on both)

VM Configuration: 4 CPU Cores, 4 GB RAM, 25 GB VDI/VMDK (Dynamic allocated), EFI enabled/disabled tried, NAT/Bridged networking tried.

Installation Media: ubuntu-24.04.3-desktop-amd64.iso (SHA256 checksum verified and correct).

Screenshots or Error Messages:

The final installer screen shows:

And the last few logs be like: (I don’t know if this is relevant :frowning:

Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         Traceback (most recent call last):
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:           File "/snap/ubuntu-desktop-bootstrap/413/lib/python3.10/site-packages/curtin/commands/main.py", line 202, in main
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:             ret = args.func(args)
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:           File "/snap/ubuntu-desktop-bootstrap/413/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2238, in curthooks
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:             builtin_curthooks(cfg, target, state)
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:           File "/snap/ubuntu-desktop-bootstrap/413/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2070, in builtin_curthooks
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:             install_kernel(cfg, target)
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:           File "/snap/ubuntu-desktop-bootstrap/413/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 403, in install_kernel
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:             install(kernel_cfg.package)
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:           File "/snap/ubuntu-desktop-bootstrap/413/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 369, in install
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:             distro.install_packages([pkg], target=target, env=env)
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:           File "/snap/ubuntu-desktop-bootstrap/413/lib/python3.10/site-packages/curtin/distro.py", line 473, in install_packages
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:             return install_cmd('install', args=pkglist, opts=opts, target=target,
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:           File "/snap/ubuntu-desktop-bootstrap/413/lib/python3.10/site-packages/curtin/distro.py", line 255, in run_apt_command
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:             cmd_rv = apt_install(mode, args, opts=opts, env=env, target=target,
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:           File "/snap/ubuntu-desktop-bootstrap/413/lib/python3.10/site-packages/curtin/distro.py", line 303, in apt_install
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:             cmd_rv = inchroot.subp(cmd + dl_opts + packages, env=env,
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:           File "/snap/ubuntu-desktop-bootstrap/413/lib/python3.10/site-packages/curtin/util.py", line 843, in subp
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:             return subp(*args, **kwargs)
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:           File "/snap/ubuntu-desktop-bootstrap/413/lib/python3.10/site-packages/curtin/util.py", line 323, in subp
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:             return _subp(*args, **kwargs)
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:           File "/snap/ubuntu-desktop-bootstrap/413/lib/python3.10/site-packages/curtin/util.py", line 172, in _subp
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:             raise ProcessExecutionError(stdout=out, stderr=err,
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         curtin.util.ProcessExecutionError: Unexpected error while running command.
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'linux-generic-hwe-24.04']
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         Exit code: 100
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         Reason: -
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         Stdout: ''
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         Stderr: ''
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         Unexpected error while running command.
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'linux-generic-hwe-24.04']
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         Exit code: 100
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         Reason: -
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         Stdout: ''
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         Stderr: ''
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]:         
Sep 07 18:29:08 ubuntu subiquity_log.4070[6428]: Stderr: ''
Sep 07 18:29:08 ubuntu subiquity_event.4070[4070]:  executing curtin install curthooks step
Sep 07 18:29:08 ubuntu subiquity_event.4070[4070]: installing system
Sep 07 18:29:08 ubuntu subiquity_event.4070[4070]: 
Sep 07 18:29:08 ubuntu subiquity_event.4070[4070]:   curtin command install

The full log will be here: https://docs.google.com/document/d/1AVQUdxL27x89xyMyBXHa2oRQrVQsPAAFa_966Bzql0Y/edit?usp=sharing

What I’ve Tried:

Verified ISO Integrity: Downloaded the ISO image three times from official mirrors and confirmed the SHA256 checksum matches every time.

Created lots of VMs: I have created many virtual machines with different settings, such as adjusting the number of cores, RAM, and use EFI, but all failed to install.

Changed Virtualization Software: Tried both Oracle VirtualBox and VMware Workstation Player.

Changed Ubuntu’s version: I can successfully install Ubuntu 22.04.2 LTS on the same host machine with the same virtual machine software and configuration. But I can’t install the 24.04.03 LTS image.

Finally, I just want to install Ubuntu and learn Linux. I hope there will be some big guys to help me, thank you. :sob:


Additional information: I tried it on a second computer and it didn’t work either. Could it be a network issue? (Both computers are Windows 11 and on the same network)

Yes, quite possibly.
As an experiment, try again without any internet connection (neither ethernet nor wireless) during the installation.

@williamlok67 Welcome to Ubuntu Discourse :slight_smile:

Are you installing to the virtual drive using defaults like ext4 or something fancy like btrfs?

Encryption, with or without?

Manual installation or erase and use entire disk?

Sometimes these details matter.

If you upgrade the ubiquity installer package, does it help.
You could also install the server edition then install the desktop metapackage. May help

Newer versions of Ubuntu use the subiquity installer. It is in the logs above.

Please provide users with correct information when offering help.

Thanks

1 Like

A post was split to a new topic: Ubuntu install issue

2 posts were merged into an existing topic: Ubuntu install issue

The problem has been resolved. Thank you all for your suggestions. It was indeed a network issue.

I successfully completed the installation after directly disabling the network connection in the virtual machine’s settings.:smiling_face:

1 Like

Here is the info about the network issue

That thread is very confusing. It’s marked as closed (main consolidated thread). It seems to be only for September 5th but it’s the 7th.

There seems to still be major issues as none of my systems will update. I recommend that the admin puts an update per day as, quite candidly, Ubuntu’s status updates do not reflect the reality.

Maybe I’m missing something and need to be educated. But if not this has been a very confusing update weekend for me.

Welcome to Ubuntu Discourse :slight_smile:

I added an update at the top of that post.

All we really know right now is that it is taking time for the mirrors and repositories to complete syncing.

Give it some time please.

Thank you @rubi1200 and understood.

1 Like

A simple mistake…Wasn’t trying to mislead. Humans aren’t perfect

1 Like