How would one go about obtaining all the dependencies for a package?
So to give a little background, I'm trying to pass wireshark(with a custom plugin) through my company's build system.
The build system functions inside a change root thus all the dependencies need to located somewhere inside the chroot. Wireshark has a massive dependency tree that I couldn't possibly import manually one by one.
So my question is, is there a way to conveniently import all the dependency packages somewhere on your local machine. This would mean I would just import the one folder into my change root.
PS: the build-system's change-root has SMART package manager installed. But the channels it comes with are local ones(very little to choose from). So an alternative solution would be import the repositories that apt-get uses into smart and then use smart to install the packages which is monumentally easier.