I am trying to reinstall ntp on some BBB running 3.8.13-bone70 debian wheezy.
When I run apt-get -y install --reinstall ntp I get:
apt-get install --reinstall ntp
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 81 not upgraded.
Need to get 494 kB of archives.
After this operation, 0 B of additional disk space will be used.
Err http://security.debian.org/ wheezy/updates/main ntp armhf 1:4.2.6.p5+dfsg-2+deb7u4
404 Not Found [IP: 184.108.40.206 80]
Failed to fetch http://security.debian.org/pool/updates/main/n/ntp/ntp_4.2.6.p5+dfsg-2+deb7u4_armhf.deb 404 Not Found [IP: 220.127.116.11 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I don’t want to run apt-get update – as this device is running remotely off a 2G slow connection.
How can I fix this without having to run apt-get update?
Did my sources.list get too old? Here is what is in there now:
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
#deb-src http://security.debian.org/ wheezy/updates main contrib non-free
#deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
##deb-src http://ftp.debian.org/debian wheezy-backports main contrib non-free
#Kernel source (repos.rcn-ee.net) : https://github.com/RobertCNelson/linux-stable-rcn-ee
Maybe this is overkill for your purposes, but when I was working with multiple Pandaboards in a lab that didn’t allow them real internet access I used this to set up “local repos” using a laptop and external USB drive connected and home and then moved into the lab and connected to the isolated local network as necessary:
While the initial setup took over night, keeping it updated wasn’t too bad.
Thanks Robert. Worked like a charm.
Did have to also install libopts25 with
apt-get -y install libopts25