rpm -i does nothing

Jason Dixon jason at dixongroup.net
Sun Jan 25 19:04:32 UTC 2004


On Sun, 2004-01-25 at 13: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
> 
> What am I missing?  This used to work for RH9.

Wrong package.  You're using the source RPM for the kernel package. 
Confusing, but you want the kernel-source RPM, which installs the source
code for the kernel.  "Source RPMs", usually referred to as SRPMS,
provide the source code and RPM spec file for building a binary RPM.

-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net





More information about the fedora-list mailing list