The samba.postinst script fails with this log:

...
Created symlink /etc/systemd/system/multi-user.target.wants/samba-ad-dc.service 
→ /usr/lib/systemd/system/samba-ad-dc.service.

/var/lib/dpkg/info/samba.postinst: 208: rm: Argument list too long
dpkg: erreur de traitement du paquet samba (--configure) :
...


This corresponds to this command in the samba.postinst script:

# remove msg.sock/ directory (moved to /run/samba/)                             
                                                                                
                        
dir=/var/lib/samba/private/msg.sock
if [ -d $dir -a configure = "$1" ] &&
   dpkg --compare-versions "$2" lt-nl 2:4.16.0+dfsg-7~
then
    rm -f $dir/*
    rmdir $dir
fi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2160172

Title:
  package samba 2:4.19.5+dfsg-4ubuntu9.6 failed to install/upgrade: le
  sous-processus paquet samba script post-installation installé a
  renvoyé un état de sortie d'erreur 126

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/2160172/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to