Announcement

Collapse
No announcement yet.

[Resolved] Dependecy problems & unconfigured packages

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Resolved] Dependecy problems & unconfigured packages

    System
    HP Pavilion 061 with dual boot, Kubuntu Jaunty 9.04 & Windows XP Professional SP3
    model#: PU061AV
    X-86 based PC
    AMD Athlon 64 processor 3200+1.79GHz
    1.25 GB of RAM
    Video:NVIDIA GeForce FX 5200 (dedicated)
    hard drive: Maxtor 6Y080M0, 60GB
    This all began as I was trying to activate my desktop cube. The issue has changed course & seems to be because of another underlying problem. This topic is branching off of my previous Desktop Cube topic. It seems to be an all together different problem so I decided to create a topic for the dependency/configuration issue.


    New Problem: Issues when Installing & uninstalling packages.

    Here is what I know about the problem. The code below is showing the uninstall of compiz. This is happening on other packages as well.

    Code:
    Code:
    ben@ben-desktop:~$ sudo apt-get remove compiz                        
    Reading package lists... Done                                
    Building dependency tree                                   
    Reading state information... Done                              
    The following packages will be REMOVED:                           
     compiz                                           
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.                
    5 not fully installed or removed.                              
    After this operation, 73.7kB disk space will be freed.                    
    Do you want to continue [Y/n]? y                               
    (Reading database ... 160237 files and directories currently installed.)           
    Removing compiz ...                                     
    Setting up linux-image-2.6.28-15-generic (2.6.28-15.49) ...                 
    Running depmod.                                       
    update-initramfs: Generating /boot/initrd.img-2.6.28-15-generic               
    Running postinst hook script /sbin/update-grub.                       
    [: 25: /sbin/update-grub: unexpected operator                        
    exec: 25: -a: not found                                   
    User postinst hook script [/sbin/update-grub] exited with value 2              
    dpkg: error processing linux-image-2.6.28-15-generic (--configure):             
     subprocess post-installation script returned error exit status 2              
    dpkg: dependency problems prevent configuration of linux-restricted-modules-2.6.28-15-generic:
     linux-restricted-modules-2.6.28-15-generic depends on linux-image-2.6.28-15-generic; however:
     Package linux-image-2.6.28-15-generic is not configured yet.
    dpkg: error processing linux-restricted-modules-2.6.28-15-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-image-generic:
     linux-image-generic depends on linux-image-2.6.28-15-generic; however:
     Package linux-image-2.6.28-15-generic is not configured yet.
    dpkg: error processing linux-image-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-restricted-modules-generic:
     linux-restricted-modules-generic depends on linux-restricted-modules-2.6.28-15-generic; however:
     PackNo apport report written because the error message indicates its a followup error from a previous failure.
                                                            No apport report written because the error message indicates its a followup error from a previous failure.
                                                      No apport report written because MaxReports is reached already
                          No apport report written because MaxReports is reached already
                                                         age linux-restricted-modules-2.6.28-15-generic is not configured yet.
    dpkg: error processing linux-restricted-modules-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-generic:
     linux-generic depends on linux-image-generic (= 2.6.28.15.20); however:
     Package linux-image-generic is not configured yet.
     linux-generic depends on linux-restricted-modules-generic (= 2.6.28.15.20); however:
     Package linux-restricted-modules-generic is not configured yet.
    dpkg: error processing linux-generic (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     linux-image-2.6.28-15-generic
     linux-restricted-modules-2.6.28-15-generic
     linux-image-generic
     linux-restricted-modules-generic
     linux-generic
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    I was previously advised that I had dependency issues. So I did what was recommended, but did not get to the bottom of the problem. See steps below:

    Originally posted by Snowhog
    You have dependency problems and unconfigured packages:
    linux-generic depends on linux-image-generic (= 2.6.28.15.20); however:
    Package linux-image-generic is not configured yet.
    linux-generic depends on linux-restricted-modules-generic (= 2.6.28.15.20); however:
    Package linux-restricted-modules-generic is not configured yet.
    The two bolded packages above are either not installed or remain unconfigured.

    Open a console and type:
    Code:
    sudo dpkg --configure -a
    See if these two packages finish being configured. If they do, then run:
    Code:
    sudo apt-get update
    and then:
    Code:
    sudo apt-get dist-upgrade
    I tried configuring. Not successful. Outcome below:

    Code:
    Code:
    ben@ben-desktop:~$ sudo dpkg --configure -a
    [sudo] password for ben:          
    Setting up linux-image-2.6.28-15-generic (2.6.28-15.49) ...
    Running depmod.                      
    update-initramfs: Generating /boot/initrd.img-2.6.28-15-generic
    Running postinst hook script /sbin/update-grub.
    [: 25: /sbin/update-grub: unexpected operator
    exec: 25: -a: not found
    User postinst hook script [/sbin/update-grub] exited with value 2
    dpkg: error processing linux-image-2.6.28-15-generic (--configure):
     subprocess post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of linux-restricted-modules-2.6.28-15-generic:
     linux-restricted-modules-2.6.28-15-generic depends on linux-image-2.6.28-15-generic; however:
     Package linux-image-2.6.28-15-generic is not configured yet.
    dpkg: error processing linux-restricted-modules-2.6.28-15-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-image-generic:
     linux-image-generic depends on linux-image-2.6.28-15-generic; however:
     Package linux-image-2.6.28-15-generic is not configured yet.
    dpkg: error processing linux-image-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-restricted-modules-generic:
     linux-restricted-modules-generic depends on linux-restricted-modules-2.6.28-15-generic; however:
     Package linux-restricted-modules-2.6.28-15-generic is not configured yet.
    dpkg: error processing linux-restricted-modules-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-generic:
     linux-generic depends on linux-image-generic (= 2.6.28.15.20); however:
     Package linux-image-generic is not configured yet.
     linux-generic depends on linux-restricted-modules-generic (= 2.6.28.15.20); however:
     Package linux-restricted-modules-generic is not configured yet.
    dpkg: error processing linux-generic (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     linux-image-2.6.28-15-generic
     linux-restricted-modules-2.6.28-15-generic
     linux-image-generic
     linux-restricted-modules-generic
     linux-generic
    ben@ben-desktop:~$
    Anyone know what I can do to start resolving this?
    System<br />HP Pavilion 061 with dual boot,&nbsp; Kubuntu Lucid 10.04 &amp; Windows XP Professional SP3<br />model#: PU061AV<br />X-86 based PC<br />AMD Athlon 64 processor 3200+1.79GHz<br />2 GB of RAM<br />Video:NVIDIA GeForce FX 5200 (dedicated)<br />hard drive: Maxtor 6Y080M0, 60GB

    #2
    Re: Dependecy problems &amp; unconfigured packages

    hmmm,

    you can try: sudo apt-get install -f


    or...

    sudo apt-get install --reinstall package1 package2 package3..etc


    package# = linux kernel packages (all of the ones including headers, restricted modules, sources, etc)

    Comment


      #3
      Re: Dependecy problems &amp; unconfigured packages

      Is your file system ext3 or ext4?

      From your post, it looks like the upgrade process is failing on the update-grub command.
      If you are using ext4, this may be an instance of a known problem.
      http://kubuntuforums.net/forums/inde...opic=3105491.0

      Are you booting from the same partition on which your kubuntu system is located?

      You might try running
      Code:
      sudo update-grub
      and see what error messages it gives.

      We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

      Comment


        #4
        Re: Dependecy problems &amp; unconfigured packages

        In bhamm77 other post, he identifies the kernel he is running on:
        ben@ben-desktop:~$ sudo uname -a
        Linux ben-desktop 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 01:19:55 UTC 2009 x86_64 GNU/Linux
        ben@ben-desktop:~$
        But the messages below in his attempts to remove compiz identify kernel component packages for 2.6.28-15 Could this be the cause of all the trouble?
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: Dependecy problems &amp; unconfigured packages

          Yeah, the problem is that the system is trying to install the upgrade to -15, and it's failing.
          As a part of that process, it will try to run update-grub, which is failing here:
          Setting up linux-image-2.6.28-15-generic (2.6.28-15.49) ...
          Running depmod.
          update-initramfs: Generating /boot/initrd.img-2.6.28-15-generic
          Running postinst hook script /sbin/update-grub.
          [: 25: /sbin/update-grub: unexpected operator
          exec: 25: -a: not found
          User postinst hook script [/sbin/update-grub] exited with value 2
          Now if he is booting off an ext4 partition, there is a known problem with grub.
          If not, then update-grub is failing for some other reason, and preventing the upgrade from going through.
          That's why I want him to try the update-grub by itself, and seeif it gives a more useful error message.
          We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

          Comment


            #6
            Re: Dependecy problems &amp; unconfigured packages

            If you want to know whether your drive is ext3 or ext4, then type:

            blkid -L

            Comment


              #7
              Re: Dependecy problems &amp; unconfigured packages

              I have ran the command that you advised.

              Originally posted by doctordruidphd
              Is your file system ext3 or ext4?

              From your post, it looks like the upgrade process is failing on the update-grub command.
              If you are using ext4, this may be an instance of a known problem.
              http://kubuntuforums.net/forums/inde...opic=3105491.0

              Are you booting from the same partition on which your kubuntu system is located?

              You might try running
              Code:
              sudo update-grub
              and see what error messages it gives.

              Here is what I got.....

              Code:
              ben@ben-desktop:~$ sudo update-grub
              [: 25: /usr/sbin/update-grub: unexpected operator
              exec: 25: -a: not found
              ben@ben-desktop:~$
              and....

              Code:
              ben@ben-desktop:~$ blkid -L
              device          fs_type  label    mount point          UUID
              --------------------------------------------------------------------------------------------------------------------
              /dev/loop0        squashfs        (not mounted)
              /dev/sda1         vfat    HP_RECOVERY (not mounted)         
              /dev/sda2         ntfs    HP_PAVILION /windows           
              /dev/sda4         ext2          /               
              /dev/sda5         swap          <swap>           
              ben@ben-desktop:~$
              System<br />HP Pavilion 061 with dual boot,&nbsp; Kubuntu Lucid 10.04 &amp; Windows XP Professional SP3<br />model#: PU061AV<br />X-86 based PC<br />AMD Athlon 64 processor 3200+1.79GHz<br />2 GB of RAM<br />Video:NVIDIA GeForce FX 5200 (dedicated)<br />hard drive: Maxtor 6Y080M0, 60GB

              Comment


                #8
                Re: Dependecy problems &amp; unconfigured packages

                I'm not sure what is wrong here, but I would try the following experiment:
                First, make sure you have a backup of your system, and a live CD that you can boot from if all else fails.

                The update-grub process is failing; whether that's killing the whole upgrade or not, I don't know, but we can find out.

                cd /etc
                sudo cp kernel-img.conf kernel-img.conf-backup

                Then edit the file kernel-img.conf using whatever editor you prefer (you will have to sudo or kdesudo to edit this file)

                remove the lines that say:

                postinst_hook = update-grub
                postrm_hook = update-grub
                do_bootloader = no

                save the file and try the sudo dpkg --configure -a again.

                If that works, then try sudo update-grub again.

                (this is based on information in man update-grub)


                We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                Comment


                  #9
                  Re: Dependecy problems &amp; unconfigured packages

                  drdruid,

                  I have tried your recommendations. I wanted to post the results.

                  Code:
                  ben@ben-desktop:~$ cd /etc
                  ben@ben-desktop:/etc$ sudo cp kernel-img.conf kernel-img.conf-backup
                  [sudo] password for ben:
                  ben@ben-desktop:/etc$ kdesudo kate
                  kernel-img.conf (before)


                  do_symlinks = yes
                  relative_links = yes
                  do_bootloader = no
                  do_bootfloppy = no
                  do_initrd = yes
                  link_in_boot = no
                  postinst_hook = update-grub
                  postrm_hook = update-grub


                  .................................................. ..

                  kernal-img.conf (after)


                  do_symlinks = yes
                  relative_links = yes
                  do_bootfloppy = no
                  do_initrd = yes
                  link_in_boot = no


                  Code:
                  QThreadStorage: Thread 0x16b4470 exited after QThreadStorage 2147483637 destroyed
                  ben@ben-desktop:/etc$ sudo dpkg --configure -a
                  Setting up linux-image-2.6.28-15-generic (2.6.28-15.49) ...
                  Running depmod.
                  update-initramfs: Generating /boot/initrd.img-2.6.28-15-generic
                  Examining /etc/kernel/postinst.d.
                  run-parts: executing /etc/kernel/postinst.d/nvidia-common
                  
                  Setting up linux-restricted-modules-2.6.28-15-generic (2.6.28-15.20) ...
                  update-initramfs: Generating /boot/initrd.img-2.6.28-15-generic
                  
                  Setting up linux-image-generic (2.6.28.15.20) ...
                  Setting up linux-restricted-modules-generic (2.6.28.15.20) ...
                  Setting up linux-generic (2.6.28.15.20) ...
                  ben@ben-desktop:/etc$ sudo update-grub
                  [: 25: /usr/sbin/update-grub: unexpected operator
                  exec: 25: -a: not found
                  Thought we had it resolved there for a minute, but when I tried to update grub, no progress.

                  I was given a suggestion to do the following......

                  Code:
                  Code:
                  sudo apt-get remove --purge linux-image-2.6.28-15-generic linux-headers-2.6.28-15

                  Code:
                  Code:
                  sudo dpkg --configure -a
                  & leave kernel 2.6.28-15-generic alone for the moment.


                  Think I should try this? Or do you have something else that you think we I should try 1st. Thanks alot for your help by the way. I'm fairly new to linux and this one is proving rather difficult.
                  System<br />HP Pavilion 061 with dual boot,&nbsp; Kubuntu Lucid 10.04 &amp; Windows XP Professional SP3<br />model#: PU061AV<br />X-86 based PC<br />AMD Athlon 64 processor 3200+1.79GHz<br />2 GB of RAM<br />Video:NVIDIA GeForce FX 5200 (dedicated)<br />hard drive: Maxtor 6Y080M0, 60GB

                  Comment


                    #10
                    Re: Dependecy problems &amp; unconfigured packages

                    Think I should try this? Or do you have something else that you think we I should try 1st.
                    NO it looks like your geting closer

                    ben@ben-desktop:/etc$ sudo dpkg --configure -a
                    Setting up linux-image-2.6.28-15-generic (2.6.28-15.49) ...
                    Running depmod.
                    update-initramfs: Generating /boot/initrd.img-2.6.28-15-generic
                    Examining /etc/kernel/postinst.d.
                    run-parts: executing /etc/kernel/postinst.d/nvidia-common

                    Setting up linux-restricted-modules-2.6.28-15-generic (2.6.28-15.20) ...
                    update-initramfs: Generating /boot/initrd.img-2.6.28-15-generic

                    Setting up linux-image-generic (2.6.28.15.20) ...
                    Setting up linux-restricted-modules-generic (2.6.28.15.20) ...
                    Setting up linux-generic (2.6.28.15.20) ...
                    ben@ben-desktop:/etc$ sudo update-grub
                    [: 25: /usr/sbin/update-grub: unexpected operator
                    exec: 25: -a: not found
                    looks like the new kernel went in this time it's just grub now.........I'd wate for doctordruidphd to get back to ya or one of the other overlordes In the mean time post the output of
                    Code:
                    ls /boot
                    to see if the new kernel is thare.
                    i7 4core HT 8MB L3 2.9GHz
                    16GB RAM
                    Nvidia GTX 860M 4GB RAM 1152 cuda cores

                    Comment


                      #11
                      Re: Dependecy problems &amp; unconfigured packages

                      Thanks vinnywright. Here is the outcome you suggested....

                      Code:
                      ls /boot
                      Code:
                      ben@ben-desktop:/etc$ ls /boot
                      abi-2.6.28-11-generic   config-2.6.28-15-generic   memtest86+.bin        vmcoreinfo-2.6.28-14-generic
                      abi-2.6.28-13-generic   debian.bmp          System.map-2.6.28-11-generic vmcoreinfo-2.6.28-15-generic
                      abi-2.6.28-14-generic   grub             System.map-2.6.28-13-generic vmlinuz-2.6.28-11-generic
                      abi-2.6.28-15-generic   initrd.img-2.6.28-11-generic System.map-2.6.28-14-generic vmlinuz-2.6.28-13-generic
                      config-2.6.28-11-generic initrd.img-2.6.28-13-generic System.map-2.6.28-15-generic vmlinuz-2.6.28-14-generic
                      config-2.6.28-13-generic initrd.img-2.6.28-14-generic vmcoreinfo-2.6.28-11-generic vmlinuz-2.6.28-15-generic
                      config-2.6.28-14-generic initrd.img-2.6.28-15-generic vmcoreinfo-2.6.28-13-generic
                      System<br />HP Pavilion 061 with dual boot,&nbsp; Kubuntu Lucid 10.04 &amp; Windows XP Professional SP3<br />model#: PU061AV<br />X-86 based PC<br />AMD Athlon 64 processor 3200+1.79GHz<br />2 GB of RAM<br />Video:NVIDIA GeForce FX 5200 (dedicated)<br />hard drive: Maxtor 6Y080M0, 60GB

                      Comment


                        #12
                        Re: Dependecy problems &amp; unconfigured packages

                        Definitely DO NOT do the purge! Your new kernel is installed. Now all we need to to is get grub going.

                        We are making progress here!

                        First, we need to see if you can in fact boot the new kernel.
                        Second, then we need to figure out what grub's problem is.

                        First question: Are you booting from the same partition that your kubuntu system is installed on?

                        Second, please post your /boot/grub/menu.lst file
                        We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                        Comment


                          #13
                          Re: Dependecy problems &amp; unconfigured packages

                          dr,

                          1st
                          As far as I know I am booting from the same partition as my kernel is installed on. I have windows on my system, but Kubuntu is my primary OS & using grub.

                          2nd menu.lst

                          Code:
                          gfxmenu /boot/grub/message.kde41blue
                          
                          
                          
                          
                          # menu.lst - See: grub(8), info grub, update-grub(8)
                          #      grub-install(8), grub-floppy(8),
                          #      grub-md5-crypt, /usr/share/doc/grub
                          #      and /usr/share/doc/grub-doc/.
                          
                          ## default num
                          # Set the default entry to the entry number NUM. Numbering starts from 0, and
                          # the entry number 0 is the default if the command is not used.
                          #
                          # You can specify 'saved' instead of a number. In this case, the default entry
                          # is the entry saved with the command 'savedefault'.
                          # WARNING: If you are using dmraid do not use 'savedefault' or your
                          # array will desync and will not let you boot your system.
                          default		0
                          
                          ## timeout sec
                          # Set a timeout, in SEC seconds, before automatically booting the default entry
                          # (normally the first entry defined).
                          timeout		10
                          
                          ## hiddenmenu
                          # Hides the menu by default (press ESC to see the menu)
                          #hiddenmenu
                          
                          # Pretty colours
                          #color cyan/blue white/blue
                          
                          ## password ['--md5'] passwd
                          # If used in the first section of a menu file, disable all interactive editing
                          # control (menu entry editor and command-line) and entries protected by the
                          # command 'lock'
                          # e.g. password topsecret
                          ## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
                          # password topsecret
                          
                          #
                          # examples
                          #
                          # title		Windows 95/98/NT/2000
                          # root		(hd0,0)
                          # makeactive
                          # chainloader	+1
                          #
                          # title		Linux
                          # root		(hd0,1)
                          # kernel	/vmlinuz root=/dev/hda2 ro
                          #
                          
                          #
                          # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
                          
                          ### BEGIN AUTOMAGIC KERNELS LIST
                          ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
                          ## by the debian update-grub script except for the default options below
                          
                          ## DO NOT UNCOMMENT THEM, Just edit them to your needs
                          
                          ## ## Start Default Options ##
                          ## default kernel options
                          ## default kernel options for automagic boot options
                          ## If you want special options for specific kernels use kopt_x_y_z
                          ## where x.y.z is kernel version. Minor versions can be omitted.
                          ## e.g. kopt=root=/dev/hda1 ro
                          ##   kopt_2_6_8=root=/dev/hdc1 ro
                          ##   kopt_2_6_8_2_686=root=/dev/hdc2 ro
                          # kopt=root=UUID=7af78ba6-bb59-448f-9b7d-ff15112af47b ro
                          
                          ## default grub root device
                          ## e.g. groot=(hd0,0)
                          # groot=7af78ba6-bb59-448f-9b7d-ff15112af47b
                          
                          ## should update-grub create alternative automagic boot options
                          ## e.g. alternative=true
                          ##   alternative=false
                          # alternative=true
                          
                          ## should update-grub lock alternative automagic boot options
                          ## e.g. lockalternative=true
                          ##   lockalternative=false
                          # lockalternative=false
                          
                          ## additional options to use with the default boot option, but not with the
                          ## alternatives
                          ## e.g. defoptions=vga=791 resume=/dev/hda5
                          # defoptions=splash
                          
                          ## should update-grub lock old automagic boot options
                          ## e.g. lockold=false
                          ##   lockold=true
                          # lockold=false
                          
                          ## Xen hypervisor options to use with the default Xen boot option
                          # xenhopt=
                          
                          ## Xen Linux kernel options to use with the default Xen boot option
                          # xenkopt=console=tty0
                          
                          ## altoption boot targets option
                          ## multiple altoptions lines are allowed
                          ## e.g. altoptions=(extra menu suffix) extra boot options
                          ##   altoptions=(recovery) single
                          # altoptions=(recovery mode) single
                          
                          ## controls how many kernels should be put into the menu.lst
                          ## only counts the first occurence of a kernel, not the
                          ## alternative kernel options
                          ## e.g. howmany=all
                          ##   howmany=7
                          # howmany=all
                          
                          ## specify if running in Xen domU or have grub detect automatically
                          ## update-grub will ignore non-xen kernels when running in domU and vice versa
                          ## e.g. indomU=detect
                          ##   indomU=true
                          ##   indomU=false
                          # indomU=detect
                          
                          ## should update-grub create memtest86 boot option
                          ## e.g. memtest86=true
                          ##   memtest86=false
                          # memtest86=true
                          
                          ## should update-grub adjust the value of the default booted system
                          ## can be true or false
                          # updatedefaultentry=false
                          
                          ## should update-grub add savedefault to the default options
                          ## can be true or false
                          # savedefault=false
                          
                          ## ## End Default Options ##
                          
                          title		Kubuntu 9.04, Jaunty Jackalope
                          uuid		7af78ba6-bb59-448f-9b7d-ff15112af47b
                          kernel		/boot/vmlinuz-2.6.28-14-generic root=UUID=7af78ba6-bb59-448f-9b7d-ff15112af47b ro splash 
                          initrd		/boot/initrd.img-2.6.28-14-generic
                          quiet
                          
                          title		Kubuntu 9.04, Jaunty Jackalope (recovery mode)
                          uuid		7af78ba6-bb59-448f-9b7d-ff15112af47b
                          kernel		/boot/vmlinuz-2.6.28-14-generic root=UUID=7af78ba6-bb59-448f-9b7d-ff15112af47b ro single
                          initrd		/boot/initrd.img-2.6.28-14-generic
                          
                          title		Kubuntu 9.04, memtest86+
                          uuid		7af78ba6-bb59-448f-9b7d-ff15112af47b
                          kernel		/boot/memtest86+.bin
                          quiet
                          
                          ### END DEBIAN AUTOMAGIC KERNELS LIST
                          
                          # This is a divider, added to separate the menu items below from the Debian
                          # ones.
                          title		Other operating systems:
                          root
                          
                          # This entry automatically added by the Debian installer for a non-linux OS
                          # on /dev/sda2
                          title		Windows XP Media Center Edition
                          rootnoverify	(hd0,1)
                          savedefault
                          makeactive
                          chainloader	+1
                          
                          
                          # This entry automatically added by the Debian installer for a non-linux OS
                          # on /dev/sda1
                          title		Windows NT/2000/XP
                          rootnoverify	(hd0,0)
                          savedefault
                          makeactive
                          chainloader	+1
                          The titles on this menu.lst may look a little different than you're used to. That's because I changed them in order to make my (GFX-boot-theme) look nice . Other than that, I haven't altered anything else that I know of. Let me know if anything else....
                          System<br />HP Pavilion 061 with dual boot,&nbsp; Kubuntu Lucid 10.04 &amp; Windows XP Professional SP3<br />model#: PU061AV<br />X-86 based PC<br />AMD Athlon 64 processor 3200+1.79GHz<br />2 GB of RAM<br />Video:NVIDIA GeForce FX 5200 (dedicated)<br />hard drive: Maxtor 6Y080M0, 60GB

                          Comment


                            #14
                            Re: Dependecy problems &amp; unconfigured packages

                            OK, one little problem I hadn't noticed before. When you ran the "blkid -L" command, the output didn't list any UUID values for your drives. Yet, your menu.lst files does have UUIDs in it. That may be what grub is choking on.
                            Try this:
                            Code:
                            sudo blkid
                            and also
                            Code:
                            file /lib/udev/vol_id
                            and post their outputs.

                            Now, to test your new kernel, you will need to edit your menu.lst file.

                            After the line that says
                            ### END DEBIAN AUTOMAGIC KERNELS LIST
                            add the following:

                            Code:
                            title      Kubuntu System on /dev/sda4
                            root      (hd0,3)         
                            kernel     /vmlinuz root=/dev/sda4 ro
                            initrd     /initrd.img        
                            boot                   
                            
                            title      Kubuntu System on /dev/sda4 (rescue mode) 
                            root      (hd0,3)                
                            kernel     /vmlinuz root=/dev/sda4 ro single   
                            initrd     /initrd.img              
                            boot
                            Note that this is the old way (pre-uuid) of doing grub, and it should work. There will be no splash screen -- we need to see if there are any error messages during the boot process. No reason to panic if this doesn't work; you can still boot your old kernel.

                            We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                            Comment


                              #15
                              Re: Dependecy problems &amp; unconfigured packages

                              The UUID values were missing because I edited them out. Sorry, didn't realize they would be needed. Below is an unedited look at: blkid -L

                              Code:
                              ben@ben-desktop:~$ sudo blkid -L
                              device          fs_type  label    mount point          UUID
                              --------------------------------------------------------------------------------------------------------------------
                              /dev/sda1         vfat    HP_RECOVERY (not mounted)         4BDC-5AED
                              /dev/sda2         ntfs    HP_PAVILION /windows           AE48CE1248CDD8EB
                              /dev/sda4         ext2          /               7af78ba6-bb59-448f-9b7d-ff15112af47b
                              /dev/sda5         swap          <swap>            e2b69d33-b30e-4a50-b23d-a4f3fb56757b
                              ben@ben-desktop:~$
                              now for blkid.....

                              Code:
                              ben@ben-desktop:~$ sudo blkid
                              /dev/sda1: LABEL="HP_RECOVERY" UUID="4BDC-5AED" TYPE="vfat"
                              /dev/sda2: UUID="AE48CE1248CDD8EB" LABEL="HP_PAVILION" TYPE="ntfs"
                              /dev/sda4: UUID="7af78ba6-bb59-448f-9b7d-ff15112af47b" TYPE="ext2"
                              /dev/sda5: TYPE="swap" UUID="e2b69d33-b30e-4a50-b23d-a4f3fb56757b"
                              Do you still want me to edit in the recommended addition to menu.lst?
                              System<br />HP Pavilion 061 with dual boot,&nbsp; Kubuntu Lucid 10.04 &amp; Windows XP Professional SP3<br />model#: PU061AV<br />X-86 based PC<br />AMD Athlon 64 processor 3200+1.79GHz<br />2 GB of RAM<br />Video:NVIDIA GeForce FX 5200 (dedicated)<br />hard drive: Maxtor 6Y080M0, 60GB

                              Comment

                              Working...
                              X