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.
Thanks!
Ben