How can I install cpupower-gui_1.0.0-1_all.deb

Need help with peripherals or devices?
Post Reply
Message
Author
urdrwho10
Posts: 165
Joined: 2020-03-04 21:53
Has thanked: 22 times
Been thanked: 6 times

How can I install cpupower-gui_1.0.0-1_all.deb

#1 Post by urdrwho10 »

This works on LMDE6 but I can't get it to work on Debian 12. I'd like to install cpupower-gui_1.0.0-1_all.deb but when I do it shows a dependency issue. It doesn't say which dependency is missing? I'm kind of surprised that KDE doesn't have a GUI to set a CPU governor.

Code: Select all

https://github.com/vagnum08/cpupower-gui/releases/

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1149
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 100 times
Been thanked: 260 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#2 Post by fabien »

Can you please post the command you are using and its output?
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

urdrwho10
Posts: 165
Joined: 2020-03-04 21:53
Has thanked: 22 times
Been thanked: 6 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#3 Post by urdrwho10 »

Well the git link has a DEB file and I am using Discovery to install it. I'm not good at using terminal commands for Git installs. So unless there is a DEB file for Discover, I'm dead in the water. Using Discovery the error message is Dependency resolution failed.
fabien wrote: 2024-06-28 22:22 Can you please post the command you are using and its output?

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1149
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 100 times
Been thanked: 260 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#4 Post by fabien »

There is a link to a deb file cpupower-gui_1.0.0-1_all.deb
Download it to e.g. /tmp/, the sum is as follow

Code: Select all

$> sha224sum /tmp/cpupower-gui_1.0.0-1_all.deb 
069920a2a087652e8c6aa884759b5f07309d3c220970c24ce00ce01f  /tmp/cpupower-gui_1.0.0-1_all.deb
Post the output of

Code: Select all

$> apt -sV install /tmp/cpupower-gui_1.0.0-1_all.deb
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

urdrwho10
Posts: 165
Joined: 2020-03-04 21:53
Has thanked: 22 times
Been thanked: 6 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#5 Post by urdrwho10 »

I hit select all and placed into terminal. None of the commands ran properly.
fabien wrote: 2024-06-29 00:52 There is a link to a deb file cpupower-gui_1.0.0-1_all.deb
Download it to e.g. /tmp/, the sum is as follow

Code: Select all

$> sha224sum /tmp/cpupower-gui_1.0.0-1_all.deb 
069920a2a087652e8c6aa884759b5f07309d3c220970c24ce00ce01f  /tmp/cpupower-gui_1.0.0-1_all.deb
Post the output of

Code: Select all

$> apt -sV install /tmp/cpupower-gui_1.0.0-1_all.deb

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1149
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 100 times
Been thanked: 260 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#6 Post by fabien »

Paste only the commands:

Code: Select all

sha224sum /tmp/cpupower-gui_1.0.0-1_all.deb

Code: Select all

apt -sV install /tmp/cpupower-gui_1.0.0-1_all.deb
$> represents a simple user prompt, #> the superuser (root) prompt
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

User avatar
sunrat
Site admin
Site admin
Posts: 7320
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 130 times
Been thanked: 640 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#7 Post by sunrat »

I had the old version from Bullseye which still worked after upgrading to Bookworm. I just tried the latest one and it installed and seems to work fine.
As root or sudo from the directory where the .deb is saved:

Code: Select all

apt install ./cpupower-gui_1.0.0-1_all.deb
Make sure you have all the dependencies installed:

Code: Select all

apt list libgtk-3-0 gir1.2-gtk-3.0 python3-gi hicolor-icon-theme policykit-1 python3-dbus libglib2.0-bin python3-xdg libhandy-1-0 dconf-gsettings-backend python3 init-system-helpers
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

urdrwho10
Posts: 165
Joined: 2020-03-04 21:53
Has thanked: 22 times
Been thanked: 6 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#8 Post by urdrwho10 »

First one I get this

Code: Select all

sha224sum: /tmp/cpupower-gui_1.0.0-1_all.deb: No such file or directory
Second one I get this

Code: Select all

