maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Clean rootfs (https://talk.maemo.org/showthread.php?t=38893)

SiO2 2009-12-31 12:46

Clean rootfs
 
Guys, I don't know whether this information deserves a new topic but yesterday I've found a way to clean the N900 rootfs that worked fine on my device. Please handle this information with care, since I've read about people running ubuntu or debian who got the system erased by this command.
I've typed this (as root):

apt-get autoremove

my free rootfs increased by 8% but before I recommend to try this:

apt-get --simulate autoremove

this command simulates the autoremove action so, you can check the output in order to be sure that only useless packages will be removed.

Try also: apt-get moo

This won't help you in rootfs cleaning but is absolutely safe! ;-)

sixracer 2011-03-07 20:58

Re: Clean rootfs
 
I accidentally extracted NITDroid to my root directory (for got a cd /And). Is this a good way to clean out the excess files?

jimmybonsaville 2011-05-11 19:14

Re: Clean rootfs
 
Quote:

Originally Posted by sixracer (Post 962715)
I accidentally extracted NITDroid to my root directory (for got a cd /And). Is this a good way to clean out the excess files?

ive done the exact same thing grrrrr lol

prankster 2011-07-07 11:04

Re: Clean rootfs
 
how to remove useless config.files ? the packages i have already uninstalled through HAM ,but still i can see some of their files in Filebox..
how to get rid of all of them ?
how to do this safely ?

jedi 2011-07-07 11:06

Re: Clean rootfs
 
Quote:

Originally Posted by prankster (Post 1046321)
how to remove useless config.files ? the packages i have already uninstalled through HAM ,but still i can see some of their files in Filebox..
how to get rid of all of them ?
how to do this safely ?

Try something like:
Code:

apt-get purge <appname>

prankster 2011-07-07 11:19

Re: Clean rootfs
 
it says ..
''E:package couldnt find, <app> not installed so not removed ''
nothing happened i guess,still files can be seen in filebox,rootfs hasnt freed too.

jedi 2011-07-07 11:34

Re: Clean rootfs
 
Quote:

Originally Posted by prankster (Post 1046333)
it says ..
''E:package couldnt find, <app> not installed so not removed ''
nothing happened i guess,still files can be seen in filebox,rootfs hasnt freed too.

Yes, use purge for installed apps...

prankster 2011-07-07 15:49

Re: Clean rootfs
 
thanks but what about those config.files appearing in the filebox,i already have uninstalled those apps through HAM..so any solution for that buddy ?

khuong 2011-07-07 15:59

Re: Clean rootfs
 
Quote:

Originally Posted by prankster (Post 1046457)
thanks but what about those config.files appearing in the filebox,i already have uninstalled those apps through HAM..so any solution for that buddy ?

dpkg -l | grep ^rc (this command will show you a list of apps configuration files still left in the system from uninstalled app)
dpkg --purge <appname> (This will remove it)

forsagar 2011-08-23 14:50

Re: Clean rootfs
 
Quote:

Originally Posted by jimmybonsaville (Post 1004380)
ive done the exact same thing grrrrr lol

so what you both did to solve this because I also did this but now can't solve this problem


All times are GMT. The time now is 22:45.

vBulletin® Version 3.8.8