Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Cannot install lm-sensors

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Jimmy121
Posts: 11
Joined: 2018-10-15 14:35

Cannot install lm-sensors

#1 Post by Jimmy121 »

Hello,
I've installed Debian 11 on an old laptop without any DE. I'm trying to install

Code: Select all

lm-sensors
from the repositories but I get this instead:

Code: Select all

[root@presario2100 jimmy]> apt install lm-sensors
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 perl : Depends: perl-base (= 5.32.1-4+deb11u1) but 5.32.1-4+deb11u2 is to be installed
E: Unable to correct problems, you have held broken packages.
Is there a way to fix this? If not, are there any other software options (command-line only) that can pull temperature information about my system?
Thanks

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: Cannot install lm-sensors

#2 Post by Aki »

Hello,
You can try to type the following commands:

Code: Select all

apt update
apt full-upgrade
apt install lm-sensors 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: Cannot install lm-sensors

#3 Post by 4D696B65 »

Please post your sources.list

Jimmy121
Posts: 11
Joined: 2018-10-15 14:35

Re: Cannot install lm-sensors

#4 Post by Jimmy121 »

Code: Select all

[jimmy@presario2100 ~]> cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 11.1.0 _Bullseye_ - Official i386 NETINST 20211009-10:11]/ bullseye main

#deb cdrom:[Debian GNU/Linux 11.1.0 _Bullseye_ - Official i386 NETINST 20211009-10:11]/ bullseye main

deb http://debian.noc.ntua.gr/debian/ bullseye main
deb-src http://debian.noc.ntua.gr/debian/ bullseye main

deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
# Line commented out by installer because it failed to verify:
#deb http://debian.noc.ntua.gr/debian/ bullseye-updates main
# Line commented out by installer because it failed to verify:
#deb-src http://debian.noc.ntua.gr/debian/ bullseye-updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

Jimmy121
Posts: 11
Joined: 2018-10-15 14:35

Re: Cannot install lm-sensors

#5 Post by Jimmy121 »

Aki wrote: 2021-10-22 15:10 Hello,
You can try to type the following commands:

Code: Select all

apt update
apt full-upgrade
apt install lm-sensors 
Still the same error.

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Cannot install lm-sensors

#6 Post by sunrat »

Probably a repo mirror error, maybe it is behind updating. Here perl dependencies are correct:

Code: Select all

apt depends perl
perl
...
  Depends: perl-base (= 5.32.1-4+deb11u2)
...

Code: Select all

apt list perl-base
Listing... Done
perl-base/stable,now 5.32.1-4+deb11u2 amd64 [installed]
Try a different repo mirror. deb.debian.org is usually the best these days, it goes through a CDN so can switch to the best mirror automatically.

Code: Select all

deb http://deb.debian.org/debian/ bullseye main
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Jimmy121
Posts: 11
Joined: 2018-10-15 14:35

Re: Cannot install lm-sensors

#7 Post by Jimmy121 »

sunrat wrote: 2021-10-23 10:56 Probably a repo mirror error, maybe it is behind updating. Here perl dependencies are correct:

Code: Select all

apt depends perl
perl
...
  Depends: perl-base (= 5.32.1-4+deb11u2)
...

Code: Select all

apt list perl-base
Listing... Done
perl-base/stable,now 5.32.1-4+deb11u2 amd64 [installed]
Try a different repo mirror. deb.debian.org is usually the best these days, it goes through a CDN so can switch to the best mirror automatically.

Code: Select all

deb http://deb.debian.org/debian/ bullseye main
That did the trick, thank you very much!

Post Reply