PDA

View Full Version : Problems installing custom kernel


violinCello8
27th January 2009, 08:15 PM
Dear all,

I would appreciate any advice on problems encountered when trying to build a custom
kernel 2.6.27.9-73 for Fedora c9 on x86_64 or even whether I need to do it to solve a parent problem.

The reason to build the kernel was encountered when trying to build the ALSA suite for
Audacity ref:
http://www.alsa-project.org/main/index.php/Matrix:Module-ice1712
an error was received during install
"install the package with full kernel sources".

Since I had recently and successfully installed fedora from the pre-built binary for my
AMD64 it appeared I did not have the necessary source files:

I was lead to
http://fedoraproject.org/wiki/Docs/CustomKernel
for the solution. I followed these instructions to the letter, did not attempt to modify any
code, nor change the kernel configuration, but upon installing the new kernel (last step)
%rpm -ivh ~/rpmbuild/RPMS/<>/--.rpm

I get the error message
"cannot create transaction lock on /var/lib/rpm/__db.000"
indeed the said file does not exist, files like __db.001, 002, 003 do exist there.

Upon now trying to rpm another package (unrelated) I get the same error.

So there are three questions: is the method required to resolve the original problem with
the ALSA; How to remedy the kernel build; and get back to building new packages again.

Many thanks

Seve
27th January 2009, 10:42 PM
I get the error message
"cannot create transaction lock on /var/lib/rpm/__db.000"
indeed the said file does not exist, files like __db.001, 002, 003 do exist there.

Upon now trying to rpm another package (unrelated) I get the same error.Hello:
You are receiving that error, because you are not root. How to become root instructions can be found here http://www.fedorafaq.org/basics/#root

Seve