Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elementary OS 8 install error: error installing packages #868

Open
cameralibre opened this issue Jan 20, 2025 · 1 comment
Open

elementary OS 8 install error: error installing packages #868

cameralibre opened this issue Jan 20, 2025 · 1 comment

Comments

@cameralibre
Copy link

What Happened?

I've had multiple failed attempts trying to install elementaryos-8.0-stable.20241122rc.iso on a laptop that previously had an (encrypted) elementary OS 7 installation.

I can run Demo mode, but every combination that I have tried has failed: encrypt/don't encrypt, install / don't install drivers, and erase and install / custom setup (advanced mode).
This feels related to both #520 and #584 but it's not exactly what is described there. (or at least, it's not only what's described there - I initially had errors regarding an LV group that already existed, so I removed all partitions, groups etc and tried again with an empty unpartitioned hard drive)

What is consistent is that each time I have got:

Could Not Install
Installing elementary OS 8 failed, possibly due to a hardware error.

Steps to Reproduce

  1. Confirm hash of downloaded iso
  2. Create bootable USB drive using Etcher
  3. Boot device from the USB drive
  4. Choose to try or install elementary 0S
  5. Set up language & keyboard, connect to Wi-Fi
  6. Attempt to install using 'Erase Disk and Install' option
  7. Choose to encrypt disk using LVM (it doesn't work without encryption either though)
  8. Choose to install drivers (doesn't work without this checked either)
  9. Open the terminal display, the file extraction process begins, and gets to 100%.
  10. Next up some kind of 'configuring system' command starts running
  11. Could Not Install screen appears. When I click on Details, I see:
ERROR: configuring chroot error: error installing packages: command failed with exit status: 100
ERROR: errored while installing system: error installing packages: command failed with exit status: 
exit status: 100
INFO: Install error: error installing packages: command failed with exit status: exit status: 100

Expected Behavior

Installation completes without error

OS Version

8.x (Circe)

Session Type

Classic Session (X11, This is the default)

Software Version

Latest release (I have run all updates)

Log Output

Hardware Info

Lenovo Carbon X1 Carbon
12th Gen Intel Core i7-1260P
Intel Aider Lake-P GT2 (Iris Xe)
32GB RAM, 1TB storage

@cameralibre
Copy link
Author

I had some useful suggestions from Uncle Tallest in the elementary OS discord, but unfortunately didn't get any further.

I tried:

  • all the default US settings for the locale
  • no encryption
  • no installing drivers

Result:

INFO: executing vgcreate with [".ffy", "data", "/dev/nvme0n1p2"]
ERROR: partitioning error: failed to commit logical partitions: unable to create volume group "data" on "/dev/mapper/data": vgcreate failed with exit status: 5
ERROR: errored while installing system: failed to commit logical partitions: unable to create volume group "data"...

Then I tried it, cleaning up the partitions in demo mode first:

  1. lvremove on the root and swap partitions set up during the previous failed install.
  2. fdisk to delete the partitions nvme0n1p1 and nvme0n1p2
  3. reboot

then I tried to install with:

  • US defaults
  • encryption
  • no driver installation

Result: error copying packages

As my failed to commit logical partitions error seems similar to #584 and #859 , I also tried the fix from that issue, but got error copying packages again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant