Chasm_Crosser
Posts: 4
Joined: Sat Apr 19, 2014 4:21 pm

404 Error with Apt-Get

Sat Apr 19, 2014 5:11 pm

First off, apologies as I am a complete newbie to Raspbian. That being said, I have spent the last two days trying to add Shairport to my Raspberry Pi to create an Airplay receiver. To that end, I have been following the Lifehacker instructions at this link: http://lifehacker.com/5978594/turn-a-ra ... iving-room

Unfortunately, the process seems to break down as I try to install the dependencies for Shairport (ie. When I execute: sudo apt-get install git libao-dev libssl-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl avahi-utils libmodule-build-perl.

Once I do this, I get the following error:

Code: Select all

pi@raspberrypi ~ $ sudo apt-get install git libao-dev libssl-dev
libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl
avahi-utils libmodule-build-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version.
The following extra packages will be installed:
  avahi-daemon bind9-host geoip-database libalgorithm-c3-perl libao-common
  libao4 libavahi-core7 libbind9-80 libclass-c3-perl libclass-c3-xs-perl
  libcrypt-openssl-bignum-perl libdata-optlist-perl libdata-section-perl
  libdns88 libencode-locale-perl libfile-listing-perl libfont-afm-perl
  libgeoip1 libhtml-form-perl libhtml-format-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
  libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
  libhttp-negotiate-perl libio-socket-ssl-perl libisc84 libisccc80 libisccfg82
  liblwp-mediatypes-perl liblwp-protocol-https-perl liblwres80
  libmailtools-perl libmodule-signature-perl libmro-compat-perl
  libnet-http-perl libnet-ssleay-perl libnss-mdns libparams-util-perl
  libpod-readme-perl libregexp-common-perl libsocket6-perl
  libsoftware-license-perl libssl-doc libsub-exporter-perl libsub-install-perl
  libtext-template-perl liburi-perl libwww-robotrules-perl
Suggested packages:
  avahi-autoipd geoip-bin libdata-dump-perl libcrypt-ssleay-perl
  libauthen-ntlm-perl
The following NEW packages will be installed:
  avahi-daemon avahi-utils bind9-host geoip-database libalgorithm-c3-perl
  libao-common libao-dev libao4 libavahi-core7 libbind9-80 libclass-c3-perl
  libclass-c3-xs-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl
  libdata-optlist-perl libdata-section-perl libdns88 libencode-locale-perl
  libfile-listing-perl libfont-afm-perl libgeoip1 libhtml-form-perl
  libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl
  libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
  libhttp-message-perl libhttp-negotiate-perl libio-socket-inet6-perl
  libio-socket-ssl-perl libisc84 libisccc80 libisccfg82 liblwp-mediatypes-perl
  liblwp-protocol-https-perl liblwres80 libmailtools-perl libmodule-build-perl
  libmodule-signature-perl libmro-compat-perl libnet-http-perl
  libnet-ssleay-perl libnss-mdns libparams-util-perl libpod-readme-perl
  libregexp-common-perl libsocket6-perl libsoftware-license-perl libssl-dev
  libssl-doc libsub-exporter-perl libsub-install-perl libtext-template-perl
  liburi-perl libwww-perl libwww-robotrules-perl
0 upgraded, 59 newly installed, 0 to remove and 2 not upgraded.
Need to get 8,298 kB of archives.
After this operation, 22.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
geoip-database all 20130213-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libavahi-core7 armhf 0.6.31-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libgeoip1
armhf 1.4.8+dfsg-3
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libisc84
armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libdns88
armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libisccc80 armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libisccfg82 armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libbind9-80 armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
liblwres80 armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
bind9-host armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
avahi-daemon armhf 0.6.31-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
avahi-utils armhf 0.6.31-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libalgorithm-c3-perl all 0.08-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libao-common armhf 1.1.0-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libao4
armhf 1.1.0-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libao-dev
armhf 1.1.0-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libclass-c3-perl all 0.24-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libclass-c3-xs-perl armhf 0.13-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libcrypt-openssl-bignum-perl armhf 0.04-3
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libcrypt-openssl-rsa-perl armhf 0.28-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libparams-util-perl armhf 1.07-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libsub-install-perl all 0.926-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libdata-optlist-perl all 0.107-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libmro-compat-perl all 0.11-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libsub-exporter-perl all 0.984-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libdata-section-perl all 0.101621-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libencode-locale-perl all 1.03-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libhttp-date-perl all 6.02-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libfile-listing-perl all 6.04-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libfont-afm-perl all 1.20-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
liburi-perl all 1.60-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libhtml-tagset-perl all 3.20-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libhtml-parser-perl armhf 3.69-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
liblwp-mediatypes-perl all 6.02-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libhttp-message-perl all 6.03-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libhtml-form-perl all 6.03-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libhtml-tree-perl all 5.02-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libhtml-format-perl all 2.10-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libhttp-cookies-perl all 6.00-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libhttp-daemon-perl all 6.01-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libhttp-negotiate-perl all 6.00-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libsocket6-perl armhf 0.23-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libio-socket-inet6-perl all 2.69-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libnet-ssleay-perl armhf 1.48-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libio-socket-ssl-perl all 1.76-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libnet-http-perl all 6.03-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libwww-robotrules-perl all 6.01-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libwww-perl all 6.04-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
liblwp-protocol-https-perl all 6.03-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libmailtools-perl all 2.09-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libmodule-build-perl all 0.400100-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libmodule-signature-perl all 0.68-1+deb7u1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libnss-mdns armhf 0.10-3.2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libregexp-common-perl all 2011121001-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libpod-readme-perl all 0.11-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libtext-template-perl all 1.45-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libsoftware-license-perl all 0.103004-2
  404  Not Found
Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libssl-dev armhf 1.0.1e-2+rvt+deb7u6 [1,500 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main
libssl-doc all 1.0.1e-2+rvt+deb7u6 [1,205 kB]
Fetched 2,705 kB in 24s (111 kB/s)
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/g/geoip-database/geoip-database_20130213-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/a/avahi/libavahi-core7_0.6.31-2_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/g/geoip/libgeoip1_1.4.8+dfsg-3_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/b/bind9/libisc84_9.8.4.dfsg.P1-6+nmu2+deb7u1_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/b/bind9/libdns88_9.8.4.dfsg.P1-6+nmu2+deb7u1_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/b/bind9/libisccc80_9.8.4.dfsg.P1-6+nmu2+deb7u1_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/b/bind9/libisccfg82_9.8.4.dfsg.P1-6+nmu2+deb7u1_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/b/bind9/libbind9-80_9.8.4.dfsg.P1-6+nmu2+deb7u1_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/b/bind9/liblwres80_9.8.4.dfsg.P1-6+nmu2+deb7u1_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/b/bind9/bind9-host_9.8.4.dfsg.P1-6+nmu2+deb7u1_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/a/avahi/avahi-daemon_0.6.31-2_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/a/avahi/avahi-utils_0.6.31-2_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libalgorithm-c3-perl/libalgorithm-c3-perl_0.08-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libao/libao-common_1.1.0-2_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libao/libao4_1.1.0-2_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libao/libao-dev_1.1.0-2_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libc/libclass-c3-perl/libclass-c3-perl_0.24-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libc/libclass-c3-xs-perl/libclass-c3-xs-perl_0.13-1_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libc/libcrypt-openssl-bignum-perl/libcrypt-openssl-bignum-perl_0.04-3_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libc/libcrypt-openssl-rsa-perl/libcrypt-openssl-rsa-perl_0.28-1_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libp/libparams-util-perl/libparams-util-perl_1.07-1_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsub-install-perl/libsub-install-perl_0.926-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libd/libdata-optlist-perl/libdata-optlist-perl_0.107-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libm/libmro-compat-perl/libmro-compat-perl_0.11-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsub-exporter-perl/libsub-exporter-perl_0.984-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libd/libdata-section-perl/libdata-section-perl_0.101621-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libe/libencode-locale-perl/libencode-locale-perl_1.03-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-date-perl/libhttp-date-perl_6.02-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libf/libfile-listing-perl/libfile-listing-perl_6.04-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libf/libfont-afm-perl/libfont-afm-perl_1.20-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libu/liburi-perl/liburi-perl_1.60-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-tagset-perl/libhtml-tagset-perl_3.20-2_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-parser-perl/libhtml-parser-perl_3.69-2_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libl/liblwp-mediatypes-perl/liblwp-mediatypes-perl_6.02-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-message-perl/libhttp-message-perl_6.03-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-form-perl/libhtml-form-perl_6.03-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-tree-perl/libhtml-tree-perl_5.02-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-format-perl/libhtml-format-perl_2.10-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-cookies-perl/libhttp-cookies-perl_6.00-2_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-daemon-perl/libhttp-daemon-perl_6.01-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-negotiate-perl/libhttp-negotiate-perl_6.00-2_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsocket6-perl/libsocket6-perl_0.23-1_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libi/libio-socket-inet6-perl/libio-socket-inet6-perl_2.69-2_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libn/libnet-ssleay-perl/libnet-ssleay-perl_1.48-1_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libi/libio-socket-ssl-perl/libio-socket-ssl-perl_1.76-2_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libn/libnet-http-perl/libnet-http-perl_6.03-2_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libw/libwww-robotrules-perl/libwww-robotrules-perl_6.01-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libw/libwww-perl/libwww-perl_6.04-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libl/liblwp-protocol-https-perl/liblwp-protocol-https-perl_6.03-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libm/libmailtools-perl/libmailtools-perl_2.09-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libm/libmodule-build-perl/libmodule-build-perl_0.400100-2_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libm/libmodule-signature-perl/libmodule-signature-perl_0.68-1+deb7u1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/n/nss-mdns/libnss-mdns_0.10-3.2_armhf.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libr/libregexp-common-perl/libregexp-common-perl_2011121001-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libp/libpod-readme-perl/libpod-readme-perl_0.11-1_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libt/libtext-template-perl/libtext-template-perl_1.45-2_all.deb
 404  Not Found
Failed to fetch
http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsoftware-license-perl/libsoftware-license-perl_0.103004-2_all.deb
 404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
pi@raspberrypi ~ $

For reference I have run:
ifconfig -a
cat /etc/resolv.conf
sudo cat /etc/network/interfaces
route -n

Output is as follows:

Code: Select all

pi@raspberrypi ~ $ ifconfig -a
eth0      Link encap:Ethernet  HWaddr b8:27:eb:09:78:2f
          inet addr:192.168.1.113  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:283 errors:0 dropped:0 overruns:0 frame:0
          TX packets:296 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:135214 (132.0 KiB)  TX bytes:55970 (54.6 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

pi@raspberrypi ~ $ cat /etc/resolv.conf
nameserver 203.185.0.37
nameserver 203.185.0.36
nameserver 203.185.0.34

pi@raspberrypi ~ $ sudo cat /etc/network/interfaces
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

pi@raspberrypi ~ $ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0

pi@raspberrypi ~ $ ping google.com
PING google.com (74.125.136.138) 56(84) bytes of data.
64 bytes from ea-in-f138.1e100.net (74.125.136.138): icmp_req=1 ttl=40
time=284 ms
64 bytes from ea-in-f138.1e100.net (74.125.136.138): icmp_req=2 ttl=40
time=287 ms
64 bytes from ea-in-f138.1e100.net (74.125.136.138): icmp_req=3 ttl=40
time=284 ms
64 bytes from ea-in-f138.1e100.net (74.125.136.138): icmp_req=4 ttl=40
time=285 ms
^C
--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 284.785/285.590/287.537/1.197 ms

pi@raspberrypi ~ $
I had initially tried this using the NOOB install and then tried the Raspbian install found here: http://downloads.raspberrypi.org/raspbi ... 014-01-09/

I cannot for the life of me figure out what is wrong. I have even tried to change the mirror site in the source list with no luck. In the latest install I completed update and upgrade but found that the /etc/apt/source.list file was missing for some reason and ended up creating one using this site as the mirror: http://mirror.ox.ac.uk/sites/archive.ra ... e/raspbian. Even still, apt-get seems to still default to the mirrordirector site that causes the 404 error.

Any help would be greatly appreciated.

User avatar
DougieLawson
Posts: 39302
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: 404 Error with Apt-Get

Sun Apr 20, 2014 7:09 pm

Try
sudo apt-get update
to ensure you're pointing at the right mirrors.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Chasm_Crosser
Posts: 4
Joined: Sat Apr 19, 2014 4:21 pm

Re: 404 Error with Apt-Get

Mon Apr 21, 2014 2:56 am

Hi Dougie,

I've executed sudo apt-get update as well as sudo apt-get --fix-missing but I am still running into the same 404 error when I try to download the dependencies.

See a copy of the session below:

Code: Select all

pi@raspberrypi ~ $ sudo apt-get update
Hit http://repository.wolfram.com stable Release.gpg
Hit http://raspberrypi.collabora.com wheezy Release.gpg                        
Hit http://repository.wolfram.com stable Release                               
Hit http://raspberrypi.collabora.com wheezy Release                            
Hit http://mirrordirector.raspbian.org wheezy Release.gpg                      
Hit http://archive.raspberrypi.org wheezy Release.gpg                          
Hit http://repository.wolfram.com stable/non-free armhf Packages     
Hit http://mirrordirector.raspbian.org wheezy Release                
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages                 
Hit http://archive.raspberrypi.org wheezy Release                    
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages              
Hit http://archive.raspberrypi.org wheezy/main armhf Packages        
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages 
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages          
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages               
Ign http://repository.wolfram.com stable/non-free Translation-en_GB            
Ign http://repository.wolfram.com stable/non-free Translation-en               
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB    
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en       
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Reading package lists... Done

pi@raspberrypi ~ $ cat /etc/apt/source.list
deb http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian wheezy main non-free contrib rpi 

pi@raspberrypi ~ $[ sudo apt-get install git libao-dev libssl-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl avahi-utils libmodule-build-perl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git is already the newest version.
The following extra packages will be installed:
  avahi-daemon bind9-host geoip-database libalgorithm-c3-perl libao-common libao4 libavahi-core7 libbind9-80
  libclass-c3-perl libclass-c3-xs-perl libcrypt-openssl-bignum-perl libdata-optlist-perl libdata-section-perl libdns88
  libencode-locale-perl libfile-listing-perl libfont-afm-perl libgeoip1 libhtml-form-perl libhtml-format-perl
  libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
  libhttp-message-perl libhttp-negotiate-perl libio-socket-ssl-perl libisc84 libisccc80 libisccfg82 liblwp-mediatypes-perl
  liblwp-protocol-https-perl liblwres80 libmailtools-perl libmodule-signature-perl libmro-compat-perl libnet-http-perl
  libnet-ssleay-perl libnss-mdns libparams-util-perl libpod-readme-perl libregexp-common-perl libsocket6-perl
  libsoftware-license-perl libssl-doc libssl1.0.0 libsub-exporter-perl libsub-install-perl libtext-template-perl
  liburi-perl libwww-robotrules-perl
Suggested packages:
  avahi-autoipd geoip-bin libdata-dump-perl libcrypt-ssleay-perl libauthen-ntlm-perl
The following NEW packages will be installed:
  avahi-daemon avahi-utils bind9-host geoip-database libalgorithm-c3-perl libao-common libao-dev libao4 libavahi-core7
  libbind9-80 libclass-c3-perl libclass-c3-xs-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl
  libdata-optlist-perl libdata-section-perl libdns88 libencode-locale-perl libfile-listing-perl libfont-afm-perl libgeoip1
  libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
  libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-socket-inet6-perl
  libio-socket-ssl-perl libisc84 libisccc80 libisccfg82 liblwp-mediatypes-perl liblwp-protocol-https-perl liblwres80
  libmailtools-perl libmodule-build-perl libmodule-signature-perl libmro-compat-perl libnet-http-perl libnet-ssleay-perl
  libnss-mdns libparams-util-perl libpod-readme-perl libregexp-common-perl libsocket6-perl libsoftware-license-perl
  libssl-dev libssl-doc libsub-exporter-perl libsub-install-perl libtext-template-perl liburi-perl libwww-perl
  libwww-robotrules-perl
The following packages will be upgraded:
  libssl1.0.0
1 upgraded, 59 newly installed, 0 to remove and 6 not upgraded.
Need to get 9,341 kB of archives.
After this operation, 22.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libssl1.0.0 armhf 1.0.1e-2+rvt+deb7u7 [1,050 kB]
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main geoip-database all 20130213-1
  404  Not Found
Get:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libavahi-core7 armhf 0.6.31-2 [119 kB]
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libgeoip1 armhf 1.4.8+dfsg-3    
  404  Not Found
Get:3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libisc84 armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1 [167 kB]
Get:4 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libdns88 armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1 [707 kB]
Get:5 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libisccc80 armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1 [32.6 kB]
Get:6 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libisccfg82 armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1 [54.0 kB]
Get:7 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libbind9-80 armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1 [40.8 kB]
Get:8 http://mirrordirector.raspbian.org/raspbian/ wheezy/main liblwres80 armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1 [50.8 kB]
Get:9 http://mirrordirector.raspbian.org/raspbian/ wheezy/main bind9-host armhf 1:9.8.4.dfsg.P1-6+nmu2+deb7u1 [70.9 kB]
Get:10 http://mirrordirector.raspbian.org/raspbian/ wheezy/main avahi-daemon armhf 0.6.31-2 [94.2 kB]
Get:11 http://mirrordirector.raspbian.org/raspbian/ wheezy/main avahi-utils armhf 0.6.31-2 [55.8 kB]
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libalgorithm-c3-perl all 0.08-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libao-common armhf 1.1.0-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libao4 armhf 1.1.0-2                                          
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libao-dev armhf 1.1.0-2                                       
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libclass-c3-perl all 0.24-1                                   
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libclass-c3-xs-perl armhf 0.13-1                              
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libcrypt-openssl-bignum-perl armhf 0.04-3                     
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libcrypt-openssl-rsa-perl armhf 0.28-1                        
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libparams-util-perl armhf 1.07-1                              
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libsub-install-perl all 0.926-1                               
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libdata-optlist-perl all 0.107-1                              
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmro-compat-perl all 0.11-1                                 
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libsub-exporter-perl all 0.984-1                              
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libdata-section-perl all 0.101621-1                           
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libencode-locale-perl all 1.03-1                              
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhttp-date-perl all 6.02-1                                  
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libfile-listing-perl all 6.04-1                               
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libfont-afm-perl all 1.20-1                                   
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main liburi-perl all 1.60-1                                        
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhtml-tagset-perl all 3.20-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhtml-parser-perl armhf 3.69-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main liblwp-mediatypes-perl all 6.02-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhttp-message-perl all 6.03-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhtml-form-perl all 6.03-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhtml-tree-perl all 5.02-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhtml-format-perl all 2.10-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhttp-cookies-perl all 6.00-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhttp-daemon-perl all 6.01-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhttp-negotiate-perl all 6.00-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libsocket6-perl armhf 0.23-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libio-socket-inet6-perl all 2.69-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libnet-ssleay-perl armhf 1.48-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libio-socket-ssl-perl all 1.76-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libnet-http-perl all 6.03-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libwww-robotrules-perl all 6.01-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libwww-perl all 6.04-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main liblwp-protocol-https-perl all 6.03-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmailtools-perl all 2.09-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmodule-build-perl all 0.400100-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmodule-signature-perl all 0.68-1+deb7u1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libnss-mdns armhf 0.10-3.2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libregexp-common-perl all 2011121001-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libpod-readme-perl all 0.11-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libtext-template-perl all 1.45-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libsoftware-license-perl all 0.103004-2
  404  Not Found
Get:12 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libssl-dev armhf 1.0.1e-2+rvt+deb7u7 [1,497 kB]
Get:13 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libssl-doc all 1.0.1e-2+rvt+deb7u7 [1,201 kB]
Fetched 5,141 kB in 24s (209 kB/s)     
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/g/geoip-database/geoip-database_20130213-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/g/geoip/libgeoip1_1.4.8+dfsg-3_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libalgorithm-c3-perl/libalgorithm-c3-perl_0.08-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libao/libao-common_1.1.0-2_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libao/libao4_1.1.0-2_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libao/libao-dev_1.1.0-2_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libc/libclass-c3-perl/libclass-c3-perl_0.24-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libc/libclass-c3-xs-perl/libclass-c3-xs-perl_0.13-1_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libc/libcrypt-openssl-bignum-perl/libcrypt-openssl-bignum-perl_0.04-3_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libc/libcrypt-openssl-rsa-perl/libcrypt-openssl-rsa-perl_0.28-1_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libp/libparams-util-perl/libparams-util-perl_1.07-1_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsub-install-perl/libsub-install-perl_0.926-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libd/libdata-optlist-perl/libdata-optlist-perl_0.107-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libm/libmro-compat-perl/libmro-compat-perl_0.11-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsub-exporter-perl/libsub-exporter-perl_0.984-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libd/libdata-section-perl/libdata-section-perl_0.101621-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libe/libencode-locale-perl/libencode-locale-perl_1.03-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-date-perl/libhttp-date-perl_6.02-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libf/libfile-listing-perl/libfile-listing-perl_6.04-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libf/libfont-afm-perl/libfont-afm-perl_1.20-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libu/liburi-perl/liburi-perl_1.60-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-tagset-perl/libhtml-tagset-perl_3.20-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-parser-perl/libhtml-parser-perl_3.69-2_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libl/liblwp-mediatypes-perl/liblwp-mediatypes-perl_6.02-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-message-perl/libhttp-message-perl_6.03-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-form-perl/libhtml-form-perl_6.03-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-tree-perl/libhtml-tree-perl_5.02-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-format-perl/libhtml-format-perl_2.10-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-cookies-perl/libhttp-cookies-perl_6.00-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-daemon-perl/libhttp-daemon-perl_6.01-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-negotiate-perl/libhttp-negotiate-perl_6.00-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsocket6-perl/libsocket6-perl_0.23-1_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libi/libio-socket-inet6-perl/libio-socket-inet6-perl_2.69-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libn/libnet-ssleay-perl/libnet-ssleay-perl_1.48-1_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libi/libio-socket-ssl-perl/libio-socket-ssl-perl_1.76-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libn/libnet-http-perl/libnet-http-perl_6.03-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libw/libwww-robotrules-perl/libwww-robotrules-perl_6.01-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libw/libwww-perl/libwww-perl_6.04-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libl/liblwp-protocol-https-perl/liblwp-protocol-https-perl_6.03-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libm/libmailtools-perl/libmailtools-perl_2.09-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libm/libmodule-build-perl/libmodule-build-perl_0.400100-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libm/libmodule-signature-perl/libmodule-signature-perl_0.68-1+deb7u1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/n/nss-mdns/libnss-mdns_0.10-3.2_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libr/libregexp-common-perl/libregexp-common-perl_2011121001-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libp/libpod-readme-perl/libpod-readme-perl_0.11-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libt/libtext-template-perl/libtext-template-perl_1.45-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsoftware-license-perl/libsoftware-license-perl_0.103004-2_all.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

pi@raspberrypi ~ $ sudo apt-get update --fix-missing
Hit http://repository.wolfram.com stable Release.gpg
Hit http://raspberrypi.collabora.com wheezy Release.gpg                                               
Hit http://mirrordirector.raspbian.org wheezy Release.gpg                                             
Hit http://repository.wolfram.com stable Release                                                      
Hit http://raspberrypi.collabora.com wheezy Release                                                   
Hit http://mirrordirector.raspbian.org wheezy Release                                     
Hit http://archive.raspberrypi.org wheezy Release.gpg                                       
Hit http://repository.wolfram.com stable/non-free armhf Packages     
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages       
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages    
Hit http://archive.raspberrypi.org wheezy Release                    
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages                        
Hit http://archive.raspberrypi.org wheezy/main armhf Packages                              
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages                      
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages                           
Ign http://repository.wolfram.com stable/non-free Translation-en_GB                        
Ign http://repository.wolfram.com stable/non-free Translation-en                           
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB    
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en       
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Reading package lists... Done

pi@raspberrypi ~ $ sudo apt-get install git libao-dev libssl-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl avahi-utils libmodule-build-perl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git is already the newest version.
The following extra packages will be installed:
  avahi-daemon bind9-host geoip-database libalgorithm-c3-perl libao-common libao4 libavahi-core7 libbind9-80
  libclass-c3-perl libclass-c3-xs-perl libcrypt-openssl-bignum-perl libdata-optlist-perl libdata-section-perl libdns88
  libencode-locale-perl libfile-listing-perl libfont-afm-perl libgeoip1 libhtml-form-perl libhtml-format-perl
  libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
  libhttp-message-perl libhttp-negotiate-perl libio-socket-ssl-perl libisc84 libisccc80 libisccfg82 liblwp-mediatypes-perl
  liblwp-protocol-https-perl liblwres80 libmailtools-perl libmodule-signature-perl libmro-compat-perl libnet-http-perl
  libnet-ssleay-perl libnss-mdns libparams-util-perl libpod-readme-perl libregexp-common-perl libsocket6-perl
  libsoftware-license-perl libssl-doc libssl1.0.0 libsub-exporter-perl libsub-install-perl libtext-template-perl
  liburi-perl libwww-robotrules-perl
Suggested packages:
  avahi-autoipd geoip-bin libdata-dump-perl libcrypt-ssleay-perl libauthen-ntlm-perl
The following NEW packages will be installed:
  avahi-daemon avahi-utils bind9-host geoip-database libalgorithm-c3-perl libao-common libao-dev libao4 libavahi-core7
  libbind9-80 libclass-c3-perl libclass-c3-xs-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl
  libdata-optlist-perl libdata-section-perl libdns88 libencode-locale-perl libfile-listing-perl libfont-afm-perl libgeoip1
  libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
  libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-socket-inet6-perl
  libio-socket-ssl-perl libisc84 libisccc80 libisccfg82 liblwp-mediatypes-perl liblwp-protocol-https-perl liblwres80
  libmailtools-perl libmodule-build-perl libmodule-signature-perl libmro-compat-perl libnet-http-perl libnet-ssleay-perl
  libnss-mdns libparams-util-perl libpod-readme-perl libregexp-common-perl libsocket6-perl libsoftware-license-perl
  libssl-dev libssl-doc libsub-exporter-perl libsub-install-perl libtext-template-perl liburi-perl libwww-perl
  libwww-robotrules-perl
The following packages will be upgraded:
  libssl1.0.0
1 upgraded, 59 newly installed, 0 to remove and 6 not upgraded.
Need to get 4,200 kB/9,341 kB of archives.
After this operation, 22.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main geoip-database all 20130213-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libgeoip1 armhf 1.4.8+dfsg-3
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libalgorithm-c3-perl all 0.08-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libao-common armhf 1.1.0-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libao4 armhf 1.1.0-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libao-dev armhf 1.1.0-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libclass-c3-perl all 0.24-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libclass-c3-xs-perl armhf 0.13-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libcrypt-openssl-bignum-perl armhf 0.04-3
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libcrypt-openssl-rsa-perl armhf 0.28-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libparams-util-perl armhf 1.07-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libsub-install-perl all 0.926-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libdata-optlist-perl all 0.107-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmro-compat-perl all 0.11-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libsub-exporter-perl all 0.984-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libdata-section-perl all 0.101621-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libencode-locale-perl all 1.03-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhttp-date-perl all 6.02-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libfile-listing-perl all 6.04-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libfont-afm-perl all 1.20-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main liburi-perl all 1.60-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhtml-tagset-perl all 3.20-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhtml-parser-perl armhf 3.69-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main liblwp-mediatypes-perl all 6.02-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhttp-message-perl all 6.03-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhtml-form-perl all 6.03-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhtml-tree-perl all 5.02-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhtml-format-perl all 2.10-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhttp-cookies-perl all 6.00-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhttp-daemon-perl all 6.01-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhttp-negotiate-perl all 6.00-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libsocket6-perl armhf 0.23-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libio-socket-inet6-perl all 2.69-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libnet-ssleay-perl armhf 1.48-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libio-socket-ssl-perl all 1.76-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libnet-http-perl all 6.03-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libwww-robotrules-perl all 6.01-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libwww-perl all 6.04-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main liblwp-protocol-https-perl all 6.03-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmailtools-perl all 2.09-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmodule-build-perl all 0.400100-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmodule-signature-perl all 0.68-1+deb7u1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libnss-mdns armhf 0.10-3.2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libregexp-common-perl all 2011121001-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libpod-readme-perl all 0.11-1
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libtext-template-perl all 1.45-2
  404  Not Found
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libsoftware-license-perl all 0.103004-2
  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/g/geoip-database/geoip-database_20130213-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/g/geoip/libgeoip1_1.4.8+dfsg-3_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libalgorithm-c3-perl/libalgorithm-c3-perl_0.08-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libao/libao-common_1.1.0-2_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libao/libao4_1.1.0-2_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libao/libao-dev_1.1.0-2_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libc/libclass-c3-perl/libclass-c3-perl_0.24-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libc/libclass-c3-xs-perl/libclass-c3-xs-perl_0.13-1_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libc/libcrypt-openssl-bignum-perl/libcrypt-openssl-bignum-perl_0.04-3_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libc/libcrypt-openssl-rsa-perl/libcrypt-openssl-rsa-perl_0.28-1_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libp/libparams-util-perl/libparams-util-perl_1.07-1_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsub-install-perl/libsub-install-perl_0.926-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libd/libdata-optlist-perl/libdata-optlist-perl_0.107-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libm/libmro-compat-perl/libmro-compat-perl_0.11-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsub-exporter-perl/libsub-exporter-perl_0.984-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libd/libdata-section-perl/libdata-section-perl_0.101621-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libe/libencode-locale-perl/libencode-locale-perl_1.03-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-date-perl/libhttp-date-perl_6.02-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libf/libfile-listing-perl/libfile-listing-perl_6.04-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libf/libfont-afm-perl/libfont-afm-perl_1.20-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libu/liburi-perl/liburi-perl_1.60-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-tagset-perl/libhtml-tagset-perl_3.20-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-parser-perl/libhtml-parser-perl_3.69-2_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libl/liblwp-mediatypes-perl/liblwp-mediatypes-perl_6.02-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-message-perl/libhttp-message-perl_6.03-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-form-perl/libhtml-form-perl_6.03-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-tree-perl/libhtml-tree-perl_5.02-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhtml-format-perl/libhtml-format-perl_2.10-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-cookies-perl/libhttp-cookies-perl_6.00-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-daemon-perl/libhttp-daemon-perl_6.01-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libh/libhttp-negotiate-perl/libhttp-negotiate-perl_6.00-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsocket6-perl/libsocket6-perl_0.23-1_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libi/libio-socket-inet6-perl/libio-socket-inet6-perl_2.69-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libn/libnet-ssleay-perl/libnet-ssleay-perl_1.48-1_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libi/libio-socket-ssl-perl/libio-socket-ssl-perl_1.76-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libn/libnet-http-perl/libnet-http-perl_6.03-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libw/libwww-robotrules-perl/libwww-robotrules-perl_6.01-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libw/libwww-perl/libwww-perl_6.04-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libl/liblwp-protocol-https-perl/liblwp-protocol-https-perl_6.03-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libm/libmailtools-perl/libmailtools-perl_2.09-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libm/libmodule-build-perl/libmodule-build-perl_0.400100-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libm/libmodule-signature-perl/libmodule-signature-perl_0.68-1+deb7u1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/n/nss-mdns/libnss-mdns_0.10-3.2_armhf.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libr/libregexp-common-perl/libregexp-common-perl_2011121001-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libp/libpod-readme-perl/libpod-readme-perl_0.11-1_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libt/libtext-template-perl/libtext-template-perl_1.45-2_all.deb  404  Not Found
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/libs/libsoftware-license-perl/libsoftware-license-perl_0.103004-2_all.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

pi@raspberrypi ~ $ 

fruitoftheloom
Posts: 23548
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: 404 Error with Apt-Get

Mon Apr 21, 2014 5:29 am

In my sources list just have:

deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

Then on a fresh install

sodo apt-get update
sudo apt-get dist-upgrade
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

User avatar
rpdom
Posts: 17275
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: 404 Error with Apt-Get

Mon Apr 21, 2014 6:38 am

The file names/versions and the mirror address all look good to me. I just downloaded one of those "404" files using wget and the same information. Perhaps there is a mirror out there that is only partly synced with the rest?

The mirrordirector is supposed to redirect your request to a localish mirror to spread the load a bit. The one my request was directed to was mirror0.it.ox.ac.uk Perhaps if you replaced "mirrordirector.raspbian.org" with that and try the apt-get update again, then try the install.

Chasm_Crosser
Posts: 4
Joined: Sat Apr 19, 2014 4:21 pm

Re: 404 Error with Apt-Get

Mon Apr 21, 2014 8:46 am

rpdom: Would you mind sharing the exact syntax you used for downloading the file using wget? Also, once downloaded with wget, what command do I use to install the file? Thanks

I am going to try and do a fresh install of Raspbian and see if that helps. But thought I'd ask in the meantime in case I have to go to a manual download and install process.

Fruitoftheloom: I got the following response when trying to do the upgrade:

Code: Select all

pi@raspberrypi ~ $ sudo apt-get dlist-upgrade
E: Invalid operation dlist-upgrade
pi@raspberrypi ~ $ sudo apt-get dlist upgrade
E: Invalid operation dlist
I tried it both ways in case I got the syntax wrong.

MaxK1
Posts: 1043
Joined: Sun Aug 26, 2012 11:34 pm

Re: 404 Error with Apt-Get

Mon Apr 21, 2014 9:05 am

sudo apt-get dist-upgrade

No "l" - should help with the last one...
You are in a maze of twisty little passages, all alike.
When General Failure and Major Disaster get together, Private Parts usually suffers.

petalyaa
Posts: 4
Joined: Sun Apr 20, 2014 7:02 pm
Location: Malaysia

Re: 404 Error with Apt-Get

Mon Apr 21, 2014 9:15 am

Im also experiencing the same error when installing python-dev. I try to open th url which apt-get cannot find. The file is there but when downloading, it redirect to another mirror which the file is not exist. In my case its just one package not found. So i just download the deb package from another mirror using wget, then i install it manually using dpkg -i. My guess is the issue is coming from the mirrordirector.raspbian.org but not too sure.

User avatar
rpdom
Posts: 17275
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: 404 Error with Apt-Get

Mon Apr 21, 2014 9:33 am

Chasm_Crosser wrote:rpdom: Would you mind sharing the exact syntax you used for downloading the file using wget? Also, once downloaded with wget, what command do I use to install the file?
The command I used was

Code: Select all

wget http://mirrordirector.raspbian.org/raspbian/pool/main/g/geoip/libgeoip1_1.4.8+dfsg-3_armhf.deb
You can change the "mirrordirector.raspbian.org" for a specific mirror if that fails.

You can then install the file using dpkg

Code: Select all

sudo dpkg -i libgeoip1_1.4.8+dfsg-3_armhf.deb
But that might complain about missing dependencies. An alternative way is to move the file(s) into /var/cache/apt/archives and then run the apt-get install command again. It will realise that the files are already where it wants them to be and skip trying to download them again.

Chasm_Crosser
Posts: 4
Joined: Sat Apr 19, 2014 4:21 pm

(SOLVED) Re: 404 Error with Apt-Get

Mon Apr 21, 2014 11:21 am

rpdom: You were right! I changed the mirrordirector entry in /etc/apt/sources.list to the following:

Code: Select all

deb http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy main contrib non-free rpi
and then executed

Code: Select all

sudo apt-get update
and it worked like a charm. All of the subsequent downloades executed without any problems.

As you alluded to you in your earlier note, it seems as though some of the mirrors are not fully in sync and as a result, I was not getting all of the packages.

Thanks very much again!

User avatar
DougieLawson
Posts: 39302
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: 404 Error with Apt-Get

Mon Apr 21, 2014 11:23 am

I'd leave it until tomorrow evening when folks have been back at work for a full day after Easter and all of their processes that failed over the long weekend have been restarted.

Having to mess with the name of the mirror could simply lead to unexpected errors later.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
rpdom
Posts: 17275
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: 404 Error with Apt-Get

Mon Apr 21, 2014 12:36 pm

DougieLawson wrote:Having to mess with the name of the mirror could simply lead to unexpected errors later.
I agree, but as a "get it working for now" fix, it works. Later the sources.list should be changed back to the standard entry.

Return to “Troubleshooting”