Aurelien,

Many thanks for your support...and of course your good idea (!)

ansible@srv-owncloud-100:~$ sudo  apt remove --purge lm-sensors libsensors*

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libsensors4-dev' for glob 'libsensors*'
Note, selecting 'libsensors-dev' for glob 'libsensors*'
Note, selecting 'libsensors-config' for glob 'libsensors*'
Note, selecting 'libsensors-applet-plugin0' for glob 'libsensors*'
Note, selecting 'libsensors4' for glob 'libsensors*'
Note, selecting 'libsensors5' for glob 'libsensors*'
Note, selecting 'libsensors-applet-plugin-dev' for glob 'libsensors*'
Package 'libsensors4' is not installed, so not removed
Package 'libsensors4-dev' is not installed, so not removed
Package 'libsensors-applet-plugin-dev' is not installed, so not removed
Package 'libsensors-applet-plugin0' is not installed, so not removed
The following packages will be REMOVED:
ffmpeg* libavdevice58* libgl1* libgl1-mesa-dri* libglx-mesa0* libglx0* libsensors-config* libsensors5* lm-sensors*
0 upgraded, 0 newly installed, 9 to remove and 1 not upgraded.
After this operation, 153 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 36267 files and directories currently installed.)
Removing ffmpeg (7:4.1.1-1) ...
Removing libavdevice58:amd64 (7:4.1.1-1) ...
Removing libgl1:amd64 (1.1.0-1) ...
Removing libglx0:amd64 (1.1.0-1) ...
Removing libglx-mesa0:amd64 (18.3.4-2) ...
Removing libgl1-mesa-dri:amd64 (18.3.4-2) ...
Removing lm-sensors (1:3.5.0-3) ...
Removing libsensors5:amd64 (1:3.5.0-3) ...
Removing libsensors-config (1:3.5.0-3) ...
Processing triggers for libc-bin (2.28-8) ...
(Reading database ... 36137 files and directories currently installed.)
Purging configuration files for libsensors-config (1:3.5.0-3) ...
Purging configuration files for lm-sensors (1:3.5.0-3) ...
Purging configuration files for ffmpeg (7:4.1.1-1) ...

You can close this bug, it was a problem of dependencies with other
packages for an unknown reason, because for my point of view, none
stretch-backports can be installed according to my preferences.

Regards


Le 23/04/2019 à 16:27, Aurelien Jarno a écrit :
On 2019-04-23 15:55, Jean-Marc LACROIX wrote:
When i launch following command ...

ansible@srv-owncloud-100:~$ sudo apt install lm-sensors
Reading package lists... Done
Building dependency tree
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:
  lm-sensors : Depends: libsensors4 (>= 1:3.1.1) but it is not going to be
installed
E: Unable to correct problems, you have held broken packages.

I believe libsensors4 can't be installed as libsensors5 from Buster is
already installed on your system, probably as a dependency of another
package. You can't install both at the same time.

It is installable without issue on a pure Stretch system.

But it is possible to install Buster release without any others errors


ansible@srv-owncloud-100:~$ sudo apt -t buster install lm-sensors
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
   fancontrol read-edid i2c-tools
The following NEW packages will be installed:
   lm-sensors
0 upgraded, 1 newly installed, 0 to remove and 225 not upgraded.
Need to get 114 kB of archives.
After this operation, 412 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian buster/main amd64 lm-sensors amd64
1:3.5.0-3 [114 kB]
Fetched 114 kB in 0s (451 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package lm-sensors.
(Reading database ... 36231 files and directories currently installed.)
Preparing to unpack .../lm-sensors_1%3a3.5.0-3_amd64.deb ...
Unpacking lm-sensors (1:3.5.0-3) ...
Setting up lm-sensors (1:3.5.0-3) ...

ansible@srv-owncloud-100:~$

This actually confirms the issue. lm-sensors 1:3.5.0-3 requires
libsensors5. As it doesn't get installed, it means that you already have
it installed on your system.

Therefore you should try to remove libsensors5 and all the depending
packages. Then you should be able to install lm-sensors and libsensors4
from Stretch.


Reply via email to