Software updater - no space?

Hi, everyone,

Although this is similar to a previous recent post thought it OK to post again as I have tried one or two of the suggested solutions given but to no avail.

The output below is what I get when I followed the advice given in the other topic and it seems I have run out of disk space.

Is it a case of reinstalling P5 and juggling with the partitions? If so what do I need to do please?

I don’t actually save pictures or video just one small spreadsheet so very little to remove and I’ve tried that anyway.

Cheers.

Here is the output :
doug@doug-1000 ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 6.3G 5.4G 593M 91% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 487M 4.0K 487M 1% /dev
tmpfs 100M 1.1M 99M 2% /run
none 5.0M 0 5.0M 0% /run/lock
none 496M 12M 485M 3% /run/shm
none 100M 12K 100M 1% /run/user
doug@doug-1000 ~ $

first thing to do is open a terminal and run:

sudo apt-get clean

then

sudo apt-get autoremove

then post back the output from

df -h

again.

Hi, Mark

As instructed

doug@doug-1000 ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 6.3G 5.1G 896M 86% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 487M 12K 487M 1% /dev
tmpfs 100M 1.1M 99M 2% /run
none 5.0M 0 5.0M 0% /run/lock
none 496M 13M 484M 3% /run/shm
none 100M 8.0K 100M 1% /run/user
doug@doug-1000 ~ $

Hi, Mark

Done as you instructed and then tried a new software update which worked OK.

ran df -h again and this is below.

doug@doug-1000 ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 6.3G 5.2G 862M 86% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 487M 12K 487M 1% /dev
tmpfs 100M 1.1M 99M 2% /run
none 5.0M 0 5.0M 0% /run/lock
none 496M 13M 484M 3% /run/shm
none 100M 12K 100M 1% /run/user
doug@doug-1000 ~ $

I assume from this that I have very little space left? (862M?) So if I’m reading this correctly presumably I need to do something about it. Re-install maybe?

Cheers, Doug

With only 8gb to play with you were always going to be short on space

reinstall if you like, it may help a bit … but if you’re thinking of reinstalling Peppermint you might want to wait until June 1st when Peppermint 6 is slated for release.

[EDIT]

We could probably recover some useful space by removing old kernels … what’s the output from:

dpkg -l | grep 3.13.0

Hi, Mark

As requested.

doug@doug-1000 ~ $ dpkg -l | grep 3.13.0
ii linux-generic 3.13.0.52.59 i386 Complete Generic Linux kernel and headers
ii linux-headers-3.13.0-40 3.13.0-40.69 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-40-generic 3.13.0-40.69 i386 Linux kernel headers for version 3.13.0 on 32 bit x86 SMP
ii linux-headers-3.13.0-43 3.13.0-43.72 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-43-generic 3.13.0-43.72 i386 Linux kernel headers for version 3.13.0 on 32 bit x86 SMP
ii linux-headers-3.13.0-44 3.13.0-44.73 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-44-generic 3.13.0-44.73 i386 Linux kernel headers for version 3.13.0 on 32 bit x86 SMP
ii linux-headers-3.13.0-45 3.13.0-45.74 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-45-generic 3.13.0-45.74 i386 Linux kernel headers for version 3.13.0 on 32 bit x86 SMP
ii linux-headers-3.13.0-46 3.13.0-46.79 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-46-generic 3.13.0-46.79 i386 Linux kernel headers for version 3.13.0 on 32 bit x86 SMP
ii linux-headers-3.13.0-48 3.13.0-48.80 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-48-generic 3.13.0-48.80 i386 Linux kernel headers for version 3.13.0 on 32 bit x86 SMP
ii linux-headers-3.13.0-49 3.13.0-49.83 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-49-generic 3.13.0-49.83 i386 Linux kernel headers for version 3.13.0 on 32 bit x86 SMP
ii linux-headers-3.13.0-51 3.13.0-51.84 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-51-generic 3.13.0-51.84 i386 Linux kernel headers for version 3.13.0 on 32 bit x86 SMP
ii linux-headers-3.13.0-52 3.13.0-52.86 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-52-generic 3.13.0-52.86 i386 Linux kernel headers for version 3.13.0 on 32 bit x86 SMP
ii linux-headers-generic 3.13.0.52.59 i386 Generic Linux kernel headers
rc linux-image-3.13.0-29-generic 3.13.0-29.53 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii linux-image-3.13.0-40-generic 3.13.0-40.69 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii linux-image-3.13.0-43-generic 3.13.0-43.72 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii linux-image-3.13.0-44-generic 3.13.0-44.73 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii linux-image-3.13.0-45-generic 3.13.0-45.74 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii linux-image-3.13.0-46-generic 3.13.0-46.79 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii linux-image-3.13.0-48-generic 3.13.0-48.80 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii linux-image-3.13.0-49-generic 3.13.0-49.83 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii linux-image-3.13.0-51-generic 3.13.0-51.84 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii linux-image-3.13.0-52-generic 3.13.0-52.86 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
rc linux-image-extra-3.13.0-29-generic 3.13.0-29.53 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-extra-3.13.0-40-generic 3.13.0-40.69 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-extra-3.13.0-43-generic 3.13.0-43.72 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-extra-3.13.0-44-generic 3.13.0-44.73 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-extra-3.13.0-45-generic 3.13.0-45.74 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-extra-3.13.0-46-generic 3.13.0-46.79 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-extra-3.13.0-48-generic 3.13.0-48.80 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-extra-3.13.0-49-generic 3.13.0-49.83 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-extra-3.13.0-51-generic 3.13.0-51.84 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-extra-3.13.0-52-generic 3.13.0-52.86 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-generic 3.13.0.52.59 i386 Generic Linux kernel image
doug@doug-1000 ~ $

Sorry forgot … can you also post the output from:

uname -a

If the output from that command says you’re running kernel

3.13.0-52-generic

Then run the following extra long command (If it mentions ANY other version DO NOT run this command):

sudo apt-get remove --purge linux-headers-3.13.0-40 linux-headers-3.13.0-40-generic linux-headers-3.13.0-43 linux-headers-3.13.0-43-generic linux-headers-3.13.0-44 linux-headers-3.13.0-44-generic linux-headers-3.13.0-45 linux-headers-3.13.0-45-generic linux-headers-3.13.0-46 linux-headers-3.13.0-46-generic linux-headers-3.13.0-48 linux-headers-3.13.0-48-generic linux-headers-3.13.0-49 linux-headers-3.13.0-49-generic linux-image-3.13.0-29-generic linux-image-3.13.0-40-generic linux-image-3.13.0-43-generic linux-image-3.13.0-44-generic linux-image-3.13.0-45-generic linux-image-3.13.0-46-generic linux-image-3.13.0-48-generic linux-image-3.13.0-49-generic linux-image-extra-3.13.0-29-generic linux-image-extra-3.13.0-40-generic linux-image-extra-3.13.0-43-generic linux-image-extra-3.13.0-44-generic linux-image-extra-3.13.0-45-generic linux-image-extra-3.13.0-46-generic linux-image-extra-3.13.0-48-generic linux-image-extra-3.13.0-49-generic

then post the output from:

df -h

and

dpkg -l | grep 3.13.0

again

hi, Mark,

Here’s the output.
doug@doug-1000 ~ $ uname -a
Linux doug-1000 3.13.0-52-generic #86-Ubuntu SMP Mon May 4 04:32:15 UTC 2015 i686 i686 i686 GNU/Linux
doug@doug-1000 ~ $

That seems to be as you expected. Will run the long command a bit later after I get back in.

Cheers, Doug

Yup … make sure you get the whole command, it’s quite long so scrolls off the forum code box :wink:

Hi, Mark

doug@doug-1000 ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 6.3G 3.3G 2.8G 55% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 487M 12K 487M 1% /dev
tmpfs 100M 1.1M 99M 2% /run
none 5.0M 0 5.0M 0% /run/lock
none 496M 13M 484M 3% /run/shm
none 100M 8.0K 100M 1% /run/user
doug@doug-1000 ~ $

doug@doug-1000 ~ $ dpkg -l | grep 3.13.0
ii linux-generic 3.13.0.52.59 i386 Complete Generic Linux kernel and headers
ii linux-headers-3.13.0-51 3.13.0-51.84 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-51-generic 3.13.0-51.84 i386 Linux kernel headers for version 3.13.0 on 32 bit x86 SMP
ii linux-headers-3.13.0-52 3.13.0-52.86 all Header files related to Linux kernel version 3.13.0
ii linux-headers-3.13.0-52-generic 3.13.0-52.86 i386 Linux kernel headers for version 3.13.0 on 32 bit x86 SMP
ii linux-headers-generic 3.13.0.52.59 i386 Generic Linux kernel headers
ii linux-image-3.13.0-51-generic 3.13.0-51.84 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii linux-image-3.13.0-52-generic 3.13.0-52.86 i386 Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii linux-image-extra-3.13.0-51-generic 3.13.0-51.84 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-extra-3.13.0-52-generic 3.13.0-52.86 i386 Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii linux-image-generic 3.13.0.52.59 i386 Generic Linux kernel image
doug@doug-1000 ~ $

