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
notes and dependencies [for Python 2 on new OS's on {amd64, arm64, armhf}. Tested on Debian 12 & Ubuntu 23.04] #3535
Conversation
@jvonau if possible, clarify the purpose of both lines (In the latter case [libssl3] I assume it's already installed on most all newer OS's, like Debian 12 and Ubuntu 23.04 / 23.10 OS's, so presumably that's about providing additional code safety?) On this general topic of dependencies & notes to inform future upkeep, 2 packages are also installed at the top of install_python2.sh as discussed here: Related: |
Both 'should be' installed out of the box but I don't like to leave things to chance when introducing a repo that might provide the same deb but an older version. Apt should deal with that correctly but one never knows when mixing and matching older programs that have been discontinued. |
https://packages.debian.org/search?keywords=media-types&searchon=names&suite=stable§ion=all Note the differences in the version numbers, Debian is at 4.0.0 and Ubuntu starts at 7.0.0 for 22.04 |
I assume we're talking about Debian 12 Bookworm which apparently includes https://packages.debian.org/bookworm/media-types (Is one or the other tested?) |
Above search query... currently yields these results... just for the record: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome 💪
("Dependency Hell" may be eternal ~ but notes clarifying past+current assumptions take away a lot of the pain...)
https://packages.debian.org/search?keywords=media-types&searchon=names&suite=all§ion=all
Seeing 'automatic' means the package was pulled in as a dependence of 'mime-support' |
In this spirit, should e.g. just prior to Line 79? |
(Or perhaps appended onto Line 10, if libssl3 is a requirement across-the-board ?) |
No, all 'newer OSs' would be using the ubuntu jammy repos except for RasPiOS-12-armhf because of #3530 (comment) and noted on line 76 |
Side note: http://raspbian.raspberrypi.org/ has a new file snapshotindex.txt suggesting there will be a new bookworm release sooner or later when you look at the bottom of the file |
For a data point from a raspbian-11-32bit install machine can you post the output of |
The ancient RasPiOS 10 (Buster) is all I could find for the moment... not sure this really helps... but FYI:
|
booted an older 32-bit install
still on libssl1.1 |
#3526 (comment) bookworm is using libssl3 |
Is this sufficiently tested? (Or better to wait a couple days as suggested at the bottom of... ?) |
Should be the correct logic on armhf where it looks like the distro is going to support python2 from the observed behavior. The 64bit version can be revised once what the repos might really look like if needed later but just using the ubuntu repo just works for now and with Debian 12 x86_64 correct? |
Installing this PR onto a Debian 12 VM (
iiab-diagnostics: |
|
|
|
|
|
Data point time, git pull and just run install_python2.sh by hand and report back |
U2304arm64 http://sprunge.us/jEONDm installed |
U2304 amd64 VM
|
Think that was false I ran into the same 404 issues with the use of the 'ports' repo on amd64 this just might work on Debian-12 or we have to use a ubuntu gpg file somewhere. |
Interesting if it hopefully works out!
If we believe: "YESSS so happy there's now an [trusted=yes] apt install method" Possibly related: iiab/roles/mongodb/tasks/install.yml Lines 91 to 140 in db84a0d
iiab/roles/yarn/tasks/install.yml Lines 1 to 7 in db84a0d
|
Conclusion: |
U2304amd64
U2304arm64
|
Possible future improvement something like: Looks like Ubuntu and Debian are covered, think this is good enough for now. "ship it" for wider testing |
Great! @jvonau what line-of-testing is most important, if @EMG70 has time in the coming week? |
U23.04 server arm64 beta. You will have to download the image and use the custom option to point to the download location when you use RasPi's imager. Make sure you set a username and password or you will be locked out of the install. |
Fixes bug:
Pulled the trigger a little fast on #3534 guess I should of tagged it as WIP or Draft
Description of changes proposed in this pull request:
notes and dependencies