Duplicate
Details
Assignee
Triage TeamTriage TeamReporter
Matthew KennelMatthew KennelLabels
Components
Fix versions
Affects versions
Priority
Undefined
Details
Details
Assignee
Triage Team
Triage TeamReporter
Matthew Kennel
Matthew KennelLabels
Components
Fix versions
Affects versions
Priority

More fields
More fields
More fields
Katalon Platform
Katalon Platform
Katalon Platform
Created October 18, 2024 at 4:15 PM
Updated October 22, 2024 at 11:38 AM
Resolved October 22, 2024 at 11:37 AM
I checked the box to install nvidia drivers on the apps page and restarted. (There is also a typo in that checkbox, should be "NVIDIA")
This error was shown.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 488, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 535, in __run_body
rv = await self.middleware.run_in_thread(self.method, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1363, in run_in_thread
return await self.run_in_executor(io_thread_pool_executor, method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1360, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/nvidia.py", line 56, in install
with self._install_packages(
File "/usr/lib/python3.11/contextlib.py", line 137, in _enter_
return next(self.gen)
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/nvidia.py", line 89, in _install_packages
subprocess.run(["apt", "update"], **kwargs)
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['apt', 'update']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 492, in run
raise handled
middlewared.service_exception.CallError: [EFAULT] Command apt update failed (code 1):
Package management tools are disabled on TrueNAS appliances.
Attempting to update SCALE with apt or methods other than the SCALE web
interface can result in a nonfunctional system.
Session ID: 62011efd-16fe-f780-192b-99b08bba2579