DebianThis forum is for the discussion of Debian Linux.
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.
Before i upgrade to Debian etch i had 1.2 GB free disk space, but now i only have 300MB
So please tell me what can I delete in order to free more space.
Thank you.
OK-so you have Etch installed? Open the synaptic package manager and click on Status->Installed. That will show you all the packages you have installed, and you can remove them. Be careful, as you are root, it will NOT question you. My advice is taking out games and mail programs. Also, installing XCFE and then uninstalling Gnome will help speed things up and will temporarily fill up space, do not uninstall Gnome first though. Hope this helps!
Thank you very much.
I did not know the aptitude autoclean or aptitude clean.
And now i have more free space than before I install debian etch.
So thank you again.
It doesn't cancel it out, clean removes everything so basically autoclean wouldn't have anything it could remove after clean has been run.. so in the command I posted above autoclean is kinda redundant since all the packages in the cache have already been removed using clean.
It certainly can't hurt anything to run both, but what you certainly will loose by using the clean commands is the ability to roll back an update for a package if an older version of the package is no longer available in the repositories.
apt-get clean removes everything except lock files from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/. Thus, if you need to reinstall a package APT should retrieve it again.
Quote:
apt-get autoclean removes only package files that can no longer be downloaded.
It doesn't cancel it out, clean removes everything so basically autoclean wouldn't have anything it could remove after clean has been run.. so in the command I posted above autoclean is kinda redundant since all the packages in the cache have already been removed using clean.
That's cancelling it out, if you use 'clean', you don't need 'auto-clean', do not use both, is that hard to understand?
Playing semantics game? Pfffst!
That's cancelling it out, if you use 'clean', you don't need 'auto-clean', do not use both, is that hard to understand?
Playing semantics game? Pfffst!
Yes I am totally missing the reason NOT to use either freely or both if I really enjoy typing extra commands that won't do anything. If I use clean EVERYTHING is already gone.. so what HARM is cause by running autoclean ? None as far as I can see. Please enlighten me because the docs don't mention any problem or conflicts this would cause. either way you are removing packages from the local cache, it's just to what extent depending on whether you use clean or autoclean.
I think the docs were pretty clear as I restated above the autoclean in my original post was redundant but in no way harmful. I mean how can telling it to remove something, if it exists, be harmful if theres nothing left in the cache to remove in the first place ? What is it canceling ?
So what is your reason for stating "Don't use both no matter what ?" I'm not understanding why you are being so adamant on that point, Please elaborate.
I'm not opposed to learning new information, but so far all you have stated is your opinion to "not use both" like it would be harmful in some way, with no explanation to back it up. What am I missing ?
After reviewing the docs the two quotes in my last post are pretty clear and self explanatory. I already stated the autoclean was redundant..
Nobody said it's harmful, if you like typing unneeded commands that do nothing, it's up to you. As you already stated using both clean and auto-clean is redundant. To each its own.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.