Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Not enough free disk space ERROR upgrading 14.04-1 LTS to 14.10

  1. #1
    Join Date
    Apr 2014
    Beans
    32

    Not enough free disk space ERROR upgrading 14.04-1 LTS to 14.10

    Just tried my 1st sudo do-release-upgrade -d to upgrade from Ubuntu Gnome 14.04-1 to 14.10 but getting an error message that confuses me.

    I am not a linux expert either.

    It basically aborts the upgrade saying not enough disk space.

    My hard drive is 1TB and I have a good 700GB left so can't be that.

    This is the log in the terminal that I see. (help..... please)

    TJ

    "Checking package manager
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Building data structures... Done

    Calculating the changes

    Calculating the changes

    Not enough free disk space

    The upgrade has aborted. The upgrade needs a total of 63.1 M free
    space on disk '/boot'. Please free at least an additional 22.0 M of
    disk space on '/boot'. Empty your trash and remove temporary packages
    of former installations using 'sudo apt-get clean'.


    Restoring original system state

    Aborting
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Building data structures... Done"

  2. #2
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Not enough free disk space ERROR upgrading 14.04-1 LTS to 14.10

    You have 700Gb free on the drive, but how much do you have free in the Ubuntu partition??? Open Gparted and have a look at the unused space in the partition marked /.

    (PS: Please use [code] tags for code. See the last link in my signature. Thanks.)

  3. #3
    Join Date
    Apr 2014
    Beans
    32

    Re: Not enough free disk space ERROR upgrading 14.04-1 LTS to 14.10

    Ouch yes.... downloaded and installed GParted via Ubuntu Software Center and running the app see /boot is only 243MB and used is 191.65MB with remaining 51.35MB.

    My /dev/sda2 is 931GB.

    What size should /boot be?

    I take it I have to create a GParted Live CD and boot from it to expand that /boot, correct?

    Hope expanding can be done without affecting my main install.

    TJ
    Last edited by macsociety; November 8th, 2014 at 12:16 AM.

  4. #4
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,218
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Not enough free disk space ERROR upgrading 14.04-1 LTS to 14.10

    macsociety; Hello;

    Maybe best to remove the old kernels from /boot:
    Code:
    sudo apt-get autoremove
    If one pays attention to /boot, re-size-ing may not be required .

    just a thought
    Last edited by Bashing-om; November 8th, 2014 at 07:50 PM. Reason: typo
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #5
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Not enough free disk space ERROR upgrading 14.04-1 LTS to 14.10

    If you have an LVM install or LVM encrypted install changing the size if /boot is a lot more difficult.

    Best just to maintain a minimum number of kernels in /boot. I normally keep 2 current and one old one.

    I prefer synaptic but you can use command line:

    Determine your current kernel:
    uname -a
    In synaptic search for linux-image to choose to delete old ones
    Using synaptic
    http://ubuntuforums.org/showthread.php?t=1283521
    cd /boot
    ls vmlinuz*
    sudo apt-get purge linux-image-[version]-generic linux-image-[version]-generic
    Multiples, just be sure not to delete your current kernel:
    sudo apt-get purge linux-image-3.8.0-{XX,XX,XX,XX,XX,XX}-generic
    Example:
    sudo apt-get purge linux-image-3.8.0-{17,18,19,21,22,23,24}-generic
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #6
    Join Date
    Apr 2014
    Beans
    32

    Re: Not enough free disk space ERROR upgrading 14.04-1 LTS to 14.10

    Thanks for all the advice so far.

    Does not allow me to purge or erase any of the old kernels.

    Getting error message.

    Here is what I get. See below code...

    TJ

    ** Also side note... I am on Gnome Ubuntu so have no Synaptic that I see. So trying to purge or erase these extra kernels. Lastly...yes my drive is LVM2 so it would not allow me to make that 930GB smaller allowing me to make that /boot bigger.... so gparted did not work for me in that respect. **

    Code:
    tj@Maingear:/boot$ ls vmlinuz*
    vmlinuz-3.13.0-24-generic  vmlinuz-3.13.0-29-generic  vmlinuz-3.13.0-32-generic
    vmlinuz-3.13.0-27-generic  vmlinuz-3.13.0-30-generic  vmlinuz-3.13.0-37-generic
    tj@Maingear:/boot$ sudo apt-get purge vmlinuz-3.13.0-27-generic
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package vmlinuz-3.13.0-27-generic
    E: Couldn't find any package by regex 'vmlinuz-3.13.0-27-generic'

    Quote Originally Posted by oldfred View Post
    If you have an LVM install or LVM encrypted install changing the size if /boot is a lot more difficult.

    Best just to maintain a minimum number of kernels in /boot. I normally keep 2 current and one old one.

    I prefer synaptic but you can use command line:

    Determine your current kernel:
    uname -a
    In synaptic search for linux-image to choose to delete old ones
    Using synaptic
    http://ubuntuforums.org/showthread.php?t=1283521
    cd /boot
    ls vmlinuz*
    sudo apt-get purge linux-image-[version]-generic linux-image-[version]-generic
    Multiples, just be sure not to delete your current kernel:
    sudo apt-get purge linux-image-3.8.0-{XX,XX,XX,XX,XX,XX}-generic
    Example:
    sudo apt-get purge linux-image-3.8.0-{17,18,19,21,22,23,24}-generic
    Last edited by macsociety; November 8th, 2014 at 01:45 AM.

  7. #7
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,966

    Re: Not enough free disk space ERROR upgrading 14.04-1 LTS to 14.10

    Re-read post #5, paying close attention to the package names to remove.
    'vmlinuz' is not part of a package name, and the package manager is trying to tell you that.

  8. #8
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Not enough free disk space ERROR upgrading 14.04-1 LTS to 14.10

    And just to refresh your memory of oldfred's instructions, you need to run 'uname -a' to get your kernel details, then:

    Code:
    cd /boot
    ls vmlinuz*
    sudo apt-get purge linux-image-[version]-generic linux-image-[version]-generic
    Multiples, just be sure not to delete your current kernel:
    sudo apt-get purge linux-image-3.8.0-{XX,XX,XX,XX,XX,XX}-generic
    ... where {XX,XX,XX,XX,XX,XX} is your kernel number. Hit return after each command. And oldfred's example:

    Code:
    sudo apt-get purge linux-image-3.8.0-{17,18,19,21,22,23,24}-generic
    ... replacing '3.8.0-{17,18,19,21,22,23,24}' with the details of your kernel.

    It is much easier via Synaptic, but this is fine.

  9. #9
    Join Date
    Apr 2014
    Beans
    32

    Re: Not enough free disk space ERROR upgrading 14.04-1 LTS to 14.10

    Thanks all. Old Kernels erased, freed up space..... and not my 14.04-1LTS is 14.10

    TJ

  10. #10
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Not enough free disk space ERROR upgrading 14.04-1 LTS to 14.10

    Excellent. Trouble is, you'll be needing to upgrade that in six months rather than five years. But if that is not a problem, great! Good luck and enjoy ...

    I generally use an LTS release as my main squeeze (I need stability and reliability) and have three other partitions for installing playthings (occasionally a Ubuntu interim release or another distro). Different strokes and all that.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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