Stream: helpdesk (published)

Topic: Finding package that requires admin permission to install


view this post on Zulip Júlio Hoffimann (Aug 21 2025 at 12:50):

I gave a short-course this last weekend and the participants reported a pop-up window asking for admin permission while installing GeoStats.jl on Windows machines from a lab. How can I identify the indirect dependency of the project that is causing this annoying installation issue?

view this post on Zulip Gunnar Farnebäck (Aug 21 2025 at 12:59):

Presumably this would come from a build script. I would try installing GeoStats in a fresh depot (point JULIA_DEPOT_PATH to an empty directory) and then check which installed packages have a deps/build.jl file. Then either scan those for suspicious activity or try installing them one by one to see which trigger the problem.

view this post on Zulip Júlio Hoffimann (Aug 21 2025 at 15:09):

@Gunnar Farnebäck would it suffice to create a temp environment with ] activate --temp, install GeoStats.jl and check the output of ] st -m? It should list all indirect deps, right? I could then write a script to find all the packages that have a deps/build.jl

view this post on Zulip Júlio Hoffimann (Aug 21 2025 at 15:24):

Here is the full list of packages installed in the fresh env:

ADTypes
AbstractFFTs
AbstractTrees
Accessors
Adapt
AdaptivePredicates
AliasTables
ArnoldiMethod
ArrayInterface
AxisAlgorithms
AxisArrays
BangBang
Bessels
BitFlags
CRlibm
CategoricalArrays
Chain
ChainRules
ChainRulesCore
ChunkSplitters
CircularArrays
Clustering
CoDa
CodecZlib
ColorSchemes
ColorTypes
ColorVectorSpace
Colorfy
Colors
ColumnSelectors
Combinatorics
CommonSubexpressions
CommonWorldInvalidations
Compat
CompositionsBase
ConcurrentUtilities
ConstructionBase
CoordGridTransforms
CoordRefSystems
CpuId
Crayons
DataAPI
DataDeps
DataScienceTraits
DataStructures
DataValueInterfaces
DecisionTree
DelaunayTriangulation
DelimitedFiles
DensityRatioEstimation
Dictionaries
DiffResults
DiffRules
DifferentiationInterface
Distances
Distributions
DocStringExtensions
EnumX
ExactPredicates
ExceptionUnwrapping
FFTW
FileIO
FillArrays
FiniteDiff
FixedPointNumbers
ForwardDiff
GLM
GPUArraysCore
GeoStats
GeoStatsBase
GeoStatsFunctions
GeoStatsModels
GeoStatsProcesses
GeoStatsTransforms
GeoStatsValidation
GeoTIFF
GeoTables
HTTP
HashArrayMappedTries
HypergeometricFunctions
IRTools
IfElse
Indexing
IndirectArrays
Inflate
InitialValues
Interpolations
IntervalArithmetic
IntervalSets
InverseFunctions
IrrationalConstants
IterTools
IteratorInterfaceExtensions
JLLWrappers
JSON
LaTeXStrings
LineSearches
LogExpFunctions
LoggingExtras
LossFunctions
MacroTools
MappedArrays
MbedTLS
Meshes
Missings
NLSolversBase
NaNMath
NearestNeighbors
NelderMead
OffsetArrays
OhMyThreads
OpenSSL
Optim
OrderedCollections
PDMats
Parameters
Parsers
PkgVersion
PositiveFactorizations
PrecompileTools
Preferences
PrettyTables
ProgressMeter
PtrArrays
QuadGK
Quaternions
RangeArrays
Ratios
RealDot
Reexport
Requires
Rmath
Rotations
RoundingEmulator
SIMD
ScikitLearnBase
ScopedValues
Scratch
Setfield
ShiftedArrays
SimpleBufferStream
SortingAlgorithms
SparseInverseSubset
SpecialFunctions
SpectralIndices
SplitApplyCombine
StableTasks
Static
StaticArrayInterface
StaticArrays
StaticArraysCore
Statistics
StatsAPI
StatsBase
StatsFuns
StatsLearnModels
StatsModels
StringManipulation
StructArrays
TableDistances
TableTraits
TableTransforms
Tables
TaskLocalValues
TensorCore
TiffImages
TiledIteration
TranscodingStreams
TransformsBase
TypedTables
URIs
UnPack
Unitful
WoodburyMatrices
Zygote
ZygoteRules
CRlibm_jll
FFTW_jll
IntelOpenMP_jll
MKL_jll
OpenBLASConsistentFPCSR_jll
OpenSSL_jll
OpenSpecFun_jll
Rmath_jll
oneTBB_jll
ArgTools
Artifacts
Base64
Dates
Distributed
Downloads
FileWatching
Future
InteractiveUtils
LazyArtifacts
LibCURL
LibGit2
Libdl
LinearAlgebra
Logging
Markdown
Mmap
NetworkOptions
Pkg
Printf
REPL
Random
SHA
Serialization
SharedArrays
Sockets
SparseArrays
StyledStrings
SuiteSparse
TOML
Tar
Test
UUIDs
Unicode
CompilerSupportLibraries_jll
LibCURL_jll
LibGit2_jll
LibSSH2_jll
MbedTLS_jll
MozillaCACerts_jll
OpenBLAS_jll
OpenLibm_jll
SuiteSparse_jll
Zlib_jll
libblastrampoline_jll
nghttp2_jll
p7zip_jll

view this post on Zulip Expanding Man (Aug 21 2025 at 15:27):

That sounds bizarre to me, doesn't all the Julia stuff go in some .julia user directory even on windows? What could it be asking for admin for?

view this post on Zulip Júlio Hoffimann (Aug 21 2025 at 15:30):

I have no idea. I am trying the identify the root of the evil.

view this post on Zulip Júlio Hoffimann (Aug 21 2025 at 15:56):

Apparently the deps/build.jl files are not stored in .julia/packages

view this post on Zulip Gunnar Farnebäck (Aug 21 2025 at 20:14):

It should list all indirect deps, right?

You can certainly do it that way, and use pathof to find which of the installed versions is used. Seems a lot more difficult to me but it's your choice.


Last updated: Sep 07 2025 at 04:39 UTC