Free up rootfs space
Here's a simple howto for those suffering from lack of space in rootfs. The first suggestion is more of a temporary matter, for example to get enough space to install an update, but it's also the fastest and easiest.
The rest are more permanent (and thus more useful), but they require root access.
Contents |
Disable extras-testing and extras-devel and third party repositories
Simply check the disabled box and save in the Application Manager's catalogues menu. wait for app manger to update the lists. Of course this only helps if you actually had these repositories enabled.
Disabling extras-testing and extras-devel will (currently) give you an extra 11.5Mb in rootfs
Use apt cache outside of rootfs
If you run into a problem while using apt-get you can temporarily have the apt cache outside rootfs to be able to download larger deb files.
Create a download folder on the eMMC to be used for the downloaded packages instead of the defalut apt archive folder.
$ mkdir -p /home/user/MyDocs/apt-archive-cache/archives/partial
Now execute apt-get with the -o option:
apt-get -o dir::cache=/home/user/MyDocs/apt-archive-cache dist-upgrade
Optify python
If you have installed python or a python program before python was optified, you can optify it with this method: first open a console, then type the following commands:
sudo gainroot apt-get install pymaemo-optify apt-get clean
When the program is installed, type df -h in the xterm to see if it worked. The output should now contain these lines at the end:
/opt/pymaemo/usr/lib/python2.5 2064208 471712 1487640 24% /usr/lib/python2.5 /opt/pymaemo/usr/share/pyshared 2064208 471712 1487640 24% /usr/share/pyshared /opt/pymaemo/usr/lib/pyshared 2064208 471712 1487640 24% /usr/lib/pyshared /opt/pymaemo/usr/share/python-support 2064208 471712 1487640 24% /usr/share/python-support /opt/pymaemo/usr/lib/python-support 2064208 471712 1487640 24% /usr/lib/python-support
Remove non-optified packages
If you have installed programs from extras-testing, extras-devel or third party repositories, the programs might not be properly optified. Removing these might help with rootfs space.
Process
You can free space by uninstalling applications that you do not need. A problem is if you do not know how these applications are called. To find it out:
- open a console
- start the application that you do not need
- in the console, type
ps -ef
You get a listing of all running processes, including the application you just started. To find out what package an application belongs to, enter
dpkg --search $(which processname)
source:http://talk.maemo.org/showpost.php?p=468063&postcount=1