As you may or may not know, I started a project called hyper-get
a couple of weeks ago, but there is just a little problem I can't find a solution to (it's for Debian-based systems).
I was wondering if anybody knew how apt-get discovers a package's dependencies.
- Does it do it using dpkg?
If so, how does dpkg do it? Does it update a file which it then interprets (in which case I could copy this file to be used in the application)?
- Does it discover the dependencies at the repos?
Which means that we'd have to simulate this with hyper-get...
- Does it discover them at another place? On the internet? On the local computer?
I would be extremely grateful if someone could let me know how it is done, so that we can begin work on this application soon.
Thanks in advance!