Nach update auf 7.2: half-configured?

Hallo zusammen

nachdem das update auf 7.2. bei uns auch erfolgreich (?) gelaufen ist wollten wir die MAusSK neu installieren und trafen auf folgenden Fehler:

dpkg -s linuxmuster-base7

liefert die Meldung:
Status: install ok half-configured

Ist das noch beta-status?

Grüße Rainer

Hallo Rainer,

dpkg -s linuxmuster-base7

liefert die Meldung:
Status: install ok half-configured

Ist das noch beta-status?

bei mir sieht die Ausgabe anders aus:

root@LMG:~# dpkg -s linuxmuster-base7
Package: linuxmuster-base7
Status: install ok installed
Priority: optional
Section: linuxmuster
Installed-Size: 262
Maintainer: Thomas Schmitt <thomas@linuxmuster.net>
Architecture: all
Version: 7.2.0-rc7
Depends: coreutils, cups, printer-driver-cups-pdf, isc-dhcp-server,
python3-bcrypt, python3-bs4, python3-lxml, python3-ipy, python3-apt,
python3-netifaces, python3-dialog, python3-ldap3, python3-netaddr,
python3-pip, python3-requests, openssl, ntp, ntpdate, samba,
samba-dsdb-modules, smbclient, ldb-tools, krb5-user, linuxmuster-linbo7,
linuxmuster-webui7, screen, sophomorix-samba

Da stimmt bei dir also noch was nicht.

apt update
apt dist-upgrade
meckert nicht?

LG

Holger

Hallo Holger,
doch, dist-upgrade meckert (bin auch an Rainers Schule):

