Subject: fhem fails to update from v6.0.24448 to v6.0.24458

From: "Joerg Schiermeier, Bielefeld/Germany" <[email-masked]>
Date: Mon, 17 May 2021 18:46:41 +0200

Package: fhem
Version: 6.0.24458
Severity: grave

Hello!

I tried to dist-upgrade my installation and the package fhem fails after installing the new packe during configuration of fhem and quitts with this message:

- ---// apt-get install fhem //---
Reading package lists... Done
Building dependency tree
Reading state information... Done
fhem is already the newest version (6.0.24458).
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
[master decf234] saving uncommitted changes in /etc prior to apt run
 Author: Joerg Schiermeier, Bielefeld <joerg@Pythagoras>
 2 files changed, 2 insertions(+), 2 deletions(-)
Setting up fhem (6.0.24458) ...
creating user fhem
useradd: Can't get unique UID (no more available UIDs)
useradd: can't create user
dpkg: error processing package fhem (--configure):
 installed fhem package post-installation script subprocess returned error exit status 4
Errors were encountered while processing:
 fhem
Customize some settings (e.g. runlevel.conf etc.) - done (0).
E: Sub-process /usr/bin/dpkg returned an error code (1)
- ---//---

dpkg -s fhem tells me this:
- ---// dpkg -s fhem //---
Package: fhem
Status: install ok half-configured
Priority: extra
Section: utils
Maintainer: Rudolf Koenig <[email-masked]>
Architecture: all
Version: 6.0.24458
Config-Version: 6.0.24448
Depends: perl-base (>= 5.6.2), libdevice-serialport-perl (>= 1.0), libwww-perl (>= 1.0), libio-socket-ssl-perl (>= 1.0), libcgi-pm-perl, libjson-perl, sqlite3, libdbd-sqlite3-perl, libtext-diff-perl
Suggests: libtimedate-perl, libmail-imapclient-perl, libgd-graph-perl, libtext-csv-perl, libxml-simple-perl, liblist-moreutils-perl, fonts-liberation, libimage-librsvg-perl, libgd-text-perl, libsocket6-perl, libio-socket-inet6-perl, libmime-base64-perl, libimage-info-perl, libusb-1.0-0-dev, libarchive-extract-perl, libarchive-zip-perl
Conffiles:
 /opt/fhem/fhem.cfg 33c27853aad2a4bdc94d38925539eba1
Description: GPL'd perl server for house automation.
 It is used to automate some common tasks in the household like switching lamps
 / shutters / heating / etc. and to log events like temperature/humidity/power
 consumption.
Homepage: http://www.fhem.de
- ---//---

At the end apt-get/dpkg leave the package installed but not configured. So I reverted to the last working version.

- -- 

Kind regards

Joerg Schiermeier
Bielefeld, Germany

- -- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 3 (beowulf)
Release:	3
Codename:	beowulf
Architecture: x86_64

Kernel: Linux 5.10.0-0.bpo.5-amd64 (SMP w/16 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.utf-8, LC_CTYPE=de_DE.utf-8 (charmap=UTF-8), LANGUAGE=de:en_GB (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: SELinux: enabled - Mode: Permissive - Policy name: default

Versions of packages fhem depends on:
ii  libcgi-pm-perl             4.40-1
ii  libdbd-sqlite3-perl        1.62-3
ii  libdevice-serialport-perl  1.04-3+b6
ii  libio-socket-ssl-perl      2.060-3
ii  libjson-perl               4.02000-1
ii  libtext-diff-perl          1.45-1
ii  libwww-perl                6.36-2
ii  perl-base                  5.28.1-6+deb10u1
ii  sqlite3                    3.27.2-3+deb10u1

fhem recommends no packages.

Versions of packages fhem suggests:
ii  fonts-liberation            1:1.07.4-9
ii  libarchive-extract-perl     0.80-1
ii  libarchive-zip-perl         1.64-1
ii  libgd-graph-perl            1.54~ds-2
ii  libgd-text-perl             0.86-9
ii  libimage-info-perl          1.41-1
ii  libimage-librsvg-perl       0.07-8+b6
ii  libio-socket-inet6-perl     2.72-2
ii  liblist-moreutils-perl      0.416-1+b4
ii  libmail-imapclient-perl     3.42-1
ii  libsocket6-perl             0.29-1+b1
ii  libtext-csv-perl            1.99-1
ii  libtimedate-perl            2.3000-2+deb10u1
ii  libusb-1.0-0-dev            2:1.0.22-2
ii  libxml-simple-perl          2.25-1
ii  perl [libmime-base64-perl]  5.28.1-6+deb10u1

- -- Configuration Files:
/opt/fhem/fhem.cfg changed:
attr global userattr cmdIcon devStateIcon:textField-long devStateStyle icon sortby webCmd webCmdLabel:textField-long widgetOverride
attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global statefile ./log/fhem.save
attr global verbose 3
define WEB FHEMWEB 8083 global
setuuid WEB 60a1a209-f33f-9804-b6c9-244d4a5a2e3983de
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog
setuuid Logfile 60a1a20a-f33f-9804-2097-e62ccc5f5099aae9
define autocreate autocreate
setuuid autocreate 60a1a20a-f33f-9804-158e-9d37c06250f82f6a
attr autocreate filelog ./log/%NAME-%Y.log
define eventTypes eventTypes ./log/eventTypes.txt
setuuid eventTypes 60a1a20a-f33f-9804-53de-0517de36861d2159
define initialUsbCheck notify global:INITIALIZED usb create
setuuid initialUsbCheck 60a1a20a-f33f-9804-ff28-b176a1b34d163091
define allowed allowed
setuuid allowed 60a1a318-f33f-9804-4ea4-99dea8a87e72eae0

- -- no debconf information

---

From: Mark Hindley <[email-masked]>
Date: Mon, 17 May 2021 18:14:04 +0100

Control: tags -1 invalid

Joerg,

> Severity: grave

As far as I can see fhem isn't in either Debian or Devuan.

You appear to have the fhem apt archive enabled and have downloaded it from
there.

Mark

---

From: Joerg Schiermeier <[email-masked]>
Date: Mon, 17 May 2021 20:30:46 +0200

Hi Mark,

upps, sorry!
You are right. So I will send my report directly to the package 
maintainer.

btw:
Bug #580 is still under close investigation. When I get some  results 
I will send more informations....

- -- 

Kind regards

Joerg Schiermeier
Bielefeld, Germany

---
Control: tags -1 invalid

Joerg,

Mark

---

---

From: Mark Hindley <[email-masked]>
Date: Mon, 17 May 2021 20:01:48 +0100

> You are right. So I will send my report directly to the package 

No worries.

Closing.

Mark