sreangsu acharyya forced the electrons to say:
> > >but how does rh installation finds out dependency packages and installs
> > >every thing even when I select one package (again e.g. kde)
> >
> > That might be hard coded in the installation program by Rethat. May be :-)
>
> most likely the cd has a rpm database file for a complete installation,
> and anaconda just queries that with python's rpm extension.
I couldn't find such a beast on my CD. More likely it is something like:
You select package foo.
The installer checks foo's dependencies. It sees if the currently
selected packages satisfy those.
Otherwise it queries other packages available for installation to check
for provider packages. This information would be cached.
The installer selects the provider packages of foo as well.
Of course the actual algorithm would be better than that.
> this guess based on a vague memory that there was an option of storing
> such a database , or was it an rpm file itself which created the complete
> rpmdb ....cant recollect.
This must be the rpmdb-redhat package. It is an RPM of the database,
assuming all the packages on the CD were installed. Maybe useful in
consistency checks.
Binand
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help