|
|||||||
| BackTrack 4 Bugs and Fixes Post bugs here. Even better, post FIXES here ! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
Quote:
Code:
apt-get install To solve it, do Code:
> /etc/kernel/postinst.d/nvidia-common HTH |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|