Bug 2244794 - pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] Adresář nebo soubor neexistuje: '/usr/sbin/updateloaderentries'
Summary: pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] Adresář neb...
Keywords:
Status: CLOSED DUPLICATE of bug 2234638
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 39
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: anaconda-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:07f403568b86dd30dc54caecf22...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-18 09:30 UTC by Lukas Ruzicka
Modified: 2023-10-19 00:27 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-10-19 00:27:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (2.24 MB, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details
File: backtrace (3.45 KB, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details
File: os_info (734 bytes, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details
File: environ (574 bytes, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details
File: journalctl (1.61 MB, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details
File: description (3.42 KB, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details
File: storage.log (525.06 KB, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details
File: packaging.log (35.46 KB, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details
File: program.log (18.76 KB, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details
File: nmcli_dev_list (1.52 KB, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details
File: anaconda.log (44.55 KB, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details
File: lsblk_output (2.52 KB, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details
File: dbus.log (7.81 KB, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details
File: packaging.log (35.46 KB, text/plain)
2023-10-18 09:31 UTC, Lukas Ruzicka
no flags Details

Description Lukas Ruzicka 2023-10-18 09:30:57 UTC
Description of problem:
When trying to boot with inst.sdboot on EFI, Anaconda throws the following error during installation when trying to install the bootloader.

Version-Release number of selected component:
anaconda-core-39.32.6-1.fc39.x86_64


The following was filed automatically by anaconda:
anaconda 39.32.6 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 450, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 439, in run_install_bootloader
    sync_run_task(STORAGE.get_proxy(task))
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 246, in _run
    self._task_cb(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 515, in _run_installation
    queue.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 80, in run
    self._run_installation(
  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/common/task/task.py", line 94, in _thread_run_callback
    self._task_run_callback()
  File "/usr/lib64/python3.12/threading.py", line 989, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 280, in run
    threading.Thread.run(self)
  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/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/ui/gui/spokes/installation_progress.py", line 75, in _on_installation_done
    self._task.finish()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/signal.py", line 41, in emit
    func(obj, *args, **kargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/runnable.py", line 115, in _task_stopped_callback
    self._stopped_signal.emit()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/async_utils.py", line 68, in _idle_method
    func(*args, **kwargs)
pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] Adresář nebo soubor neexistuje: '/usr/sbin/updateloaderentries'

Additional info:
comment:        When trying to boot with inst.sdboot on EFI, Anaconda throws the following error during installation when trying to install the bootloader.
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
executable:     /sbin/anaconda
hashmarkername: anaconda
product:        Fedora
package:        anaconda-core-39.32.6-1.fc39.x86_64
reason:         pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] Adresář nebo soubor neexistuje: '/usr/sbin/updateloaderentries'
type:           anaconda
release:        Fedora release 39 (Thirty Nine)
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-39-20231017-n-0 rd.live.image quiet rhgb inst.sdboot
addons:         com_redhat_kdump
kernel:         6.5.6-300.fc39.x86_64
version:        39
other involved packages: python3-libs-3.12.0-1.fc39.x86_64, anaconda-gui-39.32.6-1.fc39.x86_64, python3-dasbus-1.7-4.fc39.noarch

Comment 1 Lukas Ruzicka 2023-10-18 09:31:06 UTC
Created attachment 1994402 [details]
File: anaconda-tb

Comment 2 Lukas Ruzicka 2023-10-18 09:31:07 UTC
Created attachment 1994403 [details]
File: backtrace

Comment 3 Lukas Ruzicka 2023-10-18 09:31:10 UTC
Created attachment 1994404 [details]
File: os_info

Comment 4 Lukas Ruzicka 2023-10-18 09:31:12 UTC
Created attachment 1994405 [details]
File: environ

Comment 5 Lukas Ruzicka 2023-10-18 09:31:17 UTC
Created attachment 1994406 [details]
File: journalctl

Comment 6 Lukas Ruzicka 2023-10-18 09:31:19 UTC
Created attachment 1994407 [details]
File: description

Comment 7 Lukas Ruzicka 2023-10-18 09:31:21 UTC
Created attachment 1994408 [details]
File: storage.log

Comment 8 Lukas Ruzicka 2023-10-18 09:31:23 UTC
Created attachment 1994409 [details]
File: packaging.log

Comment 9 Lukas Ruzicka 2023-10-18 09:31:25 UTC
Created attachment 1994410 [details]
File: program.log

Comment 10 Lukas Ruzicka 2023-10-18 09:31:27 UTC
Created attachment 1994411 [details]
File: nmcli_dev_list

Comment 11 Lukas Ruzicka 2023-10-18 09:31:29 UTC
Created attachment 1994412 [details]
File: anaconda.log

Comment 12 Lukas Ruzicka 2023-10-18 09:31:31 UTC
Created attachment 1994413 [details]
File: lsblk_output

Comment 13 Lukas Ruzicka 2023-10-18 09:31:32 UTC
Created attachment 1994414 [details]
File: dbus.log

Comment 14 Lukas Ruzicka 2023-10-18 09:31:34 UTC
Created attachment 1994415 [details]
File: packaging.log

Comment 15 František Zatloukal 2023-10-18 11:11:02 UTC
/usr/sbin/updateloaderentries is provided by the sdubby package, do you have it installed?

Comment 16 Lukas Ruzicka 2023-10-18 11:52:28 UTC
I have nothing installed, because I am using it with the Live image. It may not be part of the image though and therefore it does not work. I realized that this bug is probably a duplicate of 2234638.

Comment 17 František Zatloukal 2023-10-18 11:53:42 UTC
(In reply to Lukas Ruzicka from comment #16)
> I have nothing installed, because I am using it with the Live image. It may
> not be part of the image though and therefore it does not work. I realized
> that this bug is probably a duplicate of 2234638.

Well, you can verify if it's there and install it via dnf if it's missing (even on live images).

Comment 18 Adam Williamson 2023-10-19 00:27:46 UTC
yeah, this is known/expected. inst.sdboot cannot work on lives. it can only work on netinsts and possibly the server DVD (I lost track of whether we merged enough changes to make it work on the server DVD). as you figured out, Lukas, https://bugzilla.redhat.com/show_bug.cgi?id=2234638 is the bug for disabling it properly on the images where it cannot work.

*** This bug has been marked as a duplicate of bug 2234638 ***


Note You need to log in before you can comment on or make changes to this bug.