Anaconda/CommonErrorMessages

From FedoraProject

< Anaconda
Revision as of 16:33, 24 May 2008 by Admin (Talk | contribs)

Jump to: navigation, search

Appendix I

Common Error Messages

*ERROR* - 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


*ERROR* - 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'

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


*ERROR* - 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.  Mount CD1 and cp /mnt/cdrom/.discinfo to your top level tree (/fedora/i386/)