Listing... Done
dconf-gsettings-backend/stable,now 0.40.0-4 amd64 [installed,automatic]
gir1.2-gtk-3.0/stable,now 3.24.38-2~deb12u1 amd64 [installed,automatic]
hicolor-icon-theme/stable,now 0.17-2 all [installed,automatic]
init-system-helpers/stable,now 1.65.2 all [installed]
libglib2.0-bin/proposed-updates 2.74.6-2+deb12u3 amd64
libgtk-3-0/stable,now 3.24.38-2~deb12u1 amd64 [installed,automatic]
libhandy-1-0/stable,now 1.8.1-1 amd64 [installed,automatic]
policykit-1/stable 122-3 amd64
python3-dbus/stable,now 1.3.2-4+b1 amd64 [installed,automatic]
python3-gi/stable,now 3.42.2-3+b1 amd64 [installed,automatic]
python3-xdg/stable,now 0.28-2 all [installed,automatic]
python3/stable,now 3.11.2-1+b1 amd64 [installed,automatic]


sunrat wrote: 2024-06-29 05:24 I had the old version from Bullseye which still worked after upgrading to Bookworm. I just tried the latest one and it installed and seems to work fine.
As root or sudo from the directory where the .deb is saved:

Code: Select all

apt install ./cpupower-gui_1.0.0-1_all.deb
Make sure you have all the dependencies installed:

Code: Select all

apt list libgtk-3-0 gir1.2-gtk-3.0 python3-gi hicolor-icon-theme policykit-1 python3-dbus libglib2.0-bin python3-xdg libhandy-1-0 dconf-gsettings-backend python3 init-system-helpers

urdrwho10
Posts: 165
Joined: 2020-03-04 21:53
Has thanked: 22 times
Been thanked: 6 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#9 Post by urdrwho10 »

Code: Select all

apt -sV install /tmp/cpupower-gui_1.0.0-1_all.deb

Code: Select all

Unsupported file /tmp/cpupower-gui_1.0.0-1_all.deb given on commandline
And now through trying different things, I've lost Discover and I have a lot of broken packages that no terminal commands can fix. Or at least commands I have tried.
fabien wrote: 2024-06-29 01:36 Paste only the commands:

Code: Select all

sha224sum /tmp/cpupower-gui_1.0.0-1_all.deb

Code: Select all

apt -sV install /tmp/cpupower-gui_1.0.0-1_all.deb
$> represents a simple user prompt, #> the superuser (root) prompt

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1149
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 100 times
Been thanked: 260 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#10 Post by fabien »

urdrwho10 wrote: 2024-06-29 11:10

Code: Select all

sha224sum: /tmp/cpupower-gui_1.0.0-1_all.deb: No such file or directory
urdrwho10 wrote: 2024-06-29 11:12

Code: Select all

apt -sV install /tmp/cpupower-gui_1.0.0-1_all.deb

Code: Select all

Unsupported file /tmp/cpupower-gui_1.0.0-1_all.deb given on commandline
These commands assume that you have downloaded the deb file to /tmp/. Either download the file to /tmp/ or adapt the command line, for example if you downloaded the file to ~/Downloads/ the commands are

Code: Select all

$> sha224sum ~/Downloads/cpupower-gui_1.0.0-1_all.deb
$> apt -sV install ~/Downloads/cpupower-gui_1.0.0-1_all.deb
urdrwho10 wrote: 2024-06-29 11:12 And now through trying different things, I've lost Discover and I have a lot of broken packages that no terminal commands can fix. Or at least commands I have tried.
We are here to help you. Please don't try different things until you have answered the questions and been given the green light.

Which command told you that you had broken packages?
What commands have you tried to fix the problem?

Can you please post the output of (as simple user)

Code: Select all

$> dpkg -l | grep -v "^ii \|^rc "
and (as superuser)

Code: Select all

#> apt-get check

Code: Select all

#> dpkg --audit && echo "$?"
Each time, please post the command and its entire output.
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

urdrwho10
Posts: 165
Joined: 2020-03-04 21:53
Has thanked: 22 times
Been thanked: 6 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#11 Post by urdrwho10 »

The different things I had been trying was attempting to install from the Git. gir1.2-handy-1_1.2.3-1_amd64.deb
and  libhandy-1-0_1.2.3-1_amd64.modified.deb

Here is a list of my bash of the things I was trying to use from online sources that said these were needed for the install

Code: Select all

sudo apt install pyxdg
sudo aptitude -y install python-pyxdg-doc
sudo aptitude -y install libhandy-1-0
sudo aptitude -y install linux-cpupower
apt update && apt install appstream-util desktop-file-utils
sudo apt update && apt install appstream-util desktop-file-utils
sudo aptitude update && apt install appstream-util desktop-file-utils
sudo aptitude install appstream-util desktop-file-utils
sudo aptitude install  meson ninja-build pkg-config libglib2.0-bin libglib2.0-dev
I lost Discover when I removed the meson ninja build.

