Re: rpm -i does nothing

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

 



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@xxxxxxxxxx
"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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux