[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

install from cdrom = ok, from nfs = error !?



Hi all,
I have been able to do a complete phoney install in test mode 
in certain conditions. These include accessing the RPMS directory 
from cdrom instead of nfs.

If I try with:
anaconda --test --rootpath /data/test --method nfs:/192.168.1.1:/home/repository/kickstart

I get this error (rpm module cannot find the hdlist file):

Traceback (innermost last):
  File "/usr/sbin/anaconda", line 633, in ?
    intf.run(id, dispatch, configFileData)
  File "/usr/src/build/90289-i386/install//usr/lib/anaconda/gui.py", line 353, in run
    self.icw.run (self.runres, configFileData)
  File "/usr/src/build/90289-i386/install//usr/lib/anaconda/gui.py", line 814, in run
    mainloop ()
  File "/usr/lib/python1.5/site-packages/gtk.py", line 2676, in mainloop
    _gtk.gtk_main()
  File "/usr/lib/python1.5/site-packages/gtk.py", line 130, in __call__
    ret = apply(self.func, a)
  File "/usr/src/build/90289-i386/install//usr/lib/anaconda/gui.py", line 417, in nextClicked
    self.dispatch.gotoNext()
  File "/usr/src/build/90289-i386/install//usr/lib/anaconda/gui.py", line 417,
in nextClicked
    self.dispatch.gotoNext()
  File "/usr/src/build/90289-i386/install//usr/lib/anaconda/dispatch.py", line
144, in gotoNext
    self.moveStep()
  File "/usr/src/build/90289-i386/install//usr/lib/anaconda/dispatch.py", line
209, in moveStep
    rc = apply(func, self.bindArgs(args))
  File "/usr/src/build/90289-i386/install//usr/lib/anaconda/packages.py", line
101, in readPackages
    id.hdList = method.readHeaders()
  File "/usr/src/build/90289-i386/install//usr/lib/anaconda/image.py", line
23, in readHeaders
    return HeaderListFromFile(self.tree + "/RedHat/base/hdlist")
  File "/usr/src/build/90289-i386/install//usr/lib/anaconda/comps.py", line
205, in __init__
    hdlist = rpm.readHeaderListFromFile(path)
rpm.error: (2, 'No such file or directory')

But the file IS in /home/repository/kickstart/RedHat/base/hdlist !?

If I do it with anaconda --test --rootpath /data/test -m cdrom://hda/mnt/cdrom
it works (if choose not to install a bootloader).

Anybody can see what's the difference? 
I have check the repository with check-repository.py.

Thanks
--
Philippe Gendreau
phil xmailer ods org





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]