On Mon, Nov 1, 2010 at 2:46 AM, A. Mani <[email protected]> wrote:
> On Mon, Nov 1, 2010 at 1:28 AM, Narendra Sisodiya > <[email protected]> wrote: > > Here is a idea, somebody may try. by using rpm or apt-get command or may > be > > by some another command you can list out the dependency of one package on > > another. Can somebody work out and list most important and core package > on > > which most of the application depend. > > You should mention the distro. > > In Slackware, it always gets better. > > In Debian there is packages.gz > > "A repository consists of at least one directory with some DEB > packages in it, and two special files: Packages.gz for the binary > packages, and Sources.gz for the source packages. > > If your repository is listed correctly in sources.list (more on that > later), apt-get will fetch the Packages.gz index if the binary > packages are listed (with the deb keyword) and Sources.gz if the > sources are listed (with the deb-src keyword). > > Packages.gz contains the name, version, size, the short and the long > description, and the dependencies of each package, plus some > additional information which is not of interest for us. All that > information is listed (and used by) the Debian package managers such > as dselect or aptitude. > > Sources.gz contains the name, version and the build dependencies (the > packages needed to build) of each package (plus some information which > is not of interest for us, too); that information is used by apt-get > source and similar tools. > > ......... > > Each binary-* directory contains a Packages.gz and an optional Release > file; each source directory contains a Sources.gz and an optional > Release file. Notice that the packages do not have to be in the same > directory as the index files, because the index files contain paths to > the individual packages; in fact, they could be anywhere else in the > repository. This makes it possible to create pools." > > Best > > A. Mani > > Thanks for guidance but I wrote because many student always says - "I want to learn more , I want to contribute" that is why I post this exercise.. -- ┌─────────────────────────┐ │ Narendra Sisodiya │ http://narendrasisodiya.com └─────────────────────────┘ -- l...@iitd - http://tinyurl.com/ycueutm
