Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just got notification that I am running out of root diskspace.
LinuxMint Cinnamon 18.0, fully updated as of a few minutes ago.
750GB HDD
/30 GB - 91.2% full
Swap 4 GB
Home 716 GB - 28.5% full
Why is there so much stuff in / ?
I created a large / because K3b would not find tmp and reported it had run out of diskspace in / when it was normal size. (I had originally created a separate large tmp so that I could copy and burn 8.5 GB DVD's.
$ ls -fal
total 2432
drwxr-xr-x 5 tom root 4096 Dec 7 2016 home
drwxr-xr-x 23 root root 4096 Jan 23 14:42 .
drwx------ 9 root root 4096 Nov 25 13:16 root
drwxr-xr-x 3 root root 12288 Jan 23 17:17 boot
drwxr-xr-x 10 root root 4096 Jun 28 2016 usr
drwxr-xr-x 23 root root 4096 Jan 23 14:42 ..
drwxr-xr-x 3 root root 4096 Oct 26 2016 media
lrwxrwxrwx 1 root root 30 Jan 10 11:58 vmlinuz.old -> boot/vmlinuz-4.4.0-109-generic
drwxr-xr-x 2 root root 12288 Jan 17 08:30 bin
drwxr-xr-x 20 root root 4220 Jan 24 09:00 dev
lrwxrwxrwx 1 root root 30 Jan 23 14:42 vmlinuz -> boot/vmlinuz-4.4.0-112-generic
drwxrwxrwt 18 root root 4096 Jan 24 09:39 tmp
drwxr-xr-x 11 root root 4096 Jun 28 2016 var
drwxr-xr-x 2 root root 4096 Jun 28 2016 mnt
lrwxrwxrwx 1 root root 33 Jan 23 14:42 initrd.img -> boot/initrd.img-4.4.0-112-generic
drwxr-xr-x 149 root root 12288 Jan 24 09:10 etc
drwxr-xr-x 2 root root 12288 Jan 17 08:30 sbin
drwxr-xr-x 2 root root 4096 Oct 18 2016 cdrom
drwxr-xr-x 2 root root 4096 Jan 17 06:29 lib64
drwxr-xr-x 3 root root 4096 Nov 4 2016 opt
dr-xr-xr-x 200 root root 0 Jan 19 17:52 proc
drwx------ 2 root root 16384 Oct 18 2016 lost+found
drwxr-xr-x 2 root root 4096 Jun 28 2016 srv
-rw------- 1 root root 19480576 Aug 2 21:30 core
drwxr-xr-x 26 root root 4096 Jan 17 06:29 lib
dr-xr-xr-x 13 root root 0 Jan 19 17:52 sys
lrwxrwxrwx 1 root root 33 Jan 10 11:58 initrd.img.old -> boot/initrd.img-4.4.0-109-generic
drwxr-xr-x 33 root root 1120 Jan 24 09:10 run
/ $ sudo apt-get clean
/ $ clean
No command 'clean' found, did you mean:
Command 'pclean' from package 'pbuilder-scripts' (universe)
Command 'clear' from package 'ncurses-bin' (main)
Command 'uclean' from package 'svn-buildpackage' (universe)
clean: command not found
/ $ sudo apt-get clean
/ $ clean
No command 'clean' found, did you mean:
Command 'pclean' from package 'pbuilder-scripts' (universe)
Command 'clear' from package 'ncurses-bin' (main)
Command 'uclean' from package 'svn-buildpackage' (universe)
clean: command not found
Out of interest, why did you try and run a second command called clean? The first command sudo apt-get clean should have worked.
Because I did not get any feedback from running / $ sudo apt-get clean. I was expecting to see a download of a program "clean" like I usually do when I run apt-get.
man clean
No manual entry for clean
What is clean? Should I have expected to see any output after running sudo apt-get clean?
Because I did not get any feedback from running / $ sudo apt-get clean. I was expecting to see a download of a program "clean" like I usually do when I run apt-get.
man clean
No manual entry for clean
What is clean? Should I have expected to see any output after running sudo apt-get clean?
If all goes well, sudo apt-get clean does not provide any output. It removes the original deb packages which were downloaded during package installs. These are no longer needed. It is explained in man apt-get. Why were you expecting to see a program downloaded and installed when the apt-get command didn't include the word install? There is no package called "clean", or at least not relevant to this issue, as you have found out, it is a parameter used by apt-get.
OK, I ran the Disk Analyzer again. Looks like apt-get clean reduced it from 26.7 GB to 20.7 GB. Still need to loose more fat but thats a start. Will man apt-get while I am at it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.