maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Borked Again - Freed Up Rootfs Space - Now N900 in Foreign Language - Help Please! (https://talk.maemo.org/showthread.php?t=52443)

ArchiMark 2010-05-12 02:04

Borked Again - Freed Up Rootfs Space - Now N900 in Foreign Language - Help Please!
 
Well....managed to do it again...although different problem now...hopefully, someone can please advise....If I should start new thread, please let me know...

In order to free up some rootfs space, to try and avoid having App Mgr problems again, I followed all the suggestions in the Wiki article 'Free Up Rootfs Space'...

This includes the one about deleting a bunch of files:

Quote:

List of big and rarely used files
You can't just delete these files, this is just a list with ideas! You have to know what you are going to do with them (optify, backup+remove, etc.).

/usr/lib/locale/locale-archive (28 MB)
/usr/share/locale (10 MB, but you have to keep at least the one language you use)
/usr/share/themes/alpha and /beta (they use 5-6 MB each, keep the one you use)
/usr/share/fonts/arabic and /chinese (2,5 MB less for people who don't speak those two languages)

I did all the above, but as instructed, I kept a few of the English related language locales in "/usr/share/locale" such as 'en_US', 'en_UK', etc..

A few minutes ago, I rebooted my N900 and VOILA! now my N900 is showing icon labels, system messages, etc, in another language, not even sure which one, but it isn't English, that I'm sure!

Anyway, went to the Settings app in the System directory, opened it and clicked on the 'cpal_ti_language_and _regio....' item and it opens for a second, and then poof it disappears, then I see the message:

Quote:


memr_ni_application_closed_no_resources
Obviously, I must have deleted at least one item too many....

:rolleyes:

So, my question is whether there's anyway to fix this or do I need to reflash???

I know that in Debian I would try doing in Terminal

Code:


# dpkg-reconfigure locales

Anything similar to do in Terminal in maemo??

Thanks for any and all advice!!

santiago 2010-05-12 02:12

Re: Borked Again - Freed Up Rootfs Space - Now N900 in Foreign Language - Help Please!
 
Quote:

Originally Posted by ArchiMark (Post 654384)
Well....managed to do it again...although different problem now...hopefully, someone can please advise....If I should start new thread, please let me know...

In order to free up some rootfs space, to try and avoid having App Mgr problems again, I followed all the suggestions in the Wiki article 'Free Up Rootfs Space'...

This includes the one about deleting a bunch of files:



I did all the above, but as instructed, I kept a few of the English related language locales in "/usr/share/locale" such as 'en_US', 'en_UK', etc..





A few minutes ago, I rebooted my N900 and VOILA! now my N900 is showing icon labels, system messages, etc, in another language, not even sure which one, but it isn't English, that I'm sure!

Anyway, went to the Settings app in the System directory, opened it and clicked on the 'cpal_ti_language_and _regio....' item and it opens for a second, and then poof it disappears, then I see the message:



Obviously, I must have deleted at least one item too many....

:rolleyes:

So, my question is whether there's anyway to fix this or do I need to reflash???

I know that in Debian I would try doing in Terminal

Code:


# dpkg-reconfigure locales

Anything similar to do in Terminal in maemo??

Thanks for any and all advice!!


take off the battery and the sim, insert new sim and reconfigure it on the startup wizard, then put back the first sim again... good luck

ArchiMark 2010-05-12 02:36

Re: Borked Again - Freed Up Rootfs Space - Now N900 in Foreign Language - Help Please!
 
Quote:

Originally Posted by santiago (Post 654391)
take off the battery and the sim, insert new sim and reconfigure it on the startup wizard, then put back the first sim again... good luck

Ummm....I don't have sim card in N900, don't use it as a phone, just use WiFi...

However, just tried what you suggested, removed battery for a minute, put it back and booted up again, but no startup wizard came up????

Do you need to do something else to get startup wizard to open up???

Thanks!

michaaa62 2010-05-12 08:54

Re: Borked Again - Freed Up Rootfs Space - Now N900 in Foreign Language - Help Please!
 
did you try to reinstall locales?
Code:

apt-get install --reinstall locales

ArchiMark 2010-05-12 13:38

Re: Borked Again - Freed Up Rootfs Space - Now N900 in Foreign Language - Help Please!
 
Quote:

Originally Posted by michaaa62 (Post 654800)
did you try to reinstall locales?
Code:

apt-get install --reinstall locales

Thanks, michaaa62.....

Just tried that....while the locales install worked, the Settings>Language and Regional... just crashed like before when I clicked on it.....

I did reboot after installing locales.....

:(

AlMehdi 2010-05-12 13:54

Re: Borked Again - Freed Up Rootfs Space - Now N900 in Foreign Language - Help Please!
 
try

dpkg --configure -a

ArchiMark 2010-05-12 14:47

Re: Borked Again - Freed Up Rootfs Space - Now N900 in Foreign Language - Help Please!
 
Quote:

Originally Posted by AlMehdi (Post 655209)
try

dpkg --configure -a

Thanks, AlMehdi.....

Just tried that.... entered command and then after a minute, got prompt at new line...didn't ask me to choose a language, etc...

Then rebooted, then tried Settings>Language and Regional... just crashed like before when I clicked on it.....

Anything else to try or is it reflash time???

Thanks!.

lemmyslender 2010-05-12 16:24

Re: Borked Again - Freed Up Rootfs Space - Now N900 in Foreign Language - Help Please!
 
Probably time to reflash. I did the same thing.

In my case I moved locale-archive to /opt, then messed up the symlink (and overwrote locale-archive). Got all the unlocalized names for everything. Fortunately, I had a backup copy of /opt at home. Put up with it for the day, then copied locale-archive back to /opt and did the symlink correctly. Rebooted, all was good again.

Hope that helps you.

ArchiMark 2010-05-12 16:31

Re: Borked Again - Freed Up Rootfs Space - Now N900 in Foreign Language - Help Please!
 
Quote:

Originally Posted by lemmyslender (Post 655380)
Probably time to reflash. I did the same thing.

In my case I moved locale-archive to /opt, then messed up the symlink (and overwrote locale-archive). Got all the unlocalized names for everything. Fortunately, I had a backup copy of /opt at home. Put up with it for the day, then copied locale-archive back to /opt and did the symlink correctly. Rebooted, all was good again.

Hope that helps you.

Thanks, lemmyslender....think you're right, it's time to reflash and know that I have a fresh, proper base to work from....

:)

jaywink 2010-05-16 17:19

Re: Borked Again - Freed Up Rootfs Space - Now N900 in Foreign Language - Help Please!
 
I did exactly the same thing. I think that free rootfs page needs a little warning on not to maybe delete the locale-archive file :)

Managed to get the texts and language settings menu back to normal by copying the locale-archive file to my N900 from a scratchbox running on my Ubuntu. It was PR1.0 I think so not sure if it will cause problems..

Some UI lag after all the optimizations to free rootfs space. Did manage to free 50 megs which is nice but if this lag continues I guess it's reflash time afterall :)


All times are GMT. The time now is 15:18.

vBulletin® Version 3.8.8