Remote Exploit Forums

Go Back   Remote Exploit Forums > BackTrack 4 (pre) Final > BackTrack 4 Bugs and Fixes


BackTrack 4 Bugs and Fixes Post bugs here. Even better, post FIXES here !

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-13-2009, 06:14 AM
Just burned his ISO
 
Join Date: Oct 2009
Posts: 3
Default Kernel Upgrade 2.6.30.5 issues

Hi i've been trying to figure out why i cant upgrade to the new kernel. I googled around for a couple of hours and tried the tutorials on how to update it and tried to find people with the same issue. Here's my error output when i follow the Offensive-Security tutorial on updating the kernel

Code:
root@stylin-bt:/var/cache/apt/archives# dpkg -i --force all linux-image-2.6.30.5_2.6.30.5-10.00.Custom_i386.deb
Selecting previously deselected package linux-image-2.6.30.5.
(Reading database ... 226185 files and directories currently installed.)
Unpacking linux-image-2.6.30.5 (from linux-image-2.6.30.5_2.6.30.5-10.00.Custom_i386.deb) ...
Done.
Setting up linux-image-2.6.30.5 (2.6.30.5-10.00.Custom) ...

 Hmm. There is a symbolic link /lib/modules/2.6.30.5/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.30.5/build


 Hmm. The package shipped with a symbolic link /lib/modules/2.6.30.5/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.30.5/source

Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Running postinst hook script update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... found: /boot/grub/splash.xpm.gz
Found kernel: /boot/vmlinuz-2.6.30.5
Found kernel: /boot/vmlinuz-2.6.29.4
Found kernel: /boot/memtest86+.bin
Replacing config file /var/run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
run-parts: executing /etc/kernel/postinst.d/nvidia-common
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 20
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.30.5.postinst line 1181.
dpkg: error processing linux-image-2.6.30.5 (--install):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-image-2.6.30.5
I searched the forums an tried purging nvidia-common but i got the same error, my xorg.conf file is actually the backup one at the moment because no nvidia drivers are installed. i also tried running the commands without starting X too. FYI My laptop is the asusG50v-x1, backtrack is my only OS on the machine, I have it all partitioned to my hd0 and removed ubuntu completly. Anyones imput is appreciated thank you
Reply With Quote
  #2 (permalink)  
Old 10-14-2009, 05:40 AM
Member
 
Join Date: Mar 2009
Posts: 38
Default

mmm try puting a dash in between --force and all.
ex. (" dpkg -i --force-all linux-image...")
__________________
They ran this hack in V.M.O., so I'm isolating the A.P.I., and just booting the host. -Matthew Farrell
Reply With Quote
  #3 (permalink)  
Old 10-14-2009, 05:47 AM
Just burned his ISO
 
Join Date: Oct 2009
Posts: 3
Default

sorry but it seems --force-all and --force all arn't any different because i get the same error output for both =/ , nice thought though. I would have felt silly if that was the solution to the problem lol

it's been a while anyone figure out any ideas on the issue?

Last edited by balding_parrot; 10-19-2009 at 04:40 AM.
Reply With Quote
  #4 (permalink)  
Old 10-19-2009, 07:41 AM
Member
 
Join Date: Mar 2009
Posts: 38
Default

My guess after relooking at ur error message.
okay I have two questions, one did you install the nvidia drivers?
and two did you install DKMS?
just wondering
__________________
They ran this hack in V.M.O., so I'm isolating the A.P.I., and just booting the host. -Matthew Farrell
Reply With Quote
  #5 (permalink)  
Old 10-19-2009, 01:07 PM
Just burned his ISO
 
Join Date: Sep 2009
Posts: 4
Default

try updating the kernal before anything else this worked for me but im a newbie what do i know : )
Reply With Quote
  #6 (permalink)  
Old 10-20-2009, 05:49 AM
Just burned his ISO
 
Join Date: Oct 2009
Posts: 3
Default

DKMS is installed and the nvidia drivers will not install, i get an error message when i use the synaptic manager and checkmark backtrack-nvidia, it says that cuda-toolkit and cuda-gdb have a conflict overwriting each other and therefor the backtrack-nvidia dependencies cannot be met so it doesnt install fully and says there were errors in the installation. something else i now need to figure out and fix lol

E: /var/cache/apt/archives/cuda-gdb_2.2-bt2_i386.deb: trying to overwrite `/opt/cuda/bin/cuda-gdb', which is also in package cuda-toolkit

thats the nvidia error, but do you really think by fixing nvidia i'll be able to install the kernel? i find it kind of irelevent because i have 2.6.29.4 working just find without the nvidia drivers, thats why im confused with the error output cus i guess this one requires it but THEN i read up on another post in order to compile the new kernel you need to remove the nvidia driver to compile it prior to installing it. That's why im so confused

you can close this thread because of the new kernel release 2.6.30.7 and that installed just fine =)

Last edited by archangel.amael; 10-20-2009 at 10:08 PM. Reason: double post
Reply With Quote
  #7 (permalink)  
Old 10-20-2009, 10:09 PM
archangel.amael's Avatar
Moderator
 
Join Date: Nov 2007
Location: behind the wire
Posts: 3,469
Default

Edit your posts using the Edit button located at the bottom right hand side of said post.
As for now we can leave it open.
__________________
The very existence of flame-throwers proves that some time, somewhere, someone said to themselves, You know, I want to set those people over there on fire, but I'm just not close enough to get the job done.
George Carlin
Reply With Quote
  #8 (permalink)  
Old 11-15-2009, 11:13 PM
Just burned his ISO
 
Join Date: Nov 2009
Posts: 4
Default

Quote:
Originally Posted by xshad0wfx View Post
Hi i've been trying to figure out why i cant upgrade to the new kernel. . .

I searched the forums an tried purging nvidia-common but i got the same error . . .
It might has nothing to do with upgrading to the new kernel. Run

Code:
apt-get install
If you get the same error, then I'm right.

To solve it, do

Code:
> /etc/kernel/postinst.d/nvidia-common
as root before purging nvidia-common.

HTH
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:33 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2