maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Noor (Quran app) working on the N900 (https://talk.maemo.org/showthread.php?t=44293)

MohammadAG 2010-04-20 18:20

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by Ali bhai (Post 619778)
how do I uninstall the noor app as well as the translation package? When I go to uninstall the english translation, I get an error reading :"unable to uninstall 'noor english quran translation' "

Then if i try to uninstall the noor application it says: "unable to uninstall 'noor'. some application packages are needed by other applications."

Im not able to update them either, so i was trying to uninstall and reinstall the newer versions.

When you reinstall a version it removes it and installs the new one, but it seems HAM isn't doing what dpkg does.
Try doing the above command (noor has no problems btw, you can keep it).
Be sure to update your repositories (title bar > refresh) before doing this since the old package caused the problem.

MohammadAG 2010-04-20 19:40

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by luckylefty (Post 619785)
Ok I got the noor english translator install but I don't know how to get into the home/user/.noor to change it to the language. The instruction is very vague.

I'm still working on that, easiest method is to install leafpad from the repos and type leafpad /home/user/.noor then change the en to the language you want.

luckylefty 2010-04-20 20:33

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by MohammadAG (Post 619914)
I'm still working on that, easiest method is to install leafpad from the repos and type leafpad /home/user/.noor then change the en to the language you want.

OK I installed leafpad and went into xterminal and type root. then leafpad /home/user/.noor. it pulled up leafpad and the lang = en which is what I want bout when I open noor it still doesnt show the english translation like how you got it on the first page. Guess my question is how do I make it show the English translation?

zaedej 2010-04-20 20:37

Re: Noor (Quran app) working on the N900
 
after dl rootsh i typed it in xterminal and thats the error i get.

~ $ apt-get install noor-yusufali-english
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
~ $

zaedej 2010-04-20 20:51

Re: Noor (Quran app) working on the N900
 
rootsh is not working and not even in app manager. whats going on guys?

MohammadAG 2010-04-20 20:53

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by zaedej (Post 619993)
after dl rootsh i typed it in xterminal and thats the error i get.

~ $ apt-get install noor-yusufali-english
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
~ $

Type root then do the above command, close the app manager before doing them.

Quote:

Originally Posted by luckylefty (Post 619986)
OK I installed leafpad and went into xterminal and type root. then leafpad /home/user/.noor. it pulled up leafpad and the lang = en which is what I want bout when I open noor it still doesnt show the english translation like how you got it on the first page. Guess my question is how do I make it show the English translation?

lang = en is for the UI, if you want English translations download the package in extras-devel.
http://maemo.org/packages/view/noor-yusufali-english

zaedej 2010-04-20 20:58

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by MohammadAG (Post 619386)
Can you please download install rootsh from the repos, then open terminal, type root, and
Code:

dpkg -r noor-yusufali-english
then post what the error says?
Alternatively you can copy it from the Hildon Application Manager log (hit title bar then click Log)

Edit: Actually I think I found the problem, it seems that you installed noor then the translations package without opening noor, so there wasn't a config file to backup. Postinst script is hard coded to backup and create a new config file, and since there isn't one it fails, fixing asap.

Edit 2: FIXED, backup file name changed to allow more translation packages.
Noor updated to 0.6-2
English translation updated to 0.1-3



BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ dpkg -r noor-yusufali-english
dpkg: requested operation requires superuser privilege
~ $ dpkg -r noor-yusufali-english
dpkg: requested operation requires superuser privilege
~ $

this is what i get buddy.

MohammadAG 2010-04-20 20:59

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by zaedej (Post 620042)
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ dpkg -r noor-yusufali-english
dpkg: requested operation requires superuser privilege
~ $ dpkg -r noor-yusufali-english
dpkg: requested operation requires superuser privilege
~ $

this is what i get buddy.

Seriously why aren't you reading my above posts, carefully!
Type root, then enter, then apt-get install noor-yusufali-english

zaedej 2010-04-20 21:27

Re: Noor (Quran app) working on the N900
 
this is what i get. im sorry mohammadag, im new with this.

Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900-02-8:~# dpkg -r noor-yusufali-english
dpkg: error processing noor-yusufali-english (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
noor-yusufali-english
Nokia-N900-02-8:~#

zaedej 2010-04-20 21:34

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by MohammadAG (Post 620047)
Seriously why aren't you reading my above posts, carefully!
Type root, then enter, then apt-get install noor-yusufali-english

i did what u said and this is what i get bro.

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900-02-8:~# apt-get install noor-yusufali-english
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package noor-yusufali-english needs to be reinstalled, but I can't find an archive for it.
Nokia-N900-02-8:~#


All times are GMT. The time now is 21:37.

vBulletin® Version 3.8.8