Cannot install Samba from ap store

I tried few times and always get a error with the suggestion to contact forum.

My log is here:
http://paste.osmc.io/manivowoqo.vbs

Am I doing something wrong?

Could it be that you already have samba installed?
Can you login with SSH and run dpkg -l samba and post the output

That’s only a system journal - not particularly useful for this kind of problem. Please enable debug mode in Kodi, reboot, try to install it again then upload all logs from my OSMC log uploader.

Yes, I tried to install following instructions here:
http://blogs.arcsoftwareconsultancy.com/pi/2013/03/07/windows-networking/
but it did not work. So I did removed samba with

sudo apt-get purge samba
sudo rm -rf /etc/samba/ /etc/default/samba

Than I did try app store and got error.

on dpkg -l samba I get:
osmc@osmc:~$ dpkg -l samba Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= iF samba 2:4.1.17+dfs armhf SMB/CIFS file, print, and login s osmc@osmc:~$
What is the way I can remove all residues of previous installation and try clean install.

Thanks for all your help.

Can you run sudo apt-get purge samba again and then dpkg -l samba

I did as you suggested and here what I got

osmc@osmc:~$ dpkg -l samba Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= un samba <none> <none> (no description available)
Should I try again to install from ap store?

Yes, but please activate debugging in Kodi first and if it fails upload the log file

OK. As suggested I tried to install Samba again and again it failed.

Here is my log.
Kodi log

Any suggestions?

That is really strange. I will try if I can recreate this issue on my install and update you if I find anything

Thanks man

I would like to do this in three steps (as the third is quite drastic).

First can you post the output of dpkg -l samba* and dpkg -l smb* so that we know exactly what currently is installed.

Second try once more:
sudo apt-get update
sudo apt-get purge samba
sudo apt-get autoremove
sudo rm -r /etc/samba
And then try to install from Appstore

The third step I write after we know if this was successful

Here is the output of
dpkg -l samba*
and dpkg -l smb*

http://paste.osmc.io/egiwesaric.xml

Ok, looks ok, so try step 2

I completed second step and on quoted I got

osmc@osmc:~$ sudo rm -r /etc/samba rm: cannot remove '/etc/samba': No such file or directory
So I will try again from OSMC Appstore

No luck again!

OSMC Update Error Error Installing Samba Please report this on the OSMC Forum

I don’t know, maybe I should give up on Samba.

Thanks for all your help!

No need to give up. Let’s to step 3. While I don’t think you would damage anything I still suggest you do a a backup before.
But this will also uninstall the mediacenter so you will loose your display on the screen till we reinstall.

sudo apt-get purge samba samba-common samba-common-bin samba-libs
sudo apt-get -f install
sudo rm -r /etc/samba/
sudo systemctl stop mediacenter
sudo systemctl start mediacenter

then try to install it again from App Store

I might be offline soon so we might only be able to help tomorrow

Ok I am in rush too, so lets try this tomorrow.

You and your efforts to help makes this board proud!