2009/6/2 Just E. Mail <justem...@imwell-usa.com>:
> -------------
> [r...@rs1 Desktop]# rpm -Uvh postfix-2.6.1-1.src.rpm
>
> warning: postfix-2.6.1-1.src.rpm: Header V3 DSA signature: NOKEY, key ID
> e9198f3d
> error: cannot create %sourcedir /usr/src/redhat/SOURCES
> -------------
>
> In the past few days, I have downloaded this file and successfully compiled
> it with links to other applications and completed the installation. Today, I
> started out with a freshly installed LINUX CentOS 5.3 machine and got the
> above error message.

A fresh installation, there's your problem. You'll find that's two
separate issues there, try reading the second one. The warning is just
that, a warning.


[r...@rei tmp]# cd /tmp/

[r...@rei tmp]# wget -q
http://ftp.wl0.org/official/2.6/SRPMS/postfix-2.6.1-1.src.rpm

[r...@rei tmp]# rpm -Uvh postfix-2.6.1-1.src.rpm
warning: postfix-2.6.1-1.src.rpm: Header V3 DSA signature: NOKEY, key
ID e9198f3d
error: cannot create %sourcedir /usr/src/redhat/SOURCES

[r...@rei tmp]# ls -lh /usr/src/
total 8.0K
drwxr-xr-x 5 root root 4.0K May 28 12:06 kernels

[r...@rei tmp]# mkdir -p /usr/src/redhat/SOURCES

[r...@rei tmp]# rpm -Uvh postfix-2.6.1-1.src.rpm
warning: postfix-2.6.1-1.src.rpm: Header V3 DSA signature: NOKEY, key
ID e9198f3d
   1:postfix                warning: user sjmudd does not exist - using root
warning: group sjmudd does not exist - using root
warning: user sjmudd does not exist - using root
warning: group sjmudd does not exist - using root
warning: user sjmudd does not exist - using root
<LOTS MORE OF THIS>
########################################### [100%]

[r...@rei tmp]# ls -lh /usr/src/redhat/
total 16K
drwxr-xr-x 2 root root 4.0K Jun  2 02:07 SOURCES
drwxr-xr-x 2 root root 4.0K Jun  2 02:07 SPECS



Yeah, this makes more sense if you've dealt with RPM packaging before,
there's a handful of directories in a structure that relate to it.

Reply via email to