Running out of space [SOLVED]
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Running out of space [SOLVED]
I am now regularly getting warnings that my 20GB file partition is running low on space. I keep clearing out var/tmp which accumulates files produced when printing, but am not sure what other folders might contain unnecessary clutter.
I am running Mint 19 on a Sony Vaio laptop with a 1TB hard disc, 20GB of which is partitioned for the file system. I would have thought this was ample, but it is frustrating to keep having to clear temp files out manually.
Any advice gratefully received, thanks....
I am running Mint 19 on a Sony Vaio laptop with a 1TB hard disc, 20GB of which is partitioned for the file system. I would have thought this was ample, but it is frustrating to keep having to clear temp files out manually.
Any advice gratefully received, thanks....
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Running out of space
Please post the output of this terminal command:
Code: Select all
sudo dpkg --list 'linux-image*'|awk '{ if ($1=="ii") print $2}'|grep -v `uname -r`
[ⅽode]
and [/ⅽode]
code markers by selecting </>
from the mini toolbar above the textbox where you type your reply. Simply copy the text and paste it into a terminal."There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Running out of space
What you can do is clean up old stuff using the terminal.
Open the terminal and type the following commands:
The first command will delete all .deb files from the apt-get cache (/var/cache/apt/archives)
The second command will clean all downloaded .deb files from the local repository
the third command will clean packages that are installed to satisfy dependencies for other packages and are no longer required
You can also add the --purge key after each command. This will delete any configurations files as well which came with the original package.
Open the terminal and type the following commands:
Code: Select all
sudo apt-get autoclean
Code: Select all
sudo apt-get clean
Code: Select all
sudo apt-get autoremove
The second command will clean all downloaded .deb files from the local repository
the third command will clean packages that are installed to satisfy dependencies for other packages and are no longer required
You can also add the --purge key after each command. This will delete any configurations files as well which came with the original package.
Re: Running out of space
Code: Select all
linux-image-4.15.0-20-generic
linux-image-4.15.0-24-generic
linux-image-4.15.0-29-generic
linux-image-4.15.0-30-generic
linux-image-4.15.0-32-generic
linux-image-4.15.0-33-generic
linux-image-generic
Re: Running out of space
The terminal commands certainly created a few Gbs more space on that partition - many thanks
- smurphos
- Level 18
- Posts: 8498
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: Running out of space
Launch Update Manager > View > Linux Kernels and remove all but the active one and one backup older one.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: Running out of space
I have removed some kernels. Only the ones listed as installed were able to be removed. Are the others taking up space? If so how can they be removed? It doesn't seem to have resulted in more free space though!
Re: Running out of space
No.
See how much free disk space left now:It doesn't seem to have resulted in more free space though
Code: Select all
df -h /
Re: Running out of space
Code: Select all
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 19G 14G 3.8G 79% /
Many thanks.....
Re: Running out of space
You could consider buying a bigger hard drive....banjoman wrote: ⤴Fri Sep 21, 2018 2:30 pm
Code: Select all
Filesystem Size Used Avail Use% Mounted on /dev/sda1 19G 14G 3.8G 79% /
Re: Running out of space
Can you post the result of this command:
Code: Select all
inxi -P
Re: Running out of space
I can't actually make much sense of the information presented by disk analyser. I should have edited this as solved. The 3 terminal commands and deleting previous linux kernels mentioned in a previous reply seem to have reclaimed enough space...