On 10 Mar 2020 08:40:49 +0100 Gian Piero Carrubba <gpi...@rm-rf.it> wrote: > While upgrading samba-common-bin from 2:4.11.5+dfsg-1 to 2:4.11.5+dfsg-1+b1: > > --- > Performing actions... > Setting up samba-common-bin (2:4.11.5+dfsg-1+b1) ... > Checking smb.conf with testparm > Load smb config files from /etc/samba/smb.conf > Loaded services file OK. > ERROR: lock directory /run/samba does not exist > > ERROR: pid directory /run/samba does not exist > > Server role: ROLE_STANDALONE > > dpkg: error processing package samba-common-bin (--configure): > installed samba-common-bin package post-installation script subprocess > returned error exit status 1 > Errors were encountered while processing: > samba-common-bin > E: Sub-process /usr/bin/dpkg returned an error code (1) > ---
Two years later and this issue still exists? I saw Axel already updated the 'found' version so I won't have to do this. =============================================================== Preparing to unpack .../09-samba-common-bin_2%3a4.13.14+dfsg-1+b2_amd64.deb ... Unpacking samba-common-bin (2:4.13.14+dfsg-1+b2) over (2:4.13.14+dfsg-1+b1) ... ... Setting up samba-common-bin (2:4.13.14+dfsg-1+b2) ... Checking smb.conf with testparm Load smb config files from /etc/samba/smb.conf Loaded services file OK. Weak crypto is allowed ERROR: lock directory /run/samba does not exist ERROR: pid directory /run/samba does not exist Server role: ROLE_STANDALONE dpkg: error processing package samba-common-bin (--configure): installed samba-common-bin package post-installation script subprocess returned error exit status 1 ... Errors were encountered while processing: samba-common-bin [master 549da0e] committing changes in /etc made by "aptitude safe-upgrade" 1 file changed, 382 insertions(+), 449 deletions(-) rewrite ssh/moduli (99%) E: Sub-process /usr/bin/dpkg returned an error code (1) Setting up samba-common-bin (2:4.13.14+dfsg-1+b2) ... Checking smb.conf with testparm Load smb config files from /etc/samba/smb.conf Loaded services file OK. Weak crypto is allowed ERROR: lock directory /run/samba does not exist ERROR: pid directory /run/samba does not exist Server role: ROLE_STANDALONE dpkg: error processing package samba-common-bin (--configure): installed samba-common-bin package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: samba-common-bin =============================================================== And indeed I do not have a /run/samba/ directory on my Bookworm system/server. I don't think it's relevant, but it (still?) has sysv-init as init. (And is a Xen dom0 host.)
signature.asc
Description: This is a digitally signed message part.