System76-driver update error

Hello team -
I’m running Plasma 5.26.5 on Kernel 5.15.102-1, on a System76 Galago Pro

I was recently prompted to update the system76-driver but am getting the error shown below. Any advice troubleshooting would be great. To me it looks like a build issue but my view is not too informed… If there are steps I can take I’m happy to do so.

==> Starting pkgver()...
==> Starting build()...
* Getting build dependencies for wheel...
/usr/lib/python3.10/site-packages/setuptools/ UserWarning: Normalizing '20.04.78' to '20.4.78'
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/", line 353, in <module>
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/", line 118, in get_requires_for_build_wheel
    return hook(config_settings)
  File "/usr/lib/python3.10/site-packages/setuptools/", line 338, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=['wheel'])
  File "/usr/lib/python3.10/site-packages/setuptools/", line 320, in _get_build_requires
  File "/usr/lib/python3.10/site-packages/setuptools/", line 484, in run_setup
  File "/usr/lib/python3.10/site-packages/setuptools/", line 335, in run_setup
    exec(code, locals())
  File "<string>", line 83, in <module>
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/", line 185, in setup
    return run_commands(dist)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/", line 201, in run_commands
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/", line 969, in run_commands
  File "/usr/lib/python3.10/site-packages/setuptools/", line 1221, in run_command
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/", line 987, in run_command
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/", line 111, in ensure_finalized
  File "/usr/lib/python3.10/site-packages/setuptools/command/", line 253, in finalize_options
    if pd is not None and pd.key == self.egg_name.lower():
AttributeError: 'PathDistribution' object has no attribute 'key'

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
==> ERROR: A failure occurred in build().
Finished with result: exit-code
Main processes terminated with: code=exited/status=4
Service runtime: 2.452s
CPU time consumed: 2.285s


Have you read the pinned comment by @Yochanan on the package page AUR (en) - system76-driver ?

Also, make sure your system is fully updated before building system76-driver package:
sudo pacman-mirrors -f5 && sudo pacman -Syyu

I’ve unpinned that comment, it’s no longer relevant.

Recent comments there divulge that the issue was with SetupTools and was fixed with 67.3.2. However, the Manjaro stable branch still has 67.3.0. Switch to the testing or unstable branch for a newer version.

1 Like


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.