Anaconda/CommonErrorMessages

From FedoraProject

< Anaconda(Difference between revisions)
Jump to: navigation, search
m (1 revision(s))
m (Ananconda/CommonErrorMessages moved to Anaconda/CommonErrorMessages: Remove extra n in Anaconda)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
<!-- page was renamed from AnancondaCommonErrorMessages
+
Here are some command error messages that result from missing steps in the creation of an ISO file.
-->
+
= Appendix I =
+
  
== Common Error Messages ==
+
== No module named whiteout ==
  
'''*ERROR* - No module named whiteout'''
+
No module named whiteout
<pre>
+
Traceback (most recent call last):
Traceback (most recent call last):
+
File "/usr/lib/anaconda-runtime/pkgorder", line 10, in ?
File "/usr/lib/anaconda-runtime/pkgorder", line 10, in ?
+
import whiteout
import whiteout
+
ImportError: No module named whiteout
ImportError: No module named whiteout
+
</pre>
+
  
'''*SOLUTION* - This error means that you need to set some environment variables for your current shell.'''
+
== Solution ==
<pre>
+
export PYTHONPATH=/usr/lib/anaconda
+
export PATH=$PATH:/usr/lib/anaconda-runtime
+
</pre>
+
<BR>
+
'''*ERROR* - rpm.error: public key not trusted'''
+
<pre>
+
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
+
</pre>
+
  
'''*SOLUTION* - Remove the non-rpm file from i386/Fedora/RPMS/'''
+
This error means that you need to set some environment variables for your current shell.
<pre>
+
 
(From the toplevel directory--probably /fedora)
+
export PYTHONPATH=/usr/lib/anaconda
ls i386/Fedora/RPMS | grep -v '\.rpm'
+
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.
 
If you see TRANS.TBL, look [[PreparingTheBuildEnvironment] [here]  at the very bottom of the page.
</pre>
 
<BR>
 
'''*ERROR* - Fedora Core CD not found'''
 
<pre>
 
The Fedora Core CD was not found in any of your CDROM drives. Please insert the Fedora Core CD and press OK to retry.
 
</pre>
 
  
'''*SOLUTION* - Add the .discinfo file to your build tree.'''
+
== Fedora Core CD not found ==
<pre>
+
 
You forgot to get the .discinfo file. Mount CD1 and cp /mnt/cdrom/.discinfo to your top level tree (/fedora/i386/)
+
Fedora Core CD not found
</pre>
+
The Fedora Core CD was not found in any of your CDROM drives. Please insert the
<BR>
+
  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
  
 
----
 
----
 
[[Category:Anaconda]]
 
[[Category:Anaconda]]

Latest revision as of 06:50, 28 May 2008

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

Contents

[edit] 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

[edit] 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


[edit] 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


[edit] Solution

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

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

[edit] TRANS.TBL

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

[edit] 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.

[edit] 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