Here are responses you asked to see..........................

First response

dpkg -l | grep -v "^ii \|^rc "

Code: Select all

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                          Version                             Architecture Description
+++-=============================================-===================================-============-================================================================================
Next response as sudo
sudo apt-get check

Code: Select all

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Next response as sudo

Code: Select all

sudo dpkg --audit && echo "$?"
0
[/quote]
We are here to help you. Please don't try different things until you have answered the questions and been given the green light.

Which command told you that you had broken packages?
What commands have you tried to fix the problem?

Can you please post the output of (as simple user)

Code: Select all

$> dpkg -l | grep -v "^ii \|^rc "
and (as superuser)

Code: Select all

#> apt-get check

Code: Select all

#> dpkg --audit && echo "$?"
Each time, please post the command and its entire output.
[/quote]

urdrwho10
Posts: 165
Joined: 2020-03-04 21:53
Has thanked: 22 times
Been thanked: 6 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#12 Post by urdrwho10 »

Ok, I have Discover back. I back tracked and saw my problem was with libglib2.0-dev
so I installed it.

Code: Select all

aptitude install libglib2.0-dev
During the process I was taken to many choices and I chose downgrade. After everything settled I did sudo apt-get -y install plasma-discover and now I have Discover back. But my original question is still a problem and that is installing cpupower-gui_1.0.0-1_all.deb.

Maybe I should stop trying. My system is still not as stable as it was before my adventure. On some of the drop down menus there is flickering. I use X-11 and maybe it is also because recently I put backports into the mix???

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1149
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 100 times
Been thanked: 260 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#13 Post by fabien »

Good news, you don't have broken packages (you didn't say which command told you that).
urdrwho10 wrote: 2024-06-29 15:56 The different things I had been trying was attempting to install from the Git. gir1.2-handy-1_1.2.3-1_amd64.deb
and  libhandy-1-0_1.2.3-1_amd64.modified.deb

Here is a list of my bash of the things I was trying to use from online sources that said these were needed for the install
Why do you think you need this? You are trying to install gir1.2-handy-1 and libhandy-1-0 version 1.2.3-1, their version in Bookworm is 1.8.1-1

I asked you the output of

Code: Select all

$> apt -sV install /tmp/cpupower-gui_1.0.0-1_all.deb
it's for a reason.

Can you please post the output of

Code: Select all

$> apt list '?installed?not(?origin(^Debian))'
and

Code: Select all

$> apt policy
urdrwho10 wrote: 2024-06-29 15:56

Code: Select all

sudo aptitude -y install libhandy-1-0
never use -y with aptitude, apt-get or apt. It's dangerous, you're allowing them to do whatever they want without asking you.
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

urdrwho10
Posts: 165
Joined: 2020-03-04 21:53
Has thanked: 22 times
Been thanked: 6 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#14 Post by urdrwho10 »

Shaky hands today - ugh!

Code: Select all

sudo apt -sV install /tmp/cpupower-gui_1.0.0-1_all.deb
[sudo] password for debianjohn: 
Reading package lists... Done
E: Unsupported file /tmp/cpupower-gui_1.0.0-1_all.deb given on commandline

Code: Select all

sudo apt list '?installed?not(?origin(^Debian))'
Listing... Done
microsoft-edge-stable/stable,now 126.0.2592.81-1 amd64 [installed]
mx-cleanup/now 24.4.01 amd64 [installed,local]
mx19-archive-keyring/now 2020.4.29 all [installed,local]

Code: Select all

sudo apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 https://packages.microsoft.com/repos/edge stable/main amd64 Packages
     release o=edge stable,a=stable,n=stable,l=edge stable,c=main,b=amd64
     origin packages.microsoft.com
 500 http://deb.debian.org/debian-security bookworm-security/non-free-firmware amd64 Packages
     release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=non-free-firmware,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages
     release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=main,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian-security bookworm-security/contrib amd64 Packages
     release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=contrib,b=amd64
     origin deb.debian.org
 100 http://deb.debian.org/debian bookworm-backports/non-free amd64 Packages
     release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=non-free,b=amd64
     origin deb.debian.org
 100 http://deb.debian.org/debian bookworm-backports/main amd64 Packages
     release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=main,b=amd64
     origin deb.debian.org
 100 http://deb.debian.org/debian bookworm-backports/contrib amd64 Packages
     release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=contrib,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm-proposed-updates/main amd64 Packages
     release v=12-updates,o=Debian,a=proposed-updates,n=bookworm-proposed-updates,l=Debian,c=main,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm-updates/non-free-firmware amd64 Packages
     release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=non-free-firmware,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm-updates/non-free amd64 Packages
     release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=non-free,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm-updates/main amd64 Packages
     release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=main,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm-updates/contrib amd64 Packages
     release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=contrib,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm/non-free-firmware amd64 Packages
     release v=12.6,o=Debian,a=stable,n=bookworm,l=Debian,c=non-free-firmware,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm/non-free amd64 Packages
     release v=12.6,o=Debian,a=stable,n=bookworm,l=Debian,c=non-free,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm/main amd64 Packages
     release v=12.6,o=Debian,a=stable,n=bookworm,l=Debian,c=main,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bookworm/contrib amd64 Packages
     release v=12.6,o=Debian,a=stable,n=bookworm,l=Debian,c=contrib,b=amd64
     origin deb.debian.org
Pinned packages:
fabien wrote: 2024-06-29 17:00 Good news, you don't have broken packages (you didn't say which command told you that).
urdrwho10 wrote: 2024-06-29 15:56 The different things I had been trying was attempting to install from the Git. gir1.2-handy-1_1.2.3-1_amd64.deb
and  libhandy-1-0_1.2.3-1_amd64.modified.deb

Here is a list of my bash of the things I was trying to use from online sources that said these were needed for the install
Why do you think you need this? You are trying to install gir1.2-handy-1 and libhandy-1-0 version 1.2.3-1, their version in Bookworm is 1.8.1-1

I asked you the output of

Code: Select all

$> apt -sV install /tmp/cpupower-gui_1.0.0-1_all.deb
it's for a reason.

Can you please post the output of

Code: Select all

$> apt list '?installed?not(?origin(^Debian))'
and

Code: Select all

$> apt policy
urdrwho10 wrote: 2024-06-29 15:56

Code: Select all

sudo aptitude -y install libhandy-1-0
never use -y with aptitude, apt-get or apt. It's dangerous, you're allowing them to do whatever they want without asking you.

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1149
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 100 times
Been thanked: 260 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#15 Post by fabien »

Thanks
urdrwho10 wrote: 2024-06-29 20:09

Code: Select all

sudo apt -sV install /tmp/cpupower-gui_1.0.0-1_all.deb
[sudo] password for debianjohn: 
Reading package lists... Done
E: Unsupported file /tmp/cpupower-gui_1.0.0-1_all.deb given on commandline
You don't need sudo yet.

I which directory did you download cpupower-gui_1.0.0-1_all.deb?
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

urdrwho10
Posts: 165
Joined: 2020-03-04 21:53
Has thanked: 22 times
Been thanked: 6 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#16 Post by urdrwho10 »

I got it off of https://github.com/vagnum08/cpupower-gui/releases/

It was downloaded to the download folder.

Just saw this and I'll try to remember.
"never use -y with aptitude, apt-get or apt. It's dangerous, you're allowing them to do whatever they want without asking you."
fabien wrote: 2024-06-29 20:20 Thanks
urdrwho10 wrote: 2024-06-29 20:09

Code: Select all

sudo apt -sV install /tmp/cpupower-gui_1.0.0-1_all.deb
[sudo] password for debianjohn: 
Reading package lists... Done
E: Unsupported file /tmp/cpupower-gui_1.0.0-1_all.deb given on commandline
You don't need sudo yet.

I which directory did you download cpupower-gui_1.0.0-1_all.deb?

urdrwho10
Posts: 165
Joined: 2020-03-04 21:53
Has thanked: 22 times
Been thanked: 6 times

Re: How can I install cpupower-gui_1.0.0-1_all.deb

#17 Post by urdrwho10 »

Hm? Thought I posted this.
Thanks for all your help but I finally got it to install. Installed the DEB file but then no GUI. It wanted Handy installed, so I installed Handy. Then it started and I had the GUI. I rebooted and saw an error that said it can't start the program during boot. Maybe GRUB needs to have an addition.

I have no idea who or why this all worked? I also wonder how much un-needed files were installed and or removed during this experiment.

Post Reply