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

Thread: Not enough free disc space

  1. #1
    Join Date
    Feb 2013
    Beans
    14

    Not enough free disc space

    Hello!

    I know this has been asked before quite often, but I'm quite new to Ubuntu and I always find it confusing trying to find solutions by looking at other threads.
    I get this message when trying to udpate software: The upgrade needs a total of 81.4 M free space on disk '/boot'. Please free at least an additional 13.6 M of disk space on '/boot'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'
    Please can someone explain how I can resolve this?

    Many thanks,
    Laurie

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

    Re: Not enough free disc space

    laurietruluck; Hi ! Welcome to the forum.

    The method of the 'fix' has changed in recent releases.
    Now that begs the question, what release are you running ?
    post back the out puts -Between Code Tags - of terminal commands:
    Code:
    lsb_release -a
    uname -r
    df -h
    df -i
    code tag tutorial:
    http://ubuntuforums.org/showthread.p...8#post12776168

    And that tells us the release, and kernel you are running, and where the space is being consumed.

    Once these are known, we can get detailed for the resolution.

    where there are solutions
    there are no problems
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #3
    Join Date
    Feb 2013
    Beans
    14

    Re: Not enough free disc space

    Hi Bashing-om

    Thanks for your help. Here are the out-puts:

    Code:
    laurie@laurie-Vaio:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID:    Ubuntu
    Description:    Ubuntu 14.04 LTS
    Release:    14.04
    Codename:    trusty
    Code:
    laurie@laurie-Vaio:~$ uname -r
    3.13.0-30-generic
    Code:
    laurie@laurie-Vaio:~$ df -h
    Filesystem                   Size  Used Avail Use% Mounted on
    /dev/mapper/ubuntu--vg-root  455G   28G  404G   7% /
    none                         4.0K     0  4.0K   0% /sys/fs/cgroup
    udev                         1.9G  4.0K  1.9G   1% /dev
    tmpfs                        381M  1.2M  380M   1% /run
    none                         5.0M     0  5.0M   0% /run/lock
    none                         1.9G  512K  1.9G   1% /run/shm
    none                         100M   40K  100M   1% /run/user
    /dev/sda1                    236M  159M   65M  72% /boot
    Code:
    laurie@laurie-Vaio:~$ df -i
    Filesystem                    Inodes  IUsed    IFree IUse% Mounted on
    /dev/mapper/ubuntu--vg-root 30253056 297769 29955287    1% /
    none                          487584      2   487582    1% /sys/fs/cgroup
    udev                          483670    507   483163    1% /dev
    tmpfs                         487584    536   487048    1% /run
    none                          487584      4   487580    1% /run/lock
    none                          487584     10   487574    1% /run/shm
    none                          487584     26   487558    1% /run/user
    /dev/sda1                      62248    316    61932    1% /boot

    Thanks,
    Laurie
    Last edited by coffeecat; August 19th, 2014 at 03:08 PM. Reason: added code tags

  4. #4
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: Not enough free disc space

    Try this

    Enter these commands one line at a time:

    Code:
    sudo apt-get clean
    sudo apt-get autoremove
    sudo apt-get dist-upgrade
    https://help.ubuntu.com/community/Ap...nance_commands

  5. #5
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Not enough free disc space

    ibjsb4,

    Those commands will only free space on their root partition, while the /boot, where the cleanup is required, is clearly on a separate partition of 236 MB size -
    Quote Originally Posted by laurietruluck View Post
    Code:
    laurie@laurie-Vaio:~$ df -h
    Filesystem                   Size  Used Avail Use% Mounted on
    /dev/mapper/ubuntu--vg-root  455G   28G  404G   7% /
    none                         4.0K     0  4.0K   0% /sys/fs/cgroup
    udev                         1.9G  4.0K  1.9G   1% /dev
    tmpfs                        381M  1.2M  380M   1% /run
    none                         5.0M     0  5.0M   0% /run/lock
    none                         1.9G  512K  1.9G   1% /run/shm
    none                         100M   40K  100M   1% /run/user
    /dev/sda1                    236M  159M   65M  72% /boot
    I believe we need to see which other kernels are installed so we can be specific on what needs to be removed and how.


    @Laurie,

    Please also post the output of -
    Code:
    dpkg -l | egrep 'linux-(image|headers)'
    You can copy-paste the above command from here to the terminal to avoid typo.

    While posting the outputs, please use 'Code' tags. It preserves the output's formatting and makes the post cleaner, compact and more readable. To see a quick 'HowTo' with screenshots, please follow the "Use Code Tags" link in my signature.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  6. #6
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: Not enough free disc space

    Oops, didn't catch the partition.

  7. #7
    Join Date
    Feb 2013
    Beans
    14

    Re: Not enough free disc space

    Code:
    laurie@laurie-Vaio:~$ dpkg -l | egrep 'linux-(image|headers)'
    ii  linux-headers-3.13.0-24                               3.13.0-24.47                                        all          Header files related to Linux kernel version 3.13.0
    ii  linux-headers-3.13.0-24-generic                       3.13.0-24.47                                        amd64        Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
    ii  linux-headers-3.13.0-27                               3.13.0-27.50                                        all          Header files related to Linux kernel version 3.13.0
    ii  linux-headers-3.13.0-27-generic                       3.13.0-27.50                                        amd64        Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
    ii  linux-headers-3.13.0-29                               3.13.0-29.53                                        all          Header files related to Linux kernel version 3.13.0
    ii  linux-headers-3.13.0-29-generic                       3.13.0-29.53                                        amd64        Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
    ii  linux-headers-3.13.0-30                               3.13.0-30.55                                        all          Header files related to Linux kernel version 3.13.0
    ii  linux-headers-3.13.0-30-generic                       3.13.0-30.55                                        amd64        Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
    ii  linux-headers-generic                                 3.13.0.30.36                                        amd64        Generic Linux kernel headers
    ii  linux-image-3.13.0-24-generic                         3.13.0-24.47                                        amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
    ii  linux-image-3.13.0-27-generic                         3.13.0-27.50                                        amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
    ii  linux-image-3.13.0-29-generic                         3.13.0-29.53                                        amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
    ii  linux-image-3.13.0-30-generic                         3.13.0-30.55                                        amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
    ii  linux-image-extra-3.13.0-24-generic                   3.13.0-24.47                                        amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
    ii  linux-image-extra-3.13.0-27-generic                   3.13.0-27.50                                        amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
    ii  linux-image-extra-3.13.0-29-generic                   3.13.0-29.53                                        amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
    ii  linux-image-extra-3.13.0-30-generic                   3.13.0-30.55                                        amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
    ii  linux-image-generic                                   3.13.0.30.36                                        amd64        Generic Linux kernel image

  8. #8
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Not enough free disc space

    @laurietruluck, I won't interfere with excellent the help you are getting in removing unwanted kernels, but please would you do something for the community? You installed Ubuntu specifying a whole disc LVM installation either with or without encryption. That is why the installer set up a separate /boot partition. Unfortunately, the default and only size for the boot partition is a little under 256MB, which is far too small. Please mark this bug as affecting you:

    https://bugs.launchpad.net/ubuntu/+s...y/+bug/1357093

    You need a launchpad account which is easy to set up. Once you have logged into LP, you can click the link to say it affects you, which will help raise the heat on the bug and hopefully lead to serious attention. Please don't post any comment on the bug thread unless you really need to - let's try to keep this bug free of unnecessary background noise.

    @everyone helping: please bookmark this bug and get others you help who are in the same situation marking it as affecting them too. Thanks.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  9. #9
    Join Date
    Feb 2013
    Beans
    14

    Re: Not enough free disc space

    @coffeecat - I've now done what you've advised, thanks for your help.

  10. #10
    Join Date
    Apr 2008
    Beans
    11,707

    Re: Not enough free disc space

    Quote Originally Posted by coffeecat View Post
    @laurietruluck, I won't interfere with excellent the help you are getting in removing unwanted kernels, but please would you do something for the community? You installed Ubuntu specifying a whole disc LVM installation either with or without encryption. That is why the installer set up a separate /boot partition. Unfortunately, the default and only size for the boot partition is a little under 256MB, which is far too small. Please mark this bug as affecting you:

    https://bugs.launchpad.net/ubuntu/+s...y/+bug/1357093

    You need a launchpad account which is easy to set up. Once you have logged into LP, you can click the link to say it affects you, which will help raise the heat on the bug and hopefully lead to serious attention. Please don't post any comment on the bug thread unless you really need to - let's try to keep this bug free of unnecessary background noise.

    @everyone helping: please bookmark this bug and get others you help who are in the same situation marking it as affecting them too. Thanks.
    I "me too'ed" that also, and subscribed. That's a ridiculous design flaw

    At best a default LVM/encrypted install would be good for maybe three kernel updates ................ what were they thinking?

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
  •