Topic: [solved] cpu-autofreq --install fails
Under my system
5.10.106-gnu1-1-lts
auto-cpufreq fails to initialize after installed from pacman:
I can't make heads or tails of this error..
$ doas auto-cpufreq --install
--------------------- Deploying auto-cpufreq as a daemon ----------------------
* Turn off bluetooth on boot [skipping] (package providing bluetooth access is not present)
* Deploy auto-cpufreq install script
Traceback (most recent call last):
File "/usr/bin/auto-cpufreq", line 207, in <module>
main()
File "/usr/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/click/core.py", line 1062, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.8/site-packages/click/core.py", line 763, in invoke
return __callback(*args, **kwargs)
File "/usr/bin/auto-cpufreq", line 184, in main
deploy_daemon()
File "/usr/lib/python3.8/site-packages/auto_cpufreq/core.py", line 353, in deploy_daemon
shutil.copy(SCRIPTS_DIR / "auto-cpufreq-install.sh", "/usr/bin/auto-cpufreq-install")
File "/usr/lib/python3.8/shutil.py", line 415, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.8/shutil.py", line 261, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/auto-cpufreq/scripts/auto-cpufreq-install.sh'