Skip to content
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

4131 move truetype fonts into main codebase sourceforge has ssl errors #4132

Conversation

Alex-developer
Copy link
Collaborator

Since the fonts cannot be downloaded its not possible to install Allsky as apt gets stuck in a loop.

Since these fonts NEVER change, they were first released in the early 2000's we might as well include them with the main repo.

I have not tested an upgrade but this should be fine as the config_repo is copied into the new installation then the old files copied to overwrite, whilst this does mean we cant upgrade certain files this PR is not intended to fix that issue.

@EricClaeys EricClaeys merged commit a26f865 into master Dec 28, 2024
1 check passed
@MSM757
Copy link

MSM757 commented Jan 9, 2025

I have a workaround. I made my own package for Debian that fixes this problem. Here's the link https://sourceforge.net/projects/ms-ttf-deb/ This is a modified version of the original Debian package. The issue is the install script from Debian uses the HTTPS:// protocol inside of the script to download the fonts. Well, HTTPS requires TLS certificates to work. If those certificates are expired, you end up with exactly this problem.
So what i did was, i extracted the original .DEB package from Debians repos and edited the URLs inside of the postinst script within that .DEB package. I simply replaced all HTTPS:// headers with HTTP:// And.. that's pretty much it. and now they install just fine. When you download the files using HTTP:// the certificates aren't used. So it bypasses this issue all together. I know this isn't the most elegant solution. But... it works. If you really need these fonts "right now" and can't wait for whoever maintains SF to fix it. Use my package. It should give you what you need. This isnt' the first time this has happaned. This isn't a one-off issue. Which is what motivated me to make my own package.

If you're on an Arch based Distro you can simply edit the PKBUILD from the AUR and make the same edits. Just Replace HTTPS:// with HTTP:// save it, and run it, and you're golden. Hope this helps.

@Alex-developer
Copy link
Collaborator Author

I have a workaround. I made my own package for Debian that fixes this problem. Here's the link https://sourceforge.net/projects/ms-ttf-deb/ This is a modified version of the original Debian package. The issue is the install script from Debian uses the HTTPS:// protocol inside of the script to download the fonts. Well, HTTPS requires TLS certificates to work. If those certificates are expired, you end up with exactly this problem. So what i did was, i extracted the original .DEB package from Debians repos and edited the URLs inside of the postinst script within that .DEB package. I simply replaced all HTTPS:// headers with HTTP:// And.. that's pretty much it. and now they install just fine. When you download the files using HTTP:// the certificates aren't used. So it bypasses this issue all together. I know this isn't the most elegant solution. But... it works. If you really need these fonts "right now" and can't wait for whoever maintains SF to fix it. Use my package. It should give you what you need. This isnt' the first time this has happaned. This isn't a one-off issue. Which is what motivated me to make my own package.

If you're on an Arch based Distro you can simply edit the PKBUILD from the AUR and make the same edits. Just Replace HTTPS:// with HTTP:// save it, and run it, and you're golden. Hope this helps.

Thanks for the info

Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move truetype fonts into main codebase - Sourceforge has ssl errors
3 participants