0

To know which packages depend on a specific package, I can run:

$ apt rdepends <package>

example:

$ apt rdepends netcat-openbsd
netcat-openbsd
Reverse Depends:
  Recommends: libvirt-daemon
  Recommends: libvirt-daemon
  Depends: xletters
  Depends: tomcat10-user
 |Depends: rtpengine-utils
  Suggests: mariadb-server
 |Depends: ifupdown-extra
  Depends: freedombox
  Depends: ubuntu-minimal

Snap packages don't typically have as many dependencies outside of core/gnome, but this is still wanted in some cases.

For example, if I have multiple snap core packages, it isn't obvious how to identify which snaps depend on a specific version of core.

Name                       Version          Rev    Tracking         Publisher   Notes
...
core18                     20240416               2823   latest/stable       canonical✓         base
core20                     20240416               2318   latest/stable       canonical✓         base
core22                     20240408               1380   latest/stable       canonical✓         base
...

While specific example has already been answered[1] elsewhere, it isn't a generic solution. Answering this question for snaps which depend on gnome and gtk themes are not answered in that question.

[1] Expecting the user to understand the snap configuration file and read these files on disk makes this feel like an afterthought to snap's user interface.

0 Answers0