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

Re: splittree.py public key error



On Thu, 2004-03-04 at 14:48, Stephen Mah wrote:
> trying to build a custom RHEL3 CD set. Any idea what this error means?
> 
> # splittree.py --arch=i386 --total-discs=6 --bin-discs=3 --src-discs=3 
> --release-string="WS3-RC1" 
> --pkgorderfile=/vault/WS3_RC2_BUILD/pkgorder.txt 
> --distdir=/vault/WS3_RC2_BUILD/i386/ 
> --srcdir=/vault/WS3_RC2_BUILD/i386/SRPMS/
> 
> 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

Try importing the Red Hat GPG key:

rpm --import /usr/share/rhn/RPM-GPG-KEY

Then check all of your rpm files:

rpm -K /vault/WS3_RC2_BUILD/i386/RedHat/RPMS/*.rpm | grep "NOT OK"

Forrest 




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