TheSpaghettiDetective / moonraker-obico

GNU Affero General Public License v3.0
149 stars 41 forks source link

buster-backports Release no longer has a Release file (Elegoo Neptune 4) #93

Closed stevewade closed 5 months ago

stevewade commented 5 months ago

Describe the bug

To Reproduce

  1. SSH into Elegoo Neptune 4
  2. Follow instructions on https://www.obico.io/blog/elegoo-neptune-4-and-obico-ai-3d-printing-revolution/
  3. At Step 4: Run the Installation Script upon running the ./install.shcommand, the following error is seen:

`###### Installing required system packages... You may be prompted to enter password.

[sudo] password for mks: Hit:1 http://deb.debian.org/debian buster InRelease Hit:2 http://deb.debian.org/debian buster-updates InRelease Ign:3 http://deb.debian.org/debian buster-backports InRelease Hit:4 http://security.debian.org buster/updates InRelease Err:5 http://deb.debian.org/debian buster-backports Release 404 Not Found [IP: 2a04:4e42:f::644 80] Reading package lists... Done E: The repository 'http://deb.debian.org/debian buster-backports Release' no longer has a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.`

image

jhaury commented 5 months ago

I had this same error and I was able to fix it by changing the repo manually. I edited /etc/apt/sources.list.

Find any lines referencing “http://deb.debian.org/debian buster-backports main …” Replace deb.debian.org with archive.debian.org

deb http://deb.debian.org/debian buster-backports main contrib non-free To: deb http://archive.debian.org/debian buster-backports main contrib non-free

Then I reran ./install.sh and it worked

kennethjiang commented 5 months ago

Thank you @jhaury for providing the solution! This is the best option that I'm aware of. I believe this problem was caused by the fact that debian.org has dropped official support for Buster.

Closing it as it's a 3rd-party problem, and it has a good workaround.

stevewade commented 5 months ago

Worked like a charm, thank @kennethjiang