how do i free up space on my hard drive

Asked by Bujux

I have a dell mini with the ubuntu os. a few days ago i enabled the auto updates and when it finished there was no free space on c drive. I could not access the apps or places menu so then i tried putting some things in the trash to free up some space and now i cant even open the trash and i keep getting an error message whenever i try to access anything. msg: -Nautilus could not create the required folder "/home/bujux/Desktop". before running nautilus, please create the following folder, or set permissions such that nautilus can creat it.- Now i can't create the folder b/c i have no free space, and i can't access any of the icons in the places menu. and now i did something else "?" and the desktop along with the menu bars are blank. can someone please help?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Rob Frerejean
Solved:
Last query:
Last reply:
Revision history for this message
Rob Frerejean (hffrerejean) said :
#1

sudo apt-get clean

This will clean up your cache.

Revision history for this message
Best Rob Frerejean (hffrerejean) said :
#2

And

sudo apt-get autoremove

This will remove some more.

Revision history for this message
Bujux (bujux305) said :
#3

where would i go to type this?

Revision history for this message
Rob Frerejean (hffrerejean) said :
#4

Open a terminal and type it in there.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Open a Terminal from the menu Applications → Accessories → Terminal and type:

Suggestion: right click with mouse on the terminal title caption and select the item "Always on Top" doing this you will force the terminal window to stay on top of the other windows and you will find very easy to copy single row from this web page into the terminal...

(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

then to update and upgrade and also check pending or missing packages, still using terminal type:

sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Please also type, or better copy and paste from here into terminal the command row below, then press enter:

sudo dpkg -l | grep -i linux-image

(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

and copy the result here.

Thenk you

Revision history for this message
Bujux (bujux305) said :
#7

Thanks Rob Frerejean, that solved my question.

Revision history for this message
Bujux (bujux305) said :
#8

marcobra i would also like to thank you this also helped alot. you folks rock!