However, after realizing that the -source packages "Depend" on the -jdk packages, the suggestion in comment #6 starts sounding good to me.
------------ START OF TERMINAL OUTPUT --------------------- $ apt-rdepends openjdk-8-source | head -4 Reading package lists... Done Building dependency tree... Done Reading state information... Done openjdk-8-source Depends: openjdk-8-jdk (>= 8u372-ga~us1-0ubuntu1~23.04) Depends: openjdk-8-jre (>= 8u372-ga~us1-0ubuntu1~23.04)
------------ END OF TERMINAL OUTPUT ----------------------
However, after realizing that the -source packages "Depend" on the -jdk packages, the suggestion in comment #6 starts sounding good to me.
------------ START OF TERMINAL OUTPUT ------- ------- ------- us1-0ubuntu1~ 23.04) us1-0ubuntu1~ 23.04)
$ apt-rdepends openjdk-8-source | head -4
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
openjdk-8-source
Depends: openjdk-8-jdk (>= 8u372-ga~
Depends: openjdk-8-jre (>= 8u372-ga~
------------ END OF TERMINAL OUTPUT ------- ------- ------- -