Dpkg error processing exim4 -configure

dpkg error processing exim4 -configure

I hope this is the right forum for this question. I am trying to do an update on Debian, but gets errors. Reading package lists Building dependency tree. wiki:~# apt-get install sendmail Reading Package Lists. Then reboot into this new kernel, and proceed with your upgrade dpkg: error processing. Re: dpkg: syntax error: unknown group `Debian-exim' in statusoverride file >>>> E: Sub-process /usr/bin/dpkg returned an error code (2).

Thematic video

Use Logs to Help You Track Down an Issue in Linux

Dpkg error processing exim4 -configure - join told

grep exim ii exim4-base +b1 arm64 support files for all Exim MTA (v4) packages ii exim4-config all configuration for the Exim MTA (v4) ii exim4-daemon-light +b1 arm64 lightweight Exim MTA (v4) daemon The set of pakcages being changed is: The following packages were automatically installed and are no longer required: libdav1d4 libwavpack1 Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: libavresample4 The following NEW packages will be installed: ca-certificates-java catch2 default-jdk default-jdk-headless default-jre default-jre-headless default-libmysqlclient-dev faketime fonts-urw-base35 gccbase gdal-data gfortran ghostscript ibverbs-providers imagemagick imagemagickcommon imagemagickq16 java-common libaom-dev libarmadillo-dev libarmadillo10 libarpack2 libarpack2-dev libavcodec-dev libavformat-dev libavutil-dev libblas-dev libboost-dev libboostdev libbrotli-dev libcfitsio-dev libcfitsio9 libdap-dev libdap27 libdapclient6v5 libdapserver7v5 libdav1d-dev libdav1d5 libde libdedev libdeflate-dev libdeflate0 libegl-dev libeigen3-dev libevdev2 libevent-core libevent-dev libevent-extra libevent-openssl libevent-pthreads libfabric1 libfaketime libfmt-dev libfmt7 libfontconfig-dev libfontconfig1-dev libfreetype-dev libfreetype6-dev libfreexl-dev libfreexl1 libfyba-dev libfyba0 libgdal-dev libgdal29 libgeos libgeos-c1v5 libgeos-dev libgeotiff-dev libgeotiff5 libgfortrandev libgif-dev libgif7 libgl-dev libgl1-mesa-dev libgl2ps-dev libgl2ps libgles-dev libgles1 libgles2 libglew-dev libglew libglu1-mesa libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libglx-dev libgs9 libgs9-common libgudev libhdfalt libhdf4-alt-dev libhdf5-mpi-dev libhdf5-openmpi libhdf5-openmpi-cpp libhdf5-openmpi-dev libhdf5-openmpi-fortran libhdf5-openmpi-hl libhdf5-openmpi-hl-cpp libhdf5-openmpi-hl-fortran libheif-dev libheif1 libhwloc-dev libhwloc-plugins libhwloc15 libibverbs-dev libibverbs1 libice-dev libidn12 libijs libinput-bin libinput10 libjbig2dec0 libjs-jquery libjs-jquery-ui libjson-c-dev libjsoncpp-dev libjsoncpp24 libkml-dev libkmlbase1 libkmlconvenience1 libkmldom1 libkmlengine1 libkmlregionator1 libkmlxsd1 libkpathsea6 liblapack-dev liblqr liblz4-dev libmagickcoreq libmagickwandq libmariadb-dev libmariadb-dev-compat libmd4c0 libminizip-dev libminizip1 libmtdev1 libnetcdf-c++4 libnetcdf-cxx-legacy-dev libnl libnldev libnl-route libnl-routedev libnotify4 libnspr4 libnss3 libnuma-dev libodbc1 libogdi-dev libogdi libogg-dev libopengl-dev libopengl0 libopenjpdev libopenmpi-dev libopenmpi3 libpaper-utils libpaper1 libpciaccess0 libpcre libpcre libpcre3-dev libpcre libpcrecpp0v5 libpcsclite1 libpmix-dev libpmix2 libpoppler-dev libpoppler-private-dev libpoppler libpq-dev libpq5 libproj-dev libproj19 libptexenc1 libpthread-stubs0-dev libqhull-dev libqhull-r libqhull libqhullcpp libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5widgets5 librdmacm1 librttopo-dev librttopo1 libshp-dev libshp2 libsm-dev libspatialite-dev libspatialite7 libsqlite3-dev libsqlite3-tcl libsrtgnutls libsuperlu-dev libsuperlu5 libswresample-dev libswscale-dev libsynctex2 libtbb-dev libtbb2 libtcl libteckit0 libtexlua53 libtheora-dev libtk libucx0 liburiparser-dev liburiparser1 libutfcpp-dev libvtk9 libvtk9-dev libvtk9-java libvtk9-qt libwacom-common libwacom2 libwebp-dev libwebpdemux2 libwxbasev5 libwxbasedev libwxgtkgtkv5 libwxgtkgtk3-dev libxdev libxdev libxau-dev libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-util1 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb1-dev libxdmcp-dev libxerces-c-dev libxerces-c libxext-dev libxft-dev libxkbcommon-x libxnvctrl0 libxrender-dev libxss-dev libxt-dev libzimg2 libzstd-dev libzzip mpi-default-bin mpi-default-dev ninja-build odbcinst odbcinst1debian2 openjdkjdk openjdkjdk-headless openjdkjre openjdkjre-headless openmpi-bin openmpi-common pkg-config poppler-data proj-data python3-mpi4py python3-vtk9 rpcsvc-proto survex tcl tcl-dev tcl tcldev tex-common texlive-base texlive-binaries texlive-metapost tk tk-dev tk tkdev unixodbc-dev vtk9 wx-common wxheaders x11proto-dev xorg-sgml-doctools xtrans-dev The following packages will be upgraded: binutils binutils-aarchlinux-gnu binutils-common cpp ffmpeg g++ gcc gccbase libaec-dev libaec0 libasan6 libatomic1 libavcodec58 libavdevice58 libavfilter7 libavformat58 libavutil56 libbinutils libblas3 libc-bin libc-dev-bin libc6 libc6-dev libcc libctf-nobfd0 libctf0 libegl1 libgccdev libgcc-s1 libgfortran5 libgl1 libglib libglvnd0 libglx0 libgnutls-dane0 libgnutls30 libgomp1 libitm1 libjson-c5 liblapack3 liblsan0 liblz libmariadb3 libnettle8 libnuma1 libogg0 libopenjp libpostproc55 librubberband2 libsqlite libstdc++dev libstdc++6 libswresample3 libswscale5 libsz2 libtsan0 libubsan1 libvpx6 libwebp6 libwebpmux3 libx libxxcb1 libxau6 libxcb1 libxext6 libzstd1 66 upgraded, newly installed, 1 to remove and not upgraded. Need to get MB of archives. After this operation, MB of additional disk space will be used. exim is not mentioned in that list. Turns out that the install list doesn't matter. any use of dpkg will hit this statoverride issue. /etc/exim4/sprers.eu does exist but is owned by an unknown group. $ll /etc/exim4/sprers.eu -rw-r 1 root Nov 4 /etc/exim4/sprers.eu And groupno is not used in /etc/group: ssl-cert:x avahi-autoipd:x nm-openvpn:x apt-cacher-ng:x sbuild:xwookey01,wookey So it does indeed look like the Debian-exim group was removed, but at least one file owned by it, and the statoverride remain. Is that expected? - I presume not. /var/lib/dpkg/info/sprers.eust looks like it creates a Debian-exim user still (although not obviously the group?) $ sudo ls -ld /var/spool/exim4: drwxr-x 5 Dec 9 /var/spool/exim4 so the Debian-exim user is gone too. $ cat /etc/passwd nm-openvpn:xNetworkManager OpenVPN,,,:/var/lib/openvpn/chroot:/usr/sbin/nologin hplip:xHPLIP system user,,,:/var/run/hplip:/bin/false apt-cacher-ng:x/var/cache/apt-cacher-ng:/usr/sbin/nologin sbuild:xDebian source builder,,,:/var/lib/sbuild:/bin/bash I grepped for mentions of Debian-exim in /var/dpkg/info and only found it in exim scripts, so not clear what might have removed it: $ grep Debian-exim /var/lib/dpkg/info/* /var/lib/dpkg/info/sprers.eust /var/lib/dpkg/info/sprers.eust /var/lib/dpkg/info/sprers.eu Anything else I should check? -- Wookey