Open surfrod opened 2 years ago
python-2 end of life for debian happened, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=937579
possible fixes (from the link)
Convert your Package to Python3. This is the preferred option. In case you are providing a Python module foo, please consider dropping the python-foo package, and only build a python3-foo package. Please don't drop Python2 modules, which still have reverse dependencies, just document them.
This is the preferred option. (this might take some time for the devs, lets see what they do)
I made a change in schedule_captures.sh in order to not decode when the azimuth is greater than x or less than y (I used fixed valued and followed the existing logic to check against the azimuth env variable already referenced)
So, figured running install_and_upgrade.sh would pick up the change. Correct me if I'm wrong.
At any rate, when running install_and_upgrade.sh it throws an error (to my mind this is not related to the change I made, but again correct me if I'm wrong)
TASK [common : install dependencies] *** [WARNING]: Updating cache and auto-installing missing dependency: python-apt fatal: [localhost]: FAILED! => {"changed": false, "cmd": "apt-get install --no-install-recommends python-apt -y -q", "msg": "E: Package 'python-apt' has no installation candidate", "rc": 100, "stderr": "E: Package 'python-apt' has no installation candidate\n", "stderr_lines": ["E: Package 'python-apt' has no installation candidate"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nPackage python-apt is not available, but is referred to by another package.\nThis may mean that the package is missing, has been obsoleted, or\nis only available from another source\nHowever the following packages replace it:\n python3-apt-dbg python3-apt python-apt-doc python-apt-common\n\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Package python-apt is not available, but is referred to by another package.", "This may mean that the package is missing, has been obsoleted, or", "is only available from another source", "However the following packages replace it:", " python3-apt-dbg python3-apt python-apt-doc python-apt-common", ""]}
PLAY RECAP ***** localhost : ok=14 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
Error: Something failed with the install - please inspect the logs above
OS Bullseye 32 bit Raspberry pi 4