RPM - Failure

dan info at hostinthebox.net
Fri Mar 18 18:41:40 UTC 2005


Helge Tore Hoeyland wrote:
> I got this message:
> 
> "rpm -i kernel-2.6.9-1.667.src.rpm
> warning: kernel-2.6.9-1.667.src.rpm: V3 DSA signature: NOKEY, key ID
> 4f2a6fd2
> error: cannot create %sourcedir /usr/src/redhat/SOURCES"
> 
> What can I do to make it work?
> I am loged in as root:)
> 
> Helge Tore Hoeyland
> 

Do you have the correct structure laid out in /usr/src/redhat?

 From mine:

[dan at localhost boxor]$ ls -la /usr/src/redhat/
total 28
drwxr-xr-x  7 root root 4096 Feb 12 02:25 .
drwxr-xr-x  8 root root 4096 Feb 15 06:24 ..
drwxr-xr-x  2 root root 4096 Apr 16  2004 BUILD
drwxr-xr-x  8 root root 4096 Feb 12 02:25 RPMS
drwxr-xr-x  2 root root 4096 Apr 16  2004 SOURCES
drwxr-xr-x  2 root root 4096 Apr 16  2004 SPECS
drwxr-xr-x  2 root root 4096 Apr 16  2004 SRPMS

Hope that helps
-dant




More information about the users mailing list