Announcement

Collapse
No announcement yet.

Update Failed to install!

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

    #16
    Originally posted by Snowhog View Post
    Yep, lots of kernels there.

    You really only need to keep the current and prior kernel for the current version of Kubuntu you are running, 12.04 in this case.

    To regain valuable space in your root partition, remove completely, the following kernels and associated cruft:

    In a konsole, you type:
    Code:
    sudo apt-get purge linux-image-x.x.x-xx-generic
    replacing the x's with the numbers of the kernel shown above. Do this for each one. So, as an example, to remove completely the linux-image-2.6.31-14-generic kernel, you type:
    Code:
    sudo apt-get purge linux-image-2.6.31-14-generic
    After you have removed all in the list above type:
    Code:
    sudo update-grub2
    to update grub.
    steve723@steve723-ASUS-Eee-PC-Netbook:~$ dpkg --list | grep linux-image | awk '{print $2}'
    linux-image-3.2.0-30-generic
    linux-image-3.2.0-31-generic
    steve723@steve723-ASUS-Eee-PC-Netbook:~$

    I think it may have been redundant to enter sudo update-grub2, since it looked like it automatically did that after each purge. I entered what you said so, now what?
    Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

    http://www.kubuntu.org/getkubuntu

    Comment


      #17
      You should have regained a significant amount of space on your root partition. In the konsole type:
      Code:
      df -h
      And let's see just how much.
      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


        #18
        Originally posted by steve7233 View Post
        I entered what you said so, now what?
        You should have much more free space on your computer now.

        You might also have a bunch of unnecessary headers files, too. Similar to the previous exercise, what's the output of:
        Code:
        dpkg --list | awk '/linux-headers/ {print $2}'

        Comment


          #19
          Originally posted by Snowhog View Post
          You should have regained a significant amount of space on your root partition. In the konsole type:
          Code:
          df -h
          And let's see just how much.
          steve723@steve723-ASUS-Eee-PC-Netbook:~$ df -h
          Filesystem      Size  Used Avail Use% Mounted on
          /dev/sdb1 5.7G 4.3G 1.2G 80% /
          udev 486M 4.0K 486M 1% /dev
          tmpfs 199M 896K 198M 1% /run
          none 5.0M 0 5.0M 0% /run/lock
          none 497M 184K 497M 1% /run/shm
          /dev/sdb5 9.2G 6.4G 2.4G 73% /home
          /dev/sda1 221M 60M 150M 29% /boot
          /dev/sda5 1.8G 702M 1.1G 41% /var

          steve723@steve723-ASUS-Eee-PC-Netbook:~$
          Last edited by Snowhog; Sep 30, 2012, 08:39 PM.
          Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

          http://www.kubuntu.org/getkubuntu

          Comment


            #20
            You regained 14% on the root partition (from 94% used to 80% used).
            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


              #21
              Originally posted by SteveRiley View Post
              You should have much more free space on your computer now.

              You might also have a bunch of unnecessary headers files, too. Similar to the previous exercise, what's the output of:
              Code:
              dpkg --list | awk '/linux-headers/ {print $2}'
              bash appears to be lost. Perhaps you made a typo. I copy and pasted the command into bash so, if you made a typo then maybe that’s why.
              Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

              http://www.kubuntu.org/getkubuntu

              Comment


                #22
                Hm. I copy-pasted from here back into my Konsole, it works fine:

                Code:
                steve@t520:~$ [B]dpkg --list | awk '/linux-headers/ {print $2}'[/B]
                linux-headers-3.5.0-16
                linux-headers-3.5.0-16-generic
                linux-headers-3.5.4-030504
                linux-headers-3.5.4-030504-generic
                linux-headers-generic
                What errors are you seeing?

                Comment


                  #23
                  works @hear
                  vinny@Vinnys-HP-G62:~$ dpkg --list | awk '/linux-headers/ {print $2}'
                  linux-headers-3.2.0-23
                  linux-headers-3.2.0-23-generic
                  linux-headers-3.2.0-24
                  linux-headers-3.2.0-24-generic
                  linux-headers-3.2.0-25
                  linux-headers-3.2.0-25-generic
                  linux-headers-3.2.0-26
                  linux-headers-3.2.0-26-generic
                  linux-headers-3.2.0-27
                  linux-headers-3.2.0-27-generic
                  linux-headers-3.2.0-29
                  linux-headers-3.2.0-29-generic
                  linux-headers-3.2.0-30
                  linux-headers-3.2.0-30-generic
                  linux-headers-3.2.0-31
                  linux-headers-3.2.0-31-generic
                  linux-headers-3.4.1-030401
                  linux-headers-3.4.1-030401-generic
                  linux-headers-3.5.0-5
                  linux-headers-3.5.0-5-generic
                  linux-headers-generic
                  vinny@Vinnys-HP-G62:~$
                  ya I need to do some house cleaning

                  VINNY
                  i7 4core HT 8MB L3 2.9GHz
                  16GB RAM
                  Nvidia GTX 860M 4GB RAM 1152 cuda cores

                  Comment


                    #24
                    Originally posted by SteveRiley View Post
                    Hm. I copy-pasted from here back into my Konsole, it works fine:

                    Code:
                    steve@t520:~$ [B]dpkg --list | awk '/linux-headers/ {print $2}'[/B]
                    linux-headers-3.5.0-16
                    linux-headers-3.5.0-16-generic
                    linux-headers-3.5.4-030504
                    linux-headers-3.5.4-030504-generic
                    linux-headers-generic
                    steve723@steve723-ASUS-Eee-PC-Netbook:~$ dpkg --list | awk '/linux-headers/ {print $2}'
                    linux-headers-3.2.0-30
                    linux-headers-3.2.0-30-generic
                    linux-headers-3.2.0-31
                    linux-headers-3.2.0-31-generic
                    linux-headers-generic
                    steve723@steve723-ASUS-Eee-PC-Netbook:~$
                    Sorry I didn't notice the mouse missed the last '. I sometimes forget that computers are extremely literal and just missing one character in a command sequence can mess things up.

                    By the way there was no error message. There was only a > and nothing else. I had to Alt F4 and then relaunch bash.
                    Last edited by Snowhog; Oct 01, 2012, 09:15 AM. Reason: I forgot to past the results.
                    Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                    http://www.kubuntu.org/getkubuntu

                    Comment


                      #25
                      The lack of an error message followed by a right angle-bracket is normal. That means "Tell me more, obviously you aren't done yet."

                      Looks like you don't have a bunch of unnecessary header files. That's good.

                      Comment


                        #26
                        Originally posted by SteveRiley View Post
                        The lack of an error message followed by a right angle-bracket is normal. That means "Tell me more, obviously you aren't done yet."

                        Looks like you don't have a bunch of unnecessary header files. That's good.
                        I just noticed your in Seattle, I've been there a few times. I worked at Old and New Madagin Army Medical Center on Ft. Lewis. My dad was stationed at McChord AFB twice in fact his first time was when i was born at OMAMC. We'll time to greet the sand man. ZZZZZZZZZZZZZZ
                        Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                        http://www.kubuntu.org/getkubuntu

                        Comment


                          #27
                          Originally posted by steve7233 View Post
                          By the way there was no error message. There was only a > and nothing else. I had to Alt F4 and then relaunch bash.
                          Ctrl+C also works in this case.

                          Comment


                            #28
                            Thanks. So now what.
                            Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                            http://www.kubuntu.org/getkubuntu

                            Comment


                              #29
                              Originally posted by steve7233 View Post
                              Thanks. So now what.
                              I was simply providing an alternate way of escaping from that situation -- an incomplete multi-line command input.

                              More generally, it sounds like you don't have any extraneous kernel header files, and you've cleaned up the old kernel images. This freeed up valuable disk space, which I believe was the problem you were experiencing. Or is there something else we can help you with?

                              Comment


                                #30
                                Originally posted by steve7233 View Post
                                Thanks. So now what.
                                From a quick glance your partitions seem fine, though making / a tad bigger may be useful if you keep running out of space. You may want to see what programs you have installed that you no longer need or use. Basic slimming down sort of thing.

                                You can also tell synaptic and muon to not save downloaded packages at all, which can help too.

                                Sent from my SCH-I510 using Tapatalk 2

                                Comment

                                Working...
                                X