Results 1 to 8 of 8

Thread: Kernel Upgrade 2.6.30.5 issues

  1. #1
    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

  2. #2
    Junior Member
    Join Date
    Mar 2009
    Posts
    39

    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

  3. #3
    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?

  4. #4
    Junior Member
    Join Date
    Mar 2009
    Posts
    39

    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

  5. #5
    Just burned his ISO
    Join Date
    Sep 2009
    Posts
    5

    Default

    try updating the kernal before anything else this worked for me but im a newbie what do i know : )

  6. #6
    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 =)

  7. #7
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    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.
    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.

  8. #8
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •