Thanks for the response Paul. What does apt-cache do?
Does it require an internet connection? I don't have an internet connection to my Debian box yet. (But I'm working on it....) I asked these questions in response to a problem I had. I tried to install one package that depended on another package. The dependency package was newer than the one APT said was required by the package I was trying to install. So I thought I would try to update the "dependency list" to use the newer dependency package, not the older. Perhaps if I download a newer version of the package I was originally trying to install, this would be solved. Is that a correct assumption. Landon On 6/14/05, Paul E Condon <[EMAIL PROTECTED]> wrote: > On Tue, Jun 14, 2005 at 11:00:31AM -0700, Redefined Horizons wrote: > [snip] > > Does APT have a list that it uses to determine dependencies, or is > > this information contained in each individual package? For example, If > > Yes. > > > > I want to install package "X", does the "X" .deb contain the > > dependency information, or is there a list on my system somewhere? If > > Yes. > > > there is a list, how would I update it to reflect dependencies of the > > most recent packages. > > > > Part of the apt system is code that reads the dependency information > in each package and generates a single unified list of dependencies. > > I think what you want is already available, more or less, in several > forms, but I've never worked it out, because my needs are pretty well > satisfied by apt-cache. > > If you want to roll your on, start by looking up the docs on the Debian > package file format. In brief, it is an ar-type archive having three > components. One of those components is a tar-file containing the info > that is displayed by aptitude when you are browsing the repository. > One is the actual code to be loaded. The third is, I think, control > scripts. But look at authoritative sources. > > I think you would be better off learning to use the existing stuff. > > HTH > > -- > Paul E Condon > [EMAIL PROTECTED] > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >