Re: Can't install kernel-2.6.16-1.2122_FC5.src.rpm



Hello Ben,


On Wed, 31 May 2006 21:36:13 +0100 Ben Lancaster <benlanc@xxxxxxxxxx> wrote:

Hey,

Having a bit of difficulty installing the 2.6.16 srpm for FC5:

# yum list | grep kernel
kernel.i686 2.6.16-1.2122_FC5 installed
kernel-devel.i686 2.6.16-1.2122_FC5 installed
-- snip --

# uname -r
2.6.16-1.2122_FC5

All looks fine, right? Installing the srpm does this:

# rpm -ivvh kernel-2.6.16-1.2122_FC5.src.rpm
D: ============== kernel-2.6.16-1.2122_FC5.src.rpm
D: Expected size: 43622689 = lead(96)+sigs(344)+pad(0)+data
(43622249)
D: Actual size: 43622689
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening db index /var/lib/rpm/Pubkeys rdonly mode=0x0
D: read h# 711 Header sanity check: OK
D: ========== DSA pubkey id b44269d0 4f2a6fd2 (h#711)
D: kernel-2.6.16-1.2122_FC5.src.rpm: Header V3 DSA signature: OK, key
ID 4f2a6fd2
D: added source package [0]
D: found 1 source and 0 binary packages
D: Expected size: 43622689 = lead(96)+sigs(344)+pad(0)+data
(43622249)
D: Actual size: 43622689
D: InstallSourcePackage: Header V3 DSA signature: OK, key ID 4f2a6fd2
error: cannot create %sourcedir /usr/src/redhat/SOURCES
D: closed db index /var/lib/rpm/Pubkeys
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
D: May free Score board((nil))

A bit confused, RPM was downloaded straight from http://
download.fedora.redhat.com/pub/fedora/linux/core/updates/5/SRPMS/

Can anybody point me in the right direction to trace this error? Am a
bit lost - never had an RPM issue like this - nowt in dmesg or /var/
log/messages.

Strange, I could install the same src rpm few days ago and compile it.
Do you have custom rpmbuild settings or not installed fedora-rpmdevtools?
Here is the reference I used to set up custom kernels:
http://home.swbell.net/kwgow/kernel/steps.html


Regards,

--
wwp

Attachment: signature.asc
Description: PGP signature

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Cant install kernel-2.6.16-1.2122_FC5.src.rpm
    ... Having a bit of difficulty installing the 2.6.16 srpm for FC5: ... D: added source package ... Am a bit lost - never had an RPM issue like this - nowt in dmesg or /var/ log/messages. ...
    (Fedora)
  • Re: libmysqlclient-dev for fedora 3
    ... > got the following error when installing source snort, ... unable to find mysql headers ... It is built from the mysql SRPM, so you won't find a mysql-devel SRPM, ...
    (Fedora)
  • Re: rpms and configure options
    ... > Does that mean a SRPM contains the source files to be compiled when ... That is what the S in SRPM stands for. ... The problem with the world is stupidity. ...
    (alt.os.linux)