brewpi-remix / brewpi-tools-rmx

START HERE: BrewPi Remix Tools
https://www.brewpiremix.com
GNU General Public License v3.0
17 stars 6 forks source link

Failed to fetch apache2 #66

Closed studioahoy closed 1 year ago

studioahoy commented 1 year ago

apt-get update is current:

Installing 'apache2'.

E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/a/apr/libapr1_1.7.0-6%2bdeb11u1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/a/apr-util/libaprutil1_1.6.1-5_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/a/apr-util/libaprutil1-dbd-sqlite3_1.6.1-5_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/a/apr-util/libaprutil1-ldap_1.6.1-5_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?

*** ERROR ERROR ERROR ERROR ERROR ***
-------------------------------------
See above lines for error message.
Setup NOT completed.

*** ERROR ERROR ERROR ERROR ERROR ***
-------------------------------------

See above lines for error message.
Setup NOT completed.
studioahoy commented 1 year ago

Please note this has been resolved after:

  1. setting the correct time/date manually sudo date -s "01/04/2017 11:00"
  2. installing htpdate to override the built-in NTP service sudo apt install htpdate
  3. update and upgrade packages sudo apt update sudo apt full-upgrade

Then the brewpi-remix install script works perfectly.