apt update
root@server:~# apt update
OK:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease
OK:2 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease              
OK:3 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease            
OK:4 https://deb.linuxmuster.net lmn71 InRelease                              
OK:5 http://de.archive.ubuntu.com/ubuntu jammy-security InRelease
OK:6 https://deb.linuxmuster.net lmn72 InRelease
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Aktualisierung für 3 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
W: https://deb.linuxmuster.net/dists/lmn71/InRelease: Schlüssel ist im veralteten Schlüsselbund trusted.gpg gespeichert (/etc/apt/trusted.gpg), siehe den Abschnitt MISSBILLIGUNG in apt-key(8) für Details.
apt dist-upgrade
root@server:~# apt dist-upgrade
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paketaktualisierung (Upgrade) wird berechnet… Fertig
#
# An OpenSSL vulnerability has recently been fixed with USN-6188-1 & 6119-1:
# CVE-2023-2650: possible DoS translating ASN.1 object identifiers.
# Ensure you have updated the package to its latest version.
#
Die folgenden Pakete sind zurückgehalten worden:
  libcephfs2 librados2 librbd1
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 3 nicht aktualisiert.
2 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] 
linuxmuster-base7 (7.2.0-rc9) wird eingerichtet ...
Requirement already satisfied: paramiko in /usr/local/lib/python3.10/dist-packa
ges (3.0.0)
Requirement already satisfied: reconfigure in /usr/local/lib/python3.10/dist-pa
ckages (0.1.82)
Requirement already satisfied: bcrypt>=3.2 in /usr/lib/python3/dist-packages (f
rom paramiko) (3.2.0)
Requirement already satisfied: cryptography>=3.3 in /usr/local/lib/python3.10/d
ist-packages (from paramiko) (41.0.0)
Requirement already satisfied: pynacl>=1.5 in /usr/local/lib/python3.10/dist-pa
ckages (from paramiko) (1.5.0)
Requirement already satisfied: chardet in /usr/lib/python3/dist-packages (from 
reconfigure) (4.0.0)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.10/dist-pac
kages (from cryptography>=3.3->paramiko) (1.15.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.10/dist-pack
ages (from cffi>=1.12->cryptography>=3.3->paramiko) (2.21)
DEPRECATION: distro-info 1.1build1 has a non-standard version number. pip 23.3 
will enforce this behaviour change. A possible replacement is to upgrade to a n
ewer version of distro-info or contact the author to suggest that they release 
a version with a conforming version number. Discussion can be found at https://
github.com/pypa/pip/issues/12063
DEPRECATION: gpg 1.16.0-unknown has a non-standard version number. pip 23.3 wil
l enforce this behaviour change. A possible replacement is to upgrade to a newe
r version of gpg or contact the author to suggest that they release a version w
ith a conforming version number. Discussion can be found at https://github.com/
pypa/pip/issues/12063
WARNING: Running pip as the 'root' user can result in broken permissions and co
nflicting behaviour with the system package manager. It is recommended to use a
 virtual environment instead: https://pip.pypa.io/warnings/venv

[notice] A new release of pip is available: 23.2 -> 23.2.1
[notice] To update, run: pip install --upgrade pip
Listing '/usr/lib/linuxmuster'...
Compiling '/usr/lib/linuxmuster/constants.py'...
Compiling '/usr/lib/linuxmuster/dhcpd-update-samba-dns.py'...
Compiling '/usr/lib/linuxmuster/functions.py'...
Listing '/usr/lib/linuxmuster/setup.d'...
Compiling '/usr/lib/linuxmuster/setup.d/a_ini.py'...
Compiling '/usr/lib/linuxmuster/setup.d/c_general-dialog.py'...
Compiling '/usr/lib/linuxmuster/setup.d/d_templates.py'...
Compiling '/usr/lib/linuxmuster/setup.d/e_fstab.py'...
Compiling '/usr/lib/linuxmuster/setup.d/g_ssl.py'...
Compiling '/usr/lib/linuxmuster/setup.d/h_ssh.py'...
Compiling '/usr/lib/linuxmuster/setup.d/i_linbo.py'...
Compiling '/usr/lib/linuxmuster/setup.d/j_samba-provisioning.py'...
Compiling '/usr/lib/linuxmuster/setup.d/k_samba-users.py'...
Compiling '/usr/lib/linuxmuster/setup.d/l_add-server.py'...
Compiling '/usr/lib/linuxmuster/setup.d/m_firewall.py'...
Compiling '/usr/lib/linuxmuster/setup.d/w_webui.py'...
Compiling '/usr/lib/linuxmuster/setup.d/z_final.py'...
userdel: user 'teacher' does not exist
dpkg: Fehler beim Bearbeiten des Paketes linuxmuster-base7 (--configure):
 »installiertes linuxmuster-base7-Skript des Paketes post-installation«-Unterpr
ozess gab den Fehlerwert 6 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linuxmuster-linbo7:
 linuxmuster-linbo7 hängt ab von linuxmuster-base7; aber:
  Paket linuxmuster-base7 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes linuxmuster-linbo7 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Es wurde kein Apport-Bericht verfasst, da die Fehlermeldung darauf hindeutet, d
ass dies lediglich ein Folgefehler eines vorherigen Problems ist.
                                                                 Fehler traten 
auf beim Bearbeiten von:
 linuxmuster-base7
 linuxmuster-linbo7
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

Ein Aufruf von

dpkg-reconfigure sophomorix-samba linuxmuster-base7 linuxmuster-webui7

führt zu

... /usr/sbin/dpkg-reconfigure: linuxmuster-base7 ist kaputt oder nicht komplett installiert.

Auf den ersten Blick schien nach dem Upgrade alles gut, da sich auch die Clients das neue Linbo geholt haben u.ä.

Was haben wir verbockt?

LG Hannes

Hallo Hannes,

jetzt müßt ihr rausbekommen, was da nciht klappt.
logdateien, oder Meldungen die beim apt update gekommen sind.
Rainer hatte ja schon das mit dem ntp entdeckt… da ist wohl noch etwas.
Wahrscheinlich irgend was, was „besonders“ ist bei euch: sonst wäre das
bei anderen auch schon passiert.

LG

Holger

Hallo Holger

die für uns plausibe Fehlermeldung kommt bei einem install linuxuster-base7:

userdel: user ‚teacher‘ does not exist
dpkg: Fehler beim Bearbeiten des Paketes linuxmuster-base7 (–configure):
»installiertes linuxmuster-base7-Skript des Paketes post-installation«-Unterpro
zess gab den Fehlerwert 6 zurück

Was jetzt Fehlerwert6 bedeutet …

Grüße Rainer

Einen Teil der Fehlermeldungen (fehlende Abhängigkeiten) konnten wir beheben, indem wir in der /etc/apt/sources.list.d/lmn71.list die eckigen Klammern ergänzt haben:

deb [arch=amd64 signed-by=/usr/share/keyrings/linuxmuster.net.gpg] https://deb.linuxmuster.net/ lmn72 main

Leider gibt es noch immer einen Fehler mit linuxmuster-base7, für den wir einen neuen Thread aufmachen.

LG
Hannes