The Following 74 Users Say Thank You to mece For This Useful Post: | ||
adrianp, arvind, bakuur, blwthompson, borghal, Bratag, cddiede, cduv, Dark_Angel85, DaveQB, Digicom, Djoen, ezcola, fatalsaint, Flandry, funkmunk, gabby131, gttnnn, haja, Helmuth, Hirudin, iKneaDough, jessi3k3, Joseph9560, joshv06, juxxxer, khg, kjmackey, klinglerware, Kwincy, maemo.it, makel, maluka, Mandibela, Mandor, marmota, mbo, mivoligo, mklass, msa, ndi, neven, noobmonkey, nymajoak, olighak, Olvi, ossipena, oz87, pillar, qwerty12, Rauha, real_per, rewt, Rob1n, Rocketman, Russjones, seanmcken, sgbirch, sitemap, smegheadz, soleil, spanner, stryker9, tarek, texaslabrat, TNiga, torpedo48, uris, Venty, VRe, waleed786, ymb |
|
2010-01-13
, 11:16
|
|
Posts: 1,111 |
Thanked: 1,985 times |
Joined on Aug 2009
@ Åbo, Finland
|
#2
|
|
2010-01-13
, 11:20
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#3
|
|
2010-01-13
, 11:21
|
|
Posts: 3,159 |
Thanked: 2,023 times |
Joined on Feb 2008
@ Finland
|
#4
|
|
2010-01-13
, 11:26
|
|
Posts: 1,111 |
Thanked: 1,985 times |
Joined on Aug 2009
@ Åbo, Finland
|
#5
|
I'd love to see a proper port of localepurge... I'm currently using the version hacked to use pcregrep, instead. Localepurge frees up a nice 15 MBs' worth of locales that I will never use. (And it continues to free up space by purging locales after a program is installed.)
But the problem with the currently available, it assumes the user is using en_GB and, by default, only chooses to keep: en, en_GB and en_US locales.
|
2010-01-13
, 11:30
|
|
Posts: 1,111 |
Thanked: 1,985 times |
Joined on Aug 2009
@ Åbo, Finland
|
#6
|
http://wiki.maemo.org/Free_up_rootfs_space
"a bit" rough but there it is
|
2010-01-13
, 11:30
|
|
Posts: 1,559 |
Thanked: 1,786 times |
Joined on Oct 2009
@ Boston
|
#7
|
|
2010-01-13
, 11:43
|
Posts: 287 |
Thanked: 165 times |
Joined on Oct 2009
@ The Netherlands
|
#8
|
|
2010-01-13
, 11:58
|
|
Posts: 516 |
Thanked: 643 times |
Joined on Oct 2009
@ Denmark/Poland
|
#9
|
|
2010-01-13
, 13:08
|
Posts: 150 |
Thanked: 93 times |
Joined on Oct 2009
@ Pennsylvania, US
|
#10
|
getpkg () { dpkg -l $1 | grep -E "^i" | sed -r "s/^.. *//g;s/ +.*$//g"; } getdepends () { apt-cache depends $1 | grep "Depends:" | sed -r "s/(.*: |<|>)//g"; } fremantlepkg=$(getpkg mp-fremantle-\*-pr | head -1) if [ "$fremantlepkg" == "" ]; then echo Missing mp-fremantle-\*-pr package, aborting else sysdeps="x $fremantlepkg $(getdepends $fremantlepkg) x"; pypaths=""; if [ -e /opt/pymaemo ]; then pypaths="|/usr/lib/python2.5/|/usr/share/pyshared/|/usr/lib/pyshared/|/usr/share/python-support/|/usr/lib/python-support/"; fi for x in $(getpkg); do dpkg -L $x | grep -E "^(/opt/$pypaths)" > /dev/null || echo $sysdeps | grep " $x " > /dev/null || echo $x not optified done; fi
The Following 12 Users Say Thank You to rewt For This Useful Post: | ||
alexreed88, crenquis, dadoabdallah, ezcola, hqh, maemo.it, oz87, shiny, slender, tpaixao, Tstone, weymouthstan |
The first one is more of a temporary matter, for example to get enough space to install an update, but it's also the fastest and easiest.
1. 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
2. Reinstall python
This one is a bit more work, but gives you around 20Mb.
If you installed a python application (for example FM Radio, Quicknote, Witter) before python was optified, you need to reinstall python. This will uninstall your python applications, so you will need to reinstall them after you're done. For this you need rootsh which is in extras.
check that app manger is not running
open xterm
type the following commands:
sudo gainroot
apt-get remove python
This will prompt if you really want to do it and give a list of things that will be removed. It's good to check the list so you know which applications are going to be uninstalled.
then these commands:
apt-get remove python2.5
apt-get remove python-osso
apt-get autoremove
apt-get clean
I think I manually installed python-osso on my device, so that one might just say that it's not installed.
After that is done open application manager and reinstall the python applications. The new optified version of python will be automatically installed with them. Try with FM Radio for example.
Do this instead (Thanks @rewt):
The output should now contain these lines at the end:
3. Moving apt cache to home.
This is a more risky fix that could lead to some problems. However it works for me.
This fix is required to be able to install large programs with apt.
in xterm type these commands:
There's a wiki page with this information too:
http://wiki.maemo.org/Free_up_rootfs_space
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One
Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.
Last edited by mece; 2010-01-14 at 12:52.