-
-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cant open auto-cpufreq in a fresh installed kubuntu #574
Comments
Hi, please update to the latest version and try again |
Exact same issue with latest version on Fedora Silverblue. Advice / questions for further diagnosis? |
I wasn't able to reproduce this in Ubuntu
I tried testing in a docker container and it wasn't able to work. I know we have had issues with Silverblue in the past. I know very little about Silverblue but it seems it doesn't use yum which auto-cpufreq tries to use to install the necessary dependencies. I was unsuccessful getting the packages to install in the docker container with I might try Silverblue in a VM and see if that works better. @atimeofday If you want to take a look, here is the function in the installer that handles package installs |
@shadeyg56 Silverblue is "immutable" / container-native Fedora. Everything that can be run in a container - is. Flatpak, distrobox, then local filesystem, then layering apps/dependencies into the base image with rpm-ostree as a last resort. Auto-cpufreq was patched to install in a local fallback location instead of the top-level, write-protected /usr, which appears to still be the case. However, that does not account for the new dependencies. Would it be possible to install auto-cpufreq and its dependencies in a distrobox (docker) container, and manage the host hardware from there? I see that function has some instructions for new-distro-support PRs - I can open one up separate from this if necessary. I missed that and the dependencies list during installation because it detected Fedora. I think that function is enough of a lead that I can ask some experts on that sort of containerization from the Universal Blue project, which is technically how I'm using Silverblue. Thanks for that link! |
Yes, using distrobox would probably be your best alternative. As far as I know, this should work but am not 100% sure since auto-cpufreq requires a system service and I'm not sure how distrobox handles that.
Yes, its pretty trivial to add new distros. The main issue I see is when looking at |
@hh9515 I believe I saw a series of additional manual setup steps for the snap package. Have you tried using the installer script instead? |
@hh9515 yeah agreeing with that the other guy said, if you look at this part of the README that recommends installing from the repo with the installer script. We aren't really actively working on or testing the Snap package much anymore. |
@hh9515 The Last line in the output clearly declares the missing python Package PyGObject as follows : Which can be installed in either of the two ways. Linux Safe way is using the system package manager. But the alternaive uses the python package manger (pip) which is known to cause issues with the system package manager. So, you can install it in the linux 🐧 safe way using the following command
Or, if u want the alternative 🛑 way, the following command will help (Try only if the above command doesn't work)
|
@rootCircle since you added initial support for pyproject.toml as part of #576 do you have any opinions on this, same thing with #601? @Thunder-Ultra my preferred solution and direction we're going in with this project is to have .deb or i.e .rpm packages as part each releases and ideally have auto-cpufreq as part of Debian repositories for which there's already an auto-cpufreq Debian RFP. | Other reference: #157 Then you'd intrinsically down this path:
Because all of these packages would be listed as part of dependencies when auto-cpufreq is build and would be installed when auto-cpufreq is installed. Then after installation you'd immediately have auto-cpufreq CLI ready to go or auto-cpufreq icon/desktop entry if you wanted to install it using GUI. |
I don't have much conceptual idea about immutable OS(Fedora Silverblue in general), but specifying external dependencies is still not supported yet with pyproject.toml! See RFC. If implemented soon, it can offload lots of installation script work to minimum. Till then installation script or this can help! Packaging might help a lot in current case for general users! ➕ This might be helpful by the way Installing packages to /opt or /usr/local (Silverblue) |
Fill out information requested in this template, without doing so issue will be ignored & closed!
Have you tried?
Error output:
System information:
Add/paste output of:
Also please be descriptive about the issue you're reporting, i.e: what you tried & what's the expected behaviour.
The text was updated successfully, but these errors were encountered: