Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
fernando@fernando-laptop:~$ apt-get clean
E: Could not open lock file /var/cache/apt/archives/lock - open (13 Permission denied)
E: Unable to lock the download directory
fernando@fernando-laptop:~$ sudo apt-get clean
[sudo] password for fernando:
fernando@fernando-laptop:~$
my debian lenny on router takes around 400M on total 1.8G HDD(it's OLD) and most of this space is also taken by utils i don't use but don't remove(who knows when they may become useful?).
look at /usr directory. see if you don't need some programs, uninstall them with apt. or do it manually(not recommended).
--
upd: i also use ncdu for cleaning purposes(it shows a disk usage). it's actual name is "ncurses disk usage". i like that util.
Last edited by Web31337; 11-22-2009 at 10:17 AM.
Reason: ncdu
You can look in /var/log for the backup logs created by logrotate
You can remove old kernels using synaptic
Don't delete files in /usr, unless you know what you are doing
As suggested by web31377 use ncdu to find large files and directories
You can look in /var/log for the backup logs created by logrotate
When I try to remove some log files (sudo rm), the systems says that the files do not exist, despite the fact that they are displayed on my screen.
Quote:
Originally Posted by repo
You can remove old kernels using synaptic
The system tells me that there is not enough space to create the .synaptic directory and therefore cannot run the program. I've deleted a few files but there still isn't enough space.
Quote:
Originally Posted by repo
As suggested by web31377 use ncdu to find large files and directories
I ran the program but I haven't been able to delete anything. Open Office has had internal errors since I got Ubuntu so I deleted it (700+ MBs), and when I ran ncdu again, it was fully restored.
Once again, I really appreciate your help with this matter! It's nice to more help than frustration
Since you have no seperate /home partition, perhaps you can delete some stuff in your home directory,
or move them to /media/My Passport
In firefox you can delete the cache.
Take a look if your trashfolder is empty.
Do you use beagle or another software to search the drive?
They can create big files.
Quote:
When I try to remove some log files (sudo rm), the systems says that the files do not exist, despite the fact that they are displayed on my screen.
make sure to use the correct name, and if needed the correct path. You can copy/paste in the terminal
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.