apk3: apk search no longer shows reverse dependencies of non-existent packages
Ever since some point (not exactly sure when, probably when the --from
stuff was added), apk search
will no longer find reverse dependencies of a package that was dropped from index.
That means:
- Given a (possibly only virtual) package
foo
which is no longer present in index - And package
bar
depending on it - Running
apk search -r -e foo
will no longer listbar
like it did before
This does not apply to packages that are present in index. Example:
root@cbuild: ~$ apk search -r -e so:libLLVM-16.so
libllvm-16.0.2-r0 is required by:
llvm-runtime-16.0.2-r0
lld-16.0.2-r0
clang-16.0.2-r0
llvm-16.0.2-r0
clang-tools-extra-16.0.2-r0
libclang-cpp-16.0.2-r0
libllvm-dbg-16.0.2-r0
libclang-16.0.2-r0
llvm-linker-tools-16.0.2-r0
llvm-devel-16.0.2-r0
libomp-16.0.2-r0
lldb-16.0.2-r0
spirv-llvm-translator-16.0.0-r0
root@cbuild: ~$ apk search -r -e so:libLLVM-15.so
root@cbuild: ~$ apk info -R rust
rust-1.69.0-r0 depends on:
clang
musl-devel
rust-std=1.69.0-r0
so:libLLVM-15.so
so:libc++.so.1
so:libc.so
so:libunwind.so.1
Note how rust
depends on so:libLLVM-15.so
but it is seemingly impossible to look it up in reverse. The apk info
command is identically affected. I noticed this when my package staging system seemingly stopped working.