I am trying to set up a file sharing server on this here raspberry pi. The pi is running on Raspbian. I have it plugged in to my Google Wi-Fi router via Ethernet. SSH and ping are working fine, but when I try to install samba it is unable to connect to the server. I can connect to the Raspbian samba download server fine on my laptop.
Here is the apt-get
output (note that I have already run sudo apt-get update
):
pi@raspberrypi:~ $ sudo apt-get install samba samba-common-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
attr ibverbs-providers libavahi-client3 libboost-atomic1.67.0
libboost-iostreams1.67.0 libboost-regex1.67.0 libboost-system1.67.0
libboost-thread1.67.0 libcephfs2 libcups2 libgfapi0 libgfrpc0 libgfxdr0
libglusterfs0 libgpgme11 libibverbs1 libjansson4 libldb1 libnspr4 libnss3
libpython2.7 librados2 libtdb1 libtevent0 python-crypto python-dnspython
python-gpg python-ldb python-samba python-talloc python-tdb samba-common
samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools
Suggested packages:
cups-common python-crypto-doc bind9 bind9utils ctdb ldb-tools ntp | chrony
smbldap-tools ufw winbind heimdal-clients
The following NEW packages will be installed:
attr ibverbs-providers libavahi-client3 libboost-atomic1.67.0
libboost-iostreams1.67.0 libboost-regex1.67.0 libboost-system1.67.0
libboost-thread1.67.0 libcephfs2 libcups2 libgfapi0 libgfrpc0 libgfxdr0
libglusterfs0 libgpgme11 libibverbs1 libjansson4 libldb1 libnspr4 libnss3
libpython2.7 librados2 libtdb1 libtevent0 python-crypto python-dnspython
python-gpg python-ldb python-samba python-talloc python-tdb samba
samba-common samba-common-bin samba-dsdb-modules samba-libs
samba-vfs-modules tdb-tools
0 upgraded, 38 newly installed, 0 to remove and 7 not upgraded.
Need to get 8,978 kB/26.8 MB of archives.
After this operation, 101 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf samba-libs armhf 2:4.9.5+dfsg-4
404 Not Found [IP: 93.93.128.193 80]
Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf python-samba armhf 2:4.9.5+dfsg-4
404 Not Found [IP: 93.93.128.193 80]
Err:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf samba-common all 2:4.9.5+dfsg-4
404 Not Found [IP: 93.93.128.193 80]
Err:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf samba-common-bin armhf 2:4.9.5+dfsg-4
404 Not Found [IP: 93.93.128.193 80]
Err:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf samba armhf 2:4.9.5+dfsg-4
404 Not Found [IP: 93.93.128.193 80]
Err:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf samba-dsdb-modules armhf 2:4.9.5+dfsg-4
404 Not Found [IP: 93.93.128.193 80]
Err:7 http://raspbian.raspberrypi.org/raspbian buster/main armhf samba-vfs-modules armhf 2:4.9.5+dfsg-4
404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/samba/samba-libs_4.9.5+dfsg-4_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/samba/python-samba_4.9.5+dfsg-4_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/samba/samba-common_4.9.5+dfsg-4_all.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/samba/samba-common-bin_4.9.5+dfsg-4_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/samba/samba_4.9.5+dfsg-4_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/samba/samba-dsdb-modules_4.9.5+dfsg-4_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/samba/samba-vfs-modules_4.9.5+dfsg-4_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
My sources.list
looks like this:
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free
I uncommented that line and updated still no luck.
Update with information from comments:
I can successful ping raspbian.raspberrypi.org
and also get html data with curl -L http://raspbian.raspberrypi.org/raspbian
with one of the first lines <title>Index of /raspbian</title>
.
raspbian.raspberrypi.org
? – Ingo Jul 10 '19 at 22:37http://raspbian.raspberrypi.org/raspbian
in your internet browser? – Ingo Jul 10 '19 at 22:48curl -L http://raspbian.raspberrypi.org/raspbian
. You should get raw html and one of the first lines should be<title>Index of /raspbian</title>
. This ensures that you can connect to the repository. – Ingo Jul 10 '19 at 22:57sources.list
again. – Ingo Jul 10 '19 at 23:17