Error installing samba from appstore

Hi, I can not install samba from the app store (or any other app), every time it give me an error. I’ve tried to reinstall the OSMC, but I get always the same error, I tried diferent SD cards too but always the same error.
So I ask you help and here is my log:
http://paste.osmc.io/dahoduyase

Many thanks in advance and keep up the god work.

Can you ssh in and see if

sudo apt-get update

works?

Please enable debugging and try again to go to APP Store and install something and sent then logs.

Also either try like mcobit wrote to update from command line or from MyOSMC.

Yes I can ssh and I’ve executed the sudo apt-get update, here is the result:

osmc@osmc:~$ sudo apt-get update
Hit http:// mirrordirector.raspbian.org jessie InRelease
Hit http:// apt.osmc.tv jessie InRelease
Hit http:// mirrordirector.raspbian.org jessie/main armhf Packages
Hit http:// mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http:// mirrordirector.raspbian.org jessie/non-free armhf Packages
Get:1 http:// apt.osmc.tv jessie/main armhf Packages/DiffIndex [2023 B]
Ign http:// apt.osmc.tv jessie/main Translation-en
Ign http:// mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http:// mirrordirector.raspbian.org jessie/main Translation-en
Ign http:// mirrordirector.raspbian.org jessie/non-free Translation-en
Fetched 2023 B in 26s (75 B/s)
Reading package lists… Done
osmc@osmc:~$

Now I have debug enabled and after the update via ssh I tried again the samba install with the same error, here is the new log: http://paste.osmc.io/hixudutila

Thanks.

Can you try from ssh
curl http://mirrordirector.raspbian.org/raspbian/pool/main/g/gdbm/libgdbm3_1.8.3-13.1_armhf.deb

Result:

osmc@osmc:~$ curl http://mirrordirector.raspbian.org/raspbian/pool/main/g/gdbm/libgdbm3_1.8.3-13.1_armhf.deb
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://raspbian.mirror.root.lu/raspbian/pool/main/g/gdbm/libgdbm3_1.8.3-13.1_armhf.deb">here</a>.</p>
<hr>
<address>Apache/2.2.22 (Debian) Server at mirrordirector.raspbian.org Port 80</address>
</body></html>

Is it possible to install samba via ssh?

sudo apt-get update
sudo apt-get install smb-app-osmc

You could do it like dbmandrake wrote but to be honest I would not trust a system that doesn’t work within Kodi

Thanks for you help, but even ssh dont work :frowning: Iget the following

Err http:// Index of /raspbian jessie/main libgdbm3 armhf 1.8.3-13.1
404 Not Found
Err http:// Index of /raspbian jessie/main libhdb9-heimdal armhf 1.6~rc2+dfsg-9+rpi1
404 Not Found
Err http:// Index of /raspbian jessie/main python-dnspython all 1.12.0-1
404 Not Found
Err http:// Index of /raspbian jessie/main python-ntdb armhf 1.0-5
404 Not Found
Err http:// Index of /raspbian jessie/main python-tdb armhf 1.3.1-1
404 Not Found
Err http:// Index of /raspbian jessie/main python-crypto armhf 2.6.1-5
404 Not Found
Err http:// Index of /raspbian jessie/main tdb-tools armhf 1.3.1-1
404 Not Found
Err http:// Index of /raspbian jessie/main libfile-copy-recursive-perl all 0.38-1
404 Not Found
Err http:// Index of /raspbian jessie/main update-inetd all 4.43
404 Not Found
Err http:// Index of /raspbian jessie/main libkdc2-heimdal armhf 1.6~rc2+dfsg-9+rpi1
404 Not Found
E: Failed to fetch http:// mirrordirector.raspbian.org/raspbian/pool/main/g/gdbm/libgdbm3_1.8.3-13.1_armhf.deb 404 Not Found

E: Failed to fetch http:// mirrordirector.raspbian.org/raspbian/pool/main/h/heimdal/libhdb9-heimdal_1.6~rc2+dfsg-9+rpi1_armhf.deb 404 Not Found

E: Failed to fetch http:// mirrordirector.raspbian.org/raspbian/pool/main/d/dnspython/python-dnspython_1.12.0-1_all.deb 404 Not Found

E: Failed to fetch http:// mirrordirector.raspbian.org/raspbian/pool/main/n/ntdb/python-ntdb_1.0-5_armhf.deb 404 Not Found

E: Failed to fetch http:// mirrordirector.raspbian.org/raspbian/pool/main/t/tdb/python-tdb_1.3.1-1_armhf.deb 404 Not Found

E: Failed to fetch http:// mirrordirector.raspbian.org/raspbian/pool/main/p/python-crypto/python-crypto_2.6.1-5_armhf.deb 404 Not Found

E: Failed to fetch http:// mirrordirector.raspbian.org/raspbian/pool/main/t/tdb/tdb-tools_1.3.1-1_armhf.deb 404 Not Found

E: Failed to fetch http:// mirrordirector.raspbian.org/raspbian/pool/main/libf/libfile-copy-recursive-perl/libfile-copy-recursive-perl_0.38-1_all.deb 404 Not Found

E: Failed to fetch http:// mirrordirector.raspbian.org/raspbian/pool/main/u/update-inetd/update-inetd_4.43_all.deb 404 Not Found

E: Failed to fetch http:// mirrordirector.raspbian.org/raspbian/pool/main/h/heimdal/libkdc2-heimdal_1.6~rc2+dfsg-9+rpi1_armhf.deb 404 Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I dont know whats wrong with me or my Pi.

Ok, actually I looked in your Curl respone again. And actually the mirror seems to point to a broken mirror.
So as a temporary fix I suggest you change in /etc/apt/sources.list http://mirrordirector.raspbian.org/raspbian with one of the mirrors from the list that is close to you (e.g. http://mirror.informatik.uni-mannheim.de/pub/linux/distributions/raspbian/raspbian/)

http://www.raspbian.org/RaspbianMirrors

Many thanks to you guys for you help and time spended to help me.
It works now.

Again, thanks :slight_smile:

Assuming that the problem with the mirror should be solved after a few days I suggest you try to change it back next.