ublue-os / bazzite

Bazzite is a custom image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.
https://bazzite.gg
Apache License 2.0
3.73k stars 219 forks source link

Unable to install Bazzite (Gnome) on Legion Go #1248

Open gbraad opened 3 months ago

gbraad commented 3 months ago

Describe the bug

I have tried different layout (automatic and manual), but every time I get the following error when performing the install: ostree container image deploy --sysroot=/mnt/sysimage --image=/run/install/repo/bazzite-deck-gnome-stable --transport=oci --no-signature-verification' exited with the code 1

The error is recorded in packaging.log as follows;

INFO:program:error: Performing deployment: Importing: Unencapsulating base: Layer sha256:f987457a2b394efbad41f8e1826ebddffdd7eb0ac8b1ac65a603ccd721b69134: Importing objects: archive header checksum mismatch
DEBUG:program:Return code: 1
INFO:anaconda.core.threads:Thread Failed: AnaTaskThread-DeployOSTreeTask-1 (140376400725696)
ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-DeployOSTreeTask-1 has failed: Traceback (most recent call last):
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 280, in run
    threading.Thread.run(self)
  File "/usr/lib64/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 94, in _thread_run_callback
    self._task_run_callback()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 107, in _task_run_callback
    self._set_result(self.run())
                     ^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py", line 621, in run
    safe_exec_with_redirect(
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py", line 54, in safe_exec_with_redirect
    raise PayloadInstallationError(
pyanaconda.modules.common.errors.installation.PayloadInstallationError: The command 'ostree container image deploy --sysroot=/mnt/sysimage --image=/run/install/repo/bazzite-deck-gnome-stable --transport=oci --no-signature-verification' exited with the code 1.

INFO:anaconda.core.threads:Thread Done: AnaTaskThread-DeployOSTreeTask-1 (140376400725696)
WARNING:dasbus.server.handler:The call org.fedoraproject.Anaconda.Task.Finish has failed with an exception:
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/dasbus/server/handler.py", line 455, in _method_callback
    result = self._handle_call(
             ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/dasbus/server/handler.py", line 265, in _handle_call
    return handler(*parameters, **additional_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task_interface.py", line 114, in Finish
    self.implementation.finish()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 173, in finish
    thread_manager.raise_if_error(self._thread_name)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 171, in raise_if_error
    raise exc_info[1]
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 280, in run
    threading.Thread.run(self)
  File "/usr/lib64/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 94, in _thread_run_callback
    self._task_run_callback()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 107, in _task_run_callback
    self._set_result(self.run())
                     ^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py", line 621, in run
    safe_exec_with_redirect(
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py", line 54, in safe_exec_with_redirect
    raise PayloadInstallationError(
pyanaconda.modules.common.errors.installation.PayloadInstallationError: The command 'ostree container image deploy --sysroot=/mnt/sysimage --image=/run/install/repo/bazzite-deck-gnome-stable --transport=oci --no-signature-verification' exited with the code 1.

I have also performed a redownload and media checks, but it seems even this fails

Any advice on how to progress?

What did you expect to happen?

Install succeeds

Output of rpm-ostree status

N/A

Hardware

Legion Go

Extra information or context

No response

gbraad commented 3 months ago

Now trying with the KDE image ~and seems to take much longer at this step,~ ... which works!

Vetaliibein commented 3 months ago

what did you do to fix this problem? I can't install KDE ![Uploading PXL_20240630_151618721.MP.jpg…]()

KyleGospo commented 3 months ago

The error pictured will happen if your EFI partition has data in it still. Just clear the drive and you should be able to install either image.

Vetaliibein commented 3 months ago

Изображенная ошибка произойдет, если в вашем разделе EFI все еще есть данные. Просто очистите диск, и вы сможете установить любой образ.

Fine. I wanted to leave Windows to update the bios. I'll try to delete everything to hell

gbraad commented 3 months ago

if so, why is the KDE image working and gnome not? i have been able to set up a dualboot with the KDE image, but failed using Gnome.

note: media check failed for the gnome iso, so something about this image ain't ok

Vetaliibein commented 3 months ago

nothing works for me. uninstalled windows. I deleted everything to hell and it still doesn’t work. what should I do? I’ve been sitting here for 12 hours

gbraad commented 3 months ago

can you run the check install media to ensure the media is correct? i am not convinced you are seeing the same issue as I did, as the same Gnome install media also didnt work in a VM (it errors with a checksum issue)

On Mon, Jul 1, 2024, 00:58 Vetaliibein @.***> wrote:

nothing works for me. uninstalled windows. I deleted everything to hell and it still doesn’t work. what should I do? I’ve been sitting here for 12 hours

— Reply to this email directly, view it on GitHub https://github.com/ublue-os/bazzite/issues/1248#issuecomment-2198620932, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAAOZW3OKOW7W5RGXY53K3ZKA2K3AVCNFSM6AAAAABJVYIR4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGYZDAOJTGI . You are receiving this because you authored the thread.Message ID: @.***>

Vetaliibein commented 3 months ago

can you run the check install media to ensure the media is correct? i am not convinced you are seeing the same issue as I did, as the same Gnome install media also didnt work in a VM (it errors with a checksum issue)

On Mon, Jul 1, 2024, 00:58 Vetaliibein @.***> wrote:

nothing works for me. uninstalled windows. I deleted everything to hell and it still doesn’t work. what should I do? I’ve been sitting here for 12 hours

— Reply to this email directly, view it on GitHub https://github.com/ublue-os/bazzite/issues/1248#issuecomment-2198620932, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAAOZW3OKOW7W5RGXY53K3ZKA2K3AVCNFSM6AAAAABJVYIR4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGYZDAOJTGI . You are receiving this because you authored the thread.Message ID: @.***>

Yes, I installed Gnome last night, and installed KDE and downloaded a new iso. so it seems the iso itself was not working. I just didn't want to believe it, thanks for the help

gbraad commented 2 months ago

@KyleGospo @castrojo

Another confirmation that the GNOME-based installation media is broken. This does not seem to be Legion Go specific as this also happens in a VM.

KyleGospo commented 2 months ago

@KyleGospo @castrojo

Another confirmation that the GNOME-based installation media is broken. This does not seem to be Legion Go specific as this also happens in a VM.

I just installed the gnome version of bazite on my Legion Go two days ago, no issues.

I cannot reproduce this problem.

kylerm42 commented 2 weeks ago

Wanted to add that I did get the checksum mismatch error when selecting the "Test media and install Bazzite" option. However, when selecting the "Install Bazzite" option without the check (living life on the edge), install worked just fine.