yum and cdrom

Fred Grant fdgrant at powercom.net
Sun Oct 24 23:57:49 UTC 2004


Rick Stevens wrote:

> Fred Grant wrote:
>
>> I'd like to re-install a desktop (xfce). I have all the files on my 
>> cd-rom to do the install, including satisfying dependencies. I think 
>> it would be easiest by using yum but I can't seem to set yum (or 
>> /etc/yum.conf) to look at the cd-rom or yum says it can't find any 
>> headers. Have any of you got some pointers? Can this be done?
>
>
> If the CD is an image of a yum repository, yes, it can be done. Yum
> wants a specific directory layout. If your CD doesn't have that layout,
> yum won't work.
> ----------------------------------------------------------------------
>
>
I see that yum needs a headers file and a header.info file. If I had a 
CD that has only rpms on it, is it possible to create these other files 
with scripts or from the command line? The headers file, for example, 
seems to just list the names of the rpms. The headers.info file has some 
other stuff on it that I don't pretend to understand.

Or is there a better way to do this?




More information about the Redhat-install-list mailing list