View Full Version : [ubuntu] Problem installing new kernel with dpkg

August 25th, 2009, 11:30 PM
I have built and compiled the kernel based on instructions from the web, and now have a .deb file that's apparently ready for installing. When I type this command:

dpkg -i ../linux-image-

I get this:

root@ks23741:~/linux-source-2.6.24# dpkg -i ../linux-image-
couldn't open log `/var/log/dpkg.log': Permission denied
dpkg-deb: failed to create directory: Permission denied
dpkg: error processing ../linux-image- (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:

I have tried Google'ing (this most of the time fixes my problems related to errors :P) but have found nothing suitable :(

Any help would be greatly appreciated. Thank you. :)

August 25th, 2009, 11:41 PM
did you try

sudo dpkg -i ../linux-image- for sure if this will work but it looks like you need root privilege from the permission denied

If I am wrong I am a newbie to ubuntu :)

August 25th, 2009, 11:47 PM
S/he's already at a root prompt, as shown by the #.

August 25th, 2009, 11:55 PM
did not see that sorry

August 26th, 2009, 12:07 AM
No need to be sorry! None of us were born knowing these things.

August 26th, 2009, 01:32 AM
Yeah, I used fakeroot to gain root privileges just for this task. :)

Problems still around though. :(