You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
42
33
| sort -u \
43
-
| xargs -r dpkg-query --search \
44
-
| cut -d: -f1 \
34
+
| xargs -rt dpkg-query --search \
35
+
# https://manpages.debian.org/trixie/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file)
| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
42
33
| sort -u \
43
-
| xargs -r dpkg-query --search \
44
-
| cut -d: -f1 \
34
+
| xargs -rt dpkg-query --search \
35
+
# https://manpages.debian.org/trixie/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file)
| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
42
33
| sort -u \
43
-
| xargs -r dpkg-query --search \
44
-
| cut -d: -f1 \
34
+
| xargs -rt dpkg-query --search \
35
+
# https://manpages.debian.org/trixie/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file)
0 commit comments