Samba-common preconfiguring message during update -upgrade

I captured this error as it scrolled by during my daily apt routine. I found no evidence in either syslog, kernlog, or dpkglog indicating any failure.

   Preconfiguring packages ...
Can't exec "/tmp/samba-common.config.x8y7i8": Permission denied at /usr/share/perl/5.22/IPC/Open3.pm line 178.
open2: exec of /tmp/samba-common.config.x8y7i8 configure 2:4.3.9+dfsg-0ubuntu0.16.04.1 failed at /usr/share/perl5/Debconf/ConfModule.pm line 59.
(Reading database ... 230852 files and directories currently installed.)
...
 Setting up samba-libs:amd64 (2:4.3.9+dfsg-0ubuntu0.16.04.2) ...
Setting up python-samba (2:4.3.9+dfsg-0ubuntu0.16.04.2) ...
Setting up samba-common (2:4.3.9+dfsg-0ubuntu0.16.04.2) ...
Setting up samba-common-bin (2:4.3.9+dfsg-0ubuntu0.16.04.2) ...
Setting up libsmbclient:amd64 (2:4.3.9+dfsg-0ubuntu0.16.04.2) ...

I’m not too worried, and beyond my competence level. I’ll wait and see if there’s a repeat of this strangeness.

Hi @pfeiffep,

are you doing your updates as “root” or normal user as it seems to be a permissions issue?. :smiley:

Using apt to do updates I’m pretty certain requires sudo
the commands I use are contained is a short script

cat sapt
#!/bin/bash
sudo apt update
sudo apt upgrade -y
sudo apt autoremove -y

I agree it appears to be a permission problem, but later in the text samba-common & samba-common-bin were setup.

I have access just fine to my NAS [samba] over wifi

I’ll check my /tmp to see if it’s actually in physical disk or in ram

1 Like

My suspicion that the error captured is a result of /tmp in ram. This entry in /etc/fstab
tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0

1 Like