Anaconda/CommonErrorMessages

From FedoraProject

< Anaconda
Revision as of 02:05, 28 May 2008 by Drkludge (Talk | contribs)

Jump to: navigation, search

Here are some command error messages that result from missing steps in the creation of an ISO file.

Contents

No module named whiteout

No module named whiteout
Traceback (most recent call last):
File "/usr/lib/anaconda-runtime/pkgorder", line 10, in ?
import whiteout
ImportError: No module named whiteout

Solution

This error means that you need to set some environment variables for your current shell.

export PYTHONPATH=/usr/lib/anaconda
export PATH=$PATH:/usr/lib/anaconda-runtime


rpm.error: public key not trusted

rpm.error: public key not trusted
Traceback (most recent call last):
File "/usr/lib/anaconda-runtime/splittree.py", line 451, in ?
logfile = timber.main()
File "/usr/lib/anaconda-runtime/splittree.py", line 379, in main
self.splitRPMS()
File "/usr/lib/anaconda-runtime/splittree.py", line 252, in splitRPMS
pkg_nvr = nvra("%s/RedHat/RPMS/%s" %(self.dist_dir, filename))
File "/usr/lib/anaconda-runtime/splittree.py", line 39, in nvra
h = _ts.hdrFromFdno(fd)
rpm.error: public key not trusted


Solution

Remove the non-rpm file from i386/Fedora/RPMS/

(From the toplevel directory--probably /fedora)
ls i386/Fedora/RPMS | grep -v '\.rpm'

TRANS.TBL

If you see TRANS.TBL, look [[PreparingTheBuildEnvironment] [here] at the very bottom of the page.

Fedora Core CD not found

Fedora Core CD not found
The Fedora Core CD was not found in any of your CDROM drives. Please insert the 
Fedora Core CD and press OK to retry.

Solution

Add the .discinfo file to your build tree.

You forgot to get the .discinfo file. Copy .discinfo to the top level tree.

Mount CD1
cp /mnt/cdrom/.discinfo /fedora/i386