Error Fetching Python 3 Upgrade

What is the problem?

Trying to upgrade OctoPi 0.17.0 to Python 3 per the scripts listed here: https://github.com/cp2004/Octoprint-Upgrade-To-Py3#using-this-script

Getting the following fetch error:

Checking package list for python3-dev
Installing python3-dev...
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3. 7/libpython3.7-dev_3.7.3-2_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3. 7/python3.7-dev_3.7.3-2_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-mis sing?
ERROR: failed to install python3-dev

What did you already try to solve it?

Tried apt-get update, received the following:

Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
octoprint-systeminfo-20211011200430.zip (38.3 KB)

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

Systeminfo Bundle attached.

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

OctoPrint 1.7.0
OctoPi 0.17.0
Printer Ender 3
octoprint-systeminfo-20211011200430.zip (38.3 KB)

try

sudo apt-get update --allow-releaseinfo-change

and run the script again

1 Like

Thank you! The got me past that point and it is running through the rest.

A lot of "failed building wheel" for various plugins, but I'll see how this finishes.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.