mmm try puting a dash in between --force and all.
ex. (" dpkg -i --force-all linux-image...")
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
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 youCode: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
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
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?
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
try updating the kernal before anything else this worked for me but im a newbie what do i know : )
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 =)
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.
To be successful here you should read all of the following.
ForumRules
ForumFAQ
If you are new to Back|Track
Back|Track Wiki
Failure to do so will probably get your threads deleted or worse.