The officially official Devuan Forum!

You are not logged in.

#1 2024-07-07 11:26:29

Micronaut
Member
Registered: 2019-07-04
Posts: 226  

hddtemp not available in Daedalus

After upgrading a system from Devuan 4 to 5, everything important seems to work, but there is one strange quirk. The hddtemp package is present in the repositories. I can find it with search. But it's not installable. When I try it says "no candidate version found". What does that mean? Anything in the repositories is supposed to be working, not a 'candidate'.

Offline

#2 2024-07-07 12:12:19

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,236  

Re: hddtemp not available in Daedalus

What do you get from:

apt-cache policy hddtemp

Offline

#3 2024-07-07 12:46:00

rolfie
Member
Registered: 2017-11-25
Posts: 1,160  

Re: hddtemp not available in Daedalus

hddtemp has been removed as depracated. Its a pitty, but also a fact.

Offline

#4 2024-07-07 13:25:30

Micronaut
Member
Registered: 2019-07-04
Posts: 226  

Re: hddtemp not available in Daedalus

hddtemp:
  Installed: (none)
  Candidate: (none)
  Version table:
     0.3-beta15-54 -1
        100 /var/lib/dpkg/status

Why would they remove it? Was it causing some sort of problem? That's really annoying since Gkrellm needs it to read HD temp. Is there a replacement? How difficult would it be to get Gkrellm to use the standard Smartmon interface?

Offline

#5 2024-07-07 14:16:22

rolfie
Member
Registered: 2017-11-25
Posts: 1,160  

Re: hddtemp not available in Daedalus

AFAIK because there is no more maintainer for quite a while.

And no direct replacement.

Last edited by rolfie (2024-07-07 14:16:57)

Offline

#6 2024-07-07 16:27:42

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,478  

Re: hddtemp not available in Daedalus

If you're lucky, the hard drive reports temperature in degrees centigrade.

smartctl -a /dev/sda | awk '/Temperature/ { print $10 }'

Offline

#7 2024-07-07 18:00:44

Altoid
Member
Registered: 2017-05-07
Posts: 1,569  

Re: hddtemp not available in Daedalus

Hello:

I'll add my bit.

fsmithred wrote:

What do you get ...

~$ apt-cache policy hddtemp
hddtemp:
  Installed: 0.3-beta15-54
  Candidate: 0.3-beta15-54
  Version table:
 *** 0.3-beta15-54 100
        100 /var/lib/dpkg/status
~$ 

Just to round it out:

~$ uname -a                
Linux devuan 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux
~$ 
~$ apt list | grep installed | grep hddtemp 
--- snip ---
hddtemp/now 0.3-beta15-54 amd64 [installed,local]
~$ 
fsmithred wrote:

If you're lucky ...

Yep ...

~$ hddtemp /dev/sdc
/dev/sdc: HITACHI HUS153030VLS300: 36 C
~$ 

Edit:

hddtemp is what provides conky the data for its screen printout in my desktop.
eg:

SATA0: +${execi 60  hddtemp /dev/disk/by-uuid/xxxxxxx-exxb-xcxx-xcxx-xaxcxbafexdx | cut -c 81-86}

Best,

A.

Last edited by Altoid (2024-07-07 18:09:39)

Offline

#8 2024-07-07 19:32:42

rolfie
Member
Registered: 2017-11-25
Posts: 1,160  

Re: hddtemp not available in Daedalus

hddtemp=0.3-beta15-54 is the Chimaera version. When you upgrade you may keep it.

Offline

#9 2024-07-07 19:44:50

alexkemp
Member
Registered: 2018-05-14
Posts: 338  

Re: hddtemp not available in Daedalus

Ah bum (the following is under Daedalus, also with the 6.1.0-22-amd64 kernel:

$ apt-cache policy hddtemp
hddtemp:
  Installed: (none)
  Candidate: (none)
  Version table:
     0.3-beta15-54 -1
        100 /var/lib/dpkg/status
$ sudo apt install hddtemp
[sudo] password for alexk: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package hddtemp is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'hddtemp' has no installation candidate

Offline

#10 2024-07-07 21:13:41

Altoid
Member
Registered: 2017-05-07
Posts: 1,569  

Re: hddtemp not available in Daedalus

Hello:

rolfie wrote:

... 0.3-beta15-54 is the Chimaera version. When you upgrade ...

I see ...
I had it in Beowulf and upgraded sequencially (ie: via Chimaera) to Daedalus.

@Micronaut
You could try downloading the *deb package from the Chimaera repository and then install it with the Gdebi package installer, apt or dpkg.

See here for the hows and whys.

Best,

A.

Last edited by Altoid (2024-07-07 21:14:42)

Offline

#11 2024-07-08 01:56:03

soren
Member
Registered: 2023-04-30
Posts: 142  

Re: hddtemp not available in Daedalus

fsmithred wrote:

If you're lucky, the hard drive reports temperature in degrees centigrade.

smartctl -a /dev/sda | awk '/Temperature/ { print $10 }'

Might be a bit of difference with nvme and sata disks. I put a colon next to "Temperature" to get just the main temp, as my nvme drive lists warning and critical temps as well. But yeah this works well, same sort of readout you can get from hddtemp.

sudo smartctl -a /dev/nvme0n1 | awk '/Temperature:/ { print $0 }'

Offline

Board footer