vagnum08 / cpupower-gui

cpupower-gui is a graphical program that is used to change the scaling frequency limits of the cpu, similar to cpupower.
GNU General Public License v3.0
476 stars 31 forks source link

Can't install under Ubuntu 20.04 (Linux Mint) #68

Closed All3xJ closed 2 years ago

All3xJ commented 3 years ago

Describe the bug I followed "Debian/Ubuntu and derivatives" guide in the README.

echo 'deb http://download.opensuse.org/repositories/home:/erigas:/cpupower-gui/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:erigas:cpupower-gui.list
curl -fsSL https://download.opensuse.org/repositories/home:erigas:cpupower-gui/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home:erigas:cpupower-gui.gpg > /dev/null
sudo apt update

I receive this error after apt update:

W: No Hash entry in the Release /var/lib/apt/lists/partial/download.opensuse.org_repositories_home:_erigas:_cpupower-gui_xUbuntu%5f20.04_InRelease file
E: The "http://download.opensuse.org/repositories/home:/erigas:/cpupower-gui/xUbuntu_20.04 InRelease" repository only provides weak security information.
N: Upgrading from this repository cannot be done securely and is therefore disabled by default.
N: See the apt-secure(8) man page for repository creation and user configuration.

Setup (please complete the following information):

supdrewin commented 3 years ago

repos xUbuntu_20.04 is now empty, try this following instead:

echo 'deb https://download.opensuse.org/repositories/home:/erigas:/cpupower-gui/xUbuntu_20.10/ /' | sudo tee /etc/apt/sources.list.d/home:erigas:cpupower-gui.list
curl -fsSL https://download.opensuse.org/repositories/home:erigas:cpupower-gui/xUbuntu_20.10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home:erigas:cpupower-gui.gpg

Also, you may need to upgrade your ubuntu to 20.10 or later because focal don't provide a libhandy-1-dev package for install the needed depends.

All3xJ commented 3 years ago

Also, you may need to upgrade your ubuntu to 20.10 or later because focal don't provide a libhandy-1-dev package for install the needed depends.

Isn't there any way to install it if I am not under 20.10 without compile it?

supdrewin commented 3 years ago

Maybe you can try this: https://launchpad.net/~apandada1/+archive/ubuntu/libhandy-1

shawnwall commented 3 years ago

noting that if ubuntu 20.04 is not supported, the README should probably be updated to remove/update the example install lines for "Debian/Ubuntu and derivatives".

vagnum08 commented 3 years ago

Due to library dependencies different versions of cpupower-gui can be installed on different versions of Ubuntu.

For exaple version 1.0.0 needs the libhandy library which is available from 20.10 onwards, unless you manually compile it or find a package for an older Ubuntu version.

That said, I will update that section to mention how to install the various versions for the various releases.

vagnum08 commented 2 years ago

This was resolved in #80.

Debian packages for Linux Mint 20.3 are available from the Releases page.