-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsigned Repository stops script[Bug] #64
Comments
This is nothing wrong with the script, something is broken in your apt configuration. It is just trying to run |
ok. but i can put a flag in with sudo apt update to let it continue anyways. how can i add that flag to the script? or what can i do to fix this issue. i've been googling around for literally hours getting nowhere. |
You will have to edit the script to add the flag manually then. Line 193 |
ah well that's not working. i'm probably just going to give up and add the warning to adblock. |
What flag are you trying to add? |
--allow-unauthenticated
|
Is the error the same? If you can't get past the apt-get update, but you can update the package list manually, then you can skip it if you are editing the script. Change line 683, either deleting or commenting it: - update_package_list(backup_location) |
yes the error is the same. doing that allowed the script to run but now i can't access the pi via ssh and it's at a remote location so i'm dead in the water. oh well i guess. |
i guess i was being impatient. i am back on the pi but now octoprint doesn't work at all anymore. again, oh well i guess. |
Well would you like more help to try and figure it out or just going to give up straight away? |
if you're willing to help that's great but it feels pretty hopeless
that's where i'm at. |
i dont know how to insert the code as a block... |
now trying to add keys and getting more errors
|
i honestly have no idea what any of this means and i really don't understand why it won't just work, or let me simply bypass the unsigned bit. i don't care if it's signed or not |
It looks like at some point you tried to add some extra sources to the list, which broke it. I don't recognise the repos that broke as default ones, so I guess it was trying to install something that wasn't in the default repositories as a separate project. I'll probably need some more details about your OS installed on the Pi because it's not clear what it is? Is is Raspberry Pi OS? Also, the repositories generating the errors are for raspbian wheezy, when the rest of them are buster, so it was never going to work. If you aren't using Ubuntu 16.04 then this command won't work either:
I would try the following, to remove the problem repositories:
Locate one that looks like |
ok, I deleted one entry which was playonlinux.list Here is what's left: zerotier is my VPN service which I am connecting to the pi through avahi-daemon running, octopi still inaccessable |
no idea how to format this comment... |
I was having the same problem and was able to temporarily disable certificate checking in apt with this config in apt:
You can remove /etc/apt/apt.conf.d/99verify-peer.conf after... Regards, |
Describe the bug
The script trys to draw from an unsigned repository which causes an error.
Script output
pi@octoPi:~ $ python3 upgrade.py
OctoPrint Upgrade to Py 3 (v2.2.2)
This script will move your existing OctoPrint configuration from Python 2 to Python 3
This script requires an internet connection and it will disrupt any ongoing print jobs.
It will install the latest version of OctoPrint and all plugins.
No configuration or other files will be overwritten
Press [enter] to continue or ctrl-c to quit
Checking system info...
Please provide the path to your virtual environment and the config directory of OctoPrint
On OctoPi, this would be
/home/pi/oprint
(for the venv),/home/pi/.octoprint
(for config)and service commands commands
sudo service octoprint stop/start
Virtual environment path: /home/pi/OctoPrint
Found version: Python 2.7.16
Path valid
Config directory path: /home/pi/.octoprint
Config directory valid
To do the install, we need the service stop and start commands. (Leave blank if you don't have a service set up)
Stop command: sudo service octoprint stop
Start command: sudo service octoprint start
Checking OctoPrint version...
OctoPrint version: 1.4.2
Reading installed plugins...
No plugins found
If you think this is an error, please ask for help. Note this doesn't include bundled plugins.
Press [enter] to continue or ctrl-c to quit
Updating package list...
W: GPG error: https://www.linux-projects.org/listing/uv4l_repo/raspbian wheezy InRelease: The following signatures were invalid: 88E8F32F724468BA39585D4099DA5D2AFCE635A4
E: The repository 'http://www.linux-projects.org/listing/uv4l_repo/raspbian wheezy InRelease' is not signed.
ERROR: failed to update package list
Please try manually
Cleaning up...
Fatal error: Exiting
Script version
SCRIPT_VERSION = '2.2.2'
OctoPrint Version
Version 1.7.2
Relevant plugins that may have caused errors
I don't think plugins have anything to do with this.
Additional information
There's really nothing more to add.
The text was updated successfully, but these errors were encountered: