Error installing samba Pine64 v152


when I try to install the samba server the system tell me:

Apt string: samba samba common.bin no install recommends
Error code 100
Software tittle: samba: feature rich server

If I try to installa the Samba client it also fails, but I don’t receive an alert.



Thanks for the report, we’ll need to see the APT logs to assist.

When the error prompt appears, please paste the results of the APT log:

cat /var/log/dietpi-software_apt.log


thank you for your fast reply, the logs says:

dppk: warning ‘ldconfing’ not found in path or not executable
dpkg: warning: start - stop-daemons not found in path …
dpkg: error: 2 expected programs not found in path…
Note: root’s path sould…
E: sub-process /usr/bin/dpkg returned an error code 2



Quickest solution would be a fresh install installation. Looks like a broken installation, either due to manual changes outside of DietPi scripts, or, filesystem issue due to hardware (eg: insufficient PSU, damaged SD card).

If you want to debug, we can check contents of following for any issues:

echo -e $PATH
cat /etc/profile


  • Are you logged in as Root?
  • Are you running sudo/su before any commands (not required under root)?