rpm -i does nothing

Nils Philippsen nphilipp at redhat.com
Sun Jan 25 19:06:01 UTC 2004


On Sun, 2004-01-25 at 19:58, John V. Pope wrote:
> FC1 Gurus:
> 
> I am attempting to install the kernel source on my server as the first step
> toward recompiling a USB driver.  When I issue the rpm command, nothing
> happens and the shell prompt returns within a few seconds.  No output is
> generated and no files are installed.  I have tried this on two different
> FC1 servers with identical results.
> 
> Here's my shell session:
> # rpm --checksig kernel-2.4.22-1.2149.nptl.src.rpm
> kernel-2.4.22-1.2149.nptl.src.rpm: (sha1) dsa sha1 md5 gpg OK
> # rpm -i kernel-2.4.22-1.2149.nptl.src.rpm

You are installing the source RPM, i.e. the files needed to build the
binary RPMs. What you probably wanted to do is install the kernel-source
binary RPM (this is a bit confusing ;-). The former is done for building
the kernel, kernel-smp, kernel-source, ... packages, the latter is done
if you want to have /usr/src/linux-2.4.... to build e.g. a 3rd party
module against an already packages kernel.

BTW: Files should be installed still, albeit beneath
/usr/src/redhat/SPECS and .../SOURCES.

Nils
-- 
     Nils Philippsen    /    Red Hat    /    nphilipp at redhat.com
"They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety."     -- B. Franklin, 1759
 PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040125/373acc4d/attachment-0001.sig>


More information about the fedora-list mailing list