Left over temporary files when adding a "jll" file

When adding Leptonica_jll with the Pkg I’m left with 23 small files in /tmp'. This is from a clean system when no ~/.julia` directory exists: As an example:

jl_1l4NBI-download.gz.sha256
jl_5vHlCu-download.gz.sha256
jl_BM48nB-download.gz.sha256
jl_BRorCz-download.gz.sha256
jl_DI4ieL-download.gz.sha256
jl_FbPDkn-download.gz.sha256

The files are not deleted when Julia exits. And while it’s not causing any issues, it is a sign that temporary files are not being deleted correctly. I when spelunking though the Pkg source and didn’t see anything obviously creating these files. Is there any way of figuring out where they are coming from?

Open an issue: https://github.com/JuliaLang/Pkg.jl/issues/new

1 Like

just want to add that some Linux distros / version clean up that folder every-time you reboot.

Yes, these are an annoyance. I’ve opened a PR to fix this here: Clean up `jl_XXX-download.gz.sha256` files by staticfloat · Pull Request #1840 · JuliaLang/Pkg.jl · GitHub

Thank you.