Looks like you’ve sorted it Mark.

Yup, that’s done the trick :slight_smile:

Hi, Mark

Thanks for your help and expertise I would be lost without it, for sure!!

I assume then that each time an update is done i’m using up free space but not removing old files at the same time thus i’ll be back in tthe same boat over time?

If I install P6 as you suggest during that process could I size the partitions to give me more space for P6? I think the SSD is 30 or 40 gig.

How do I check the size of the partitions now and is the above feasible or am I completely off the plot with my thinking?

Cheers, Doug.

If I install P6 as you suggest during that process could I size the partitions to give me more space for P6? I think the SSD is 30 or 40 gig.
If this is the AA1 then you are stuck with the 8Gb disk, however you can check it with (that is lower-case L):
sudo fdisk -l

This will list all disks and partitions

I assume then that each time an update is done i'm using up free space but not removing old files at the same time thus i'll be back in tthe same boat over time?

OK when you update, old files tend to be overwritten so you don’t use much (if any) extra space.
but…
a) experimenting with software … ie. installing it, then uninstalling it (as opposed to purging it) will leave behind the config files (usually very small) and the software package in the package cache … occasionally running “sudo apt-get clean” will clear the package cache
and
b) every time a kernel update is released the old kernel is neither removed or overwritten (this is in case the new kernel breaks something, so you can always boot the old kernel) … the kernel themselves aren’t “that” big, but their support files such as the kernel headers and “extras” can quickly mount up … occasionally running “sudo apt-get autoremove” will usually clear out the old kernel headers and extras but will not clear the old kernels, that will need to be done manually.

If I install P6 as you suggest during that process could I size the partitions to give me more space for P6? I think the SSD is 30 or 40 gig.

Sure, if you do indeed have a 30 - 40gb SSD … but as SeZo suggests the standard AA1 SSD was 8GB … so please post the output from his

sudo fdisk -l

command, so we can see what disks are installed.

Sezo/Mark,

As requested :

Disk /dev/sda: 8069 MB, 8069677056 bytes
255 heads, 63 sectors/track, 981 cylinders, total 15761088 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000bd524

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 13682687 6840320 83 Linux
/dev/sda2 13684734 15759359 1037313 5 Extended
/dev/sda5 13684736 15759359 1037312 82 Linux swap / Solaris

Disk /dev/sdb: 32.3 GB, 32279224320 bytes
255 heads, 63 sectors/track, 3924 cylinders, total 63045360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000bba60

Device Boot Start End Blocks Id System
/dev/sdb1 2048 39384290 19691121+ 83 Linux
doug@doug-1000 ~ $

isk /dev/sda: 8069 MB, 8069677056 bytes
255 heads, 63 sectors/track, 981 cylinders, total 15761088 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000bd524

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 13682687 6840320 83 Linux
/dev/sda2 13684734 15759359 1037313 5 Extended
/dev/sda5 13684736 15759359 1037312 82 Linux swap / Solaris

Disk /dev/sdb: 32.3 GB, 32279224320 bytes
255 heads, 63 sectors/track, 3924 cylinders, total 63045360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000bba60

Device Boot Start End Blocks Id System
/dev/sdb1 2048 39384290 19691121+ 83 Linux
doug@doug-1000 ~ $

Have you got a second 32GB HDD/SSD/USB stick attached to your AA1 ?

If so, how ? … via USB ?

Sezo/Mark

Does the output above make things clear? Not really sure what it means myself.

Does it basically mean I would be better advised to buy a new and bigger SSD (say 60gig) or would that make no difference and if there is only one SSD why cannot I re-format it and then re-size the partitions when installing P6 - is the SSD physically split in some way?

Mark. Thanks for the explanation of how space is used up I had sort of assumed that was what happened but you have expanded my limited understanding
significantly.

Cheers, Doug.

Mark ,

Your last post went in just as i posted this!!!

I installed P5 from a USB stick but I have nothing attached or plugged in at all - nothing.

I’m showing my ignorance I know but looking at the output there seemed to be two or three different “things” partitions or whatever they are which
I found very puzzling.

Doug.

I’m finding it weird that you appear to have 2 drives (sda and sdb … sda is 8GB and has 3 partitions, which is what I’d have expected … sdb is 32GB and has a single partition, this I wasn’t expecting)

Can you post the output from:

sudo hdparm -I /dev/sda

and

sudo hdparm -I /dev/sdb

can you also post the output from:

inxi -F

and post the exact model number of the AA1 (should be printed on the bottom of the netbook)

If I remember right, the SD card slot on the left side of the AA1 was originally used to expand the internal storage under the original OS.
It is possible that is what showing up (with a card in it).