On Thu, Nov 21, 2002 at 05:46:39PM +0530, Dr . Sharukh K . R . Pavri . wrote:
> What I have now done is cat the output of ls of the RPMS directory to a text
> file and name these files cd1, cd2 etc. Then it's just a matter of grepping
> thru the file which is a list of the rpms on a particular CD and then only
> mounting that CD. Does anyone have a more elegant solution to this ?
Well, what you have done is precisely what any sophisticated solution
to your problem would do - keep a local database of all available packages
on the various CDs. :)
If you have the rpmdb-redhat package installed, rpm(8) can suggest what further
packages you need to satisfy the dependencies of a given package:
binand@binand[/tmp]:(56) rpm -Uvh anaconda-8.0-4.i386.rpm
error: Failed dependencies:
rpm404-python is needed by anaconda-8.0-4
Suggested resolutions:
rpm404-python-4.0.4-8x.27.i386.rpm
With a database like yours above, this whole process is easily scriptable :)
Binand
--
If you found this helpful, please take some time off to rate it:
http://svcs.affero.net/rm.php?r=binand
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help