maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   my Nokia N900 cant install and uninstall application (https://talk.maemo.org/showthread.php?t=59992)

lekan09 2010-08-08 22:29

my Nokia N900 cant install and uninstall application
 
my n900 suddenly stopped installing applications,and i tried uninstalling thereafter,only to receive this message "unable to uninstall, internal error,Application 'app manager' closed".pls what do i do?

bandario 2010-08-08 22:57

Re: my Nokia N900 cant install and uninstall application
 
I'm having similar problems...many pieces of software especially those from OVI store (even paid downloads) report 0kb size and then say installation file corrupted.

Quite annoying...finally going to have to flash the device but I don't own a copy of XP.

I run linux but it is an x64 distribution...not sure if I can use that.

Wikiwide 2010-08-08 23:10

Re: my Nokia N900 cant install and uninstall application
 
Quote:

Originally Posted by bandario (Post 779880)
I run linux but it is an x64 distribution...not sure if I can use that.

Maemo Flasher-3.5 tool does not support any 64-bit operating systems.

If Flasher-3.5 is not supported on your operating system you can try to install Maemo SDK Virtual Image from Maemo Development Environment Downloads page and flash Maemo device from Virtual Image (which includes Ubuntu). This may or may not work for you depending on how well virtualization technology you use supports USB on your HW.
http://tablets-dev.nokia.com/maemo-d...-downloads.php

lekan09 2010-08-08 23:11

Re: my Nokia N900 cant install and uninstall application
 
I cant really install or uninstall any app at the moment and this is giving me a bad headache.wish i knew what to do at this time

lekan09 2010-08-08 23:14

Re: my Nokia N900 cant install and uninstall application
 
anytime i tried to uninstall an app. it reads;

"unable to uninstall app.

internal error

app manager close"

This is completely frustrating.i need someone's help pls

Wikiwide 2010-08-08 23:24

Re: my Nokia N900 cant install and uninstall application
 
Quote:

Originally Posted by lekan09 (Post 779886)
I cant really install or uninstall any app at the moment and this is giving me a bad headache.wish i knew what to do at this time

Quick reply.
Probably some part of memory is corrupted.
You should probably flash the whole device.
BUT: take backups first! Make sure everything you need is copied to PC so that you could restore it later, after flashing.

http://wiki.maemo.org/Flasher

lekan09 2010-08-08 23:50

Re: my Nokia N900 cant install and uninstall application
 
Im pretty sorry about this but i have little knowledge about the flash or take backups.maybe i will have to use the xterminal.pls can you help with the necessary codes?i previously installed about 4 or 5 app and im certain the problem might have occurred as a result of this.incoorpurating the codes in the xterminal,hope i wont lose some default app from my N900.kindly advice...

chaoscreater 2010-08-09 00:06

Re: my Nokia N900 cant install and uninstall application
 
Quote:

Originally Posted by lekan09 (Post 779904)
Im pretty sorry about this but i have little knowledge about the flash or take backups.maybe i will have to use the xterminal.pls can you help with the necessary codes?i previously installed about 4 or 5 app and im certain the problem might have occurred as a result of this.incoorpurating the codes in the xterminal,hope i wont lose some default app from my N900.kindly advice...

someone correct me if i'm wrong, but try this:

Quote:

sudo gainroot
apt-get remove "the name of your app (without the quotation marks)"
apt-get autoremove
and see if that works. The name of your app isn't necessary the actual name of the app, but rather the file name. To find the actual file name of your app, do a search here:

http://repository.maemo.org/extras-t...antle/install/


so for example, the very first app in that list is: 100boxes.install, then the appname would just be "100boxes", without the .install extension.


But i strongly suggest you flash your device, both the image (firmware) and also the eMMC.

I'm sure you can borrow your friend's PC with XP installed, i did that and flashed it very quick, the whole process took me literally 5 minutes :)



Quote:

Originally Posted by Wikiwide (Post 779884)
Maemo Flasher-3.5 tool does not support any 64-bit operating systems.

If Flasher-3.5 is not supported on your operating system you can try to install Maemo SDK Virtual Image from Maemo Development Environment Downloads page and flash Maemo device from Virtual Image (which includes Ubuntu). This may or may not work for you depending on how well virtualization technology you use supports USB on your HW.
http://tablets-dev.nokia.com/maemo-d...-downloads.php


Ya that's what i did before actually.....i'm running Windows 7 x64 and had to install VMWare, and then install XP, and basically run it as a virtual PC and flash my N900. However, i could only flash the firmware, whereas flashing the eMMc doens't work, so the 2nd time i had to borrow my friend's laptop with XP installed on it....

linuxeventually 2010-08-09 00:08

Re: my Nokia N900 cant install and uninstall application
 
The GUI front-end HAM has no idea how to process errors.

I doubt you'll need to re-flash however it would be EASIER.

$ sudo apt-get -f install
That probably won't fix the problem but at least it SHOULD indicate which packages are causing trouble.

If it asks you:
Code:

Remove (y/n)?
just type y and enter.
That should hopefully fix any dependency errors.

Please note: helloworld is nothing more than a sample/example package name and a place-holder for *insert name here*

If it asks you:
Code:

You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?

Then DO NOT type that in, you are nearly guaranteed to bork your install.

If it says:
Code:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential: Depends: helloworld (>= 1.0.0) but it is not going to be installed
E: Broken packages

Then you are in for a world of hurt. You can either re-flash or attempt the following.

<*insert standard THIS IS FOR ADVANCED USERS ONLY - it may brick your device, kidnap your dog, or crash your car...*>
Method 1: Ignore Method
Remove the line listing the dependency in /var/lib/dpkg/status
via http://ubuntuforums.org/showthread.php?t=187293

---------------------------

If you have the error:
Code:

Building dependency tree... Done
E: The package helloworld needs to be reinstalled, but I can't find an archive for it.

Method 1: Built-in script method(never works)
Code:

$ sudo dpkg --remove --force-remove-reinstreq helloworld
Method 2: Remove method (works)
Code:

$ sudo mv /var/lib/dpkg/info/helloworld.* /dev/null/
Post the errors the CLI utilities give and a more precise assessment can be made. This of course assumes that you are experiencing "dependency hell" - if it's something else such as a corrupt Hildon Application Manager, well then that's another issue altogether.

linuxeventually 2010-08-09 00:13

Re: my Nokia N900 cant install and uninstall application
 
@chaoscreater
An easier way IMO to find the name is to:
Code:

$ sudo dpkg -l > /home/user/MyDocs/.documents/installedpkgs
$ leafpad /home/user/MyDocs/.documents/installedpkgs

Then scroll through the document looking for the closest match.
Alternatively you may get lucky with:
Code:

$ sudo apt-cache search keyword

lekan09 2010-08-09 00:53

Re: my Nokia N900 cant install and uninstall application
 
when i type this code in the xterminal;

"sudo gainroot

apt-get remove<filename>"

it reads;

'Unable to lock the administration directory (/var/lib/dpkg/),is another process using it?'

Pls what do i do next?

Wikiwide 2010-08-09 00:57

Re: my Nokia N900 cant install and uninstall application
 
Most probably, you have App Manager open. Close it.

lekan09 2010-08-09 01:08

Re: my Nokia N900 cant install and uninstall application
 
you are a genius,i did close the app manager and i have just removed one application.the last part reads;

"after this operation,119kb disk space will be freed.

Do you want to continue [y/n]?"

so whats the next step?do i remove more app?

chaoscreater 2010-08-09 01:16

Re: my Nokia N900 cant install and uninstall application
 
well, u have to confirm whether u want to remove or not, that's why it prompts u to enter [y/n]

and try what the 3rd line i suggested too, i'll type it again here:

Quote:

apt-get autoremove
this command will auto remove any bad packages or packages missing important contents. I.e, invalid ones.

lekan09 2010-08-09 01:34

Re: my Nokia N900 cant install and uninstall application
 
when i entered 'y' it reads;

"dpkg:parse error,in file /var/lib/dpkg/available' near line 1435 package 'gstranslate':

EOF during value of field 'Maemo-Icon-26' (missing final newline)

E: sub-process /usr/bin/dpkg returned an error code (2)"


and when i entered this third line,

'apt-get autoremove'

it reads;

"reading package lists....Done

Building dependency tree

Reading state information...Done

Building dependency tree

Reding information...Done

0 upgraded, 0 newly installed,

0 to remove and 76 upgraded".


what do i do next pls?

Wikiwide 2010-08-09 02:08

Re: my Nokia N900 cant install and uninstall application
 
Quick reply.
/var/lib/dpkg/available is corrupted. I don't know exact solution, but try:

sudo rm /var/lib/dpkg/available
and
apt-get update

and all is good...
http://ubuntuforums.org/archive/index.php/t-389997.html

RobbieThe1st 2010-08-09 02:13

Re: my Nokia N900 cant install and uninstall application
 
Quote:

Originally Posted by Wikiwide (Post 779884)
Maemo Flasher-3.5 tool does not support any 64-bit operating systems.

If Flasher-3.5 is not supported on your operating system you can try to install Maemo SDK Virtual Image from Maemo Development Environment Downloads page and flash Maemo device from Virtual Image (which includes Ubuntu). This may or may not work for you depending on how well virtualization technology you use supports USB on your HW.
http://tablets-dev.nokia.com/maemo-d...-downloads.php

And I'm going to say that this is part BS.
I run 64-bit Linux(Mint 8 KDE x86_64 on my laptop, Kubuntu 9.10 x86_64 on my desktop, and just moved to Mint 9 KDE x86_64.
uname -a on my laptop shows:
Code:

Linux rb-lt-new 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:27 UTC 2010 x86_64 GNU/Linux
I have flashed my N900 many times successfully from these.

What I did was:
1. Download the flasher3.5.tar.gz
2. Extract it to a temp directory
3. run "chmod +x flasher-3.5" from that directory, so it can be run.
4. Run it.

Now, I'm willing to bet that the reason it works, when it logically shouldn't, is that I have the ia32 libs installed on my machines. While some may consider this "cheating", as it allows you to run 32-bit excecutables by installing the 32-bit libraries the programs need to run, in this case its perfectly valid - It means you can use your 64-bit Linux OS to run this flasher.
Note though that I didn't manually install the ia32 libs on my new desktop, and I flashed successfully with it, so I dunno - They may have been included in the default packages though.


So, in conclusion, it -IS- possible to use your 64-bit Linux system to flash your N900, and easily too - you may have to install a few packages, though.

-Rob

Wikiwide 2010-08-09 03:19

Re: my Nokia N900 cant install and uninstall application
 
Quote:

Originally Posted by RobbieThe1st (Post 779967)
So, in conclusion, it -IS- possible to use your 64-bit Linux system to flash your N900, and easily too - you may have to install a few packages, though.

Added to wiki.
http://wiki.maemo.org/Flasher#Tips_.26_troubleshooting

lekan09 2010-08-09 04:56

Re: my Nokia N900 cant install and uninstall application
 
when i typed this;

"apt-get update"

everthingthing got updated,but when i type this;

"apt-get updrage"

the last line reads;

'E : Unable to fetch some archives, maybe run apt-get update or try with --fix missing?'

whats next pls?

Wikiwide 2010-08-09 05:19

Re: my Nokia N900 cant install and uninstall application
 
Try
apt-get update
and then
apt-get updrage --fix missing

lekan09 2010-08-09 05:38

Re: my Nokia N900 cant install and uninstall application
 
Now i made certain my internet connection is enabled,and i typed this;

'apt-get upgrade'

now its been upgrading for over 5 minutes,i hope everything get normalize eventually.i really appreciate your time.its still on 44% at the moment

RobbieThe1st 2010-08-09 07:49

Re: my Nokia N900 cant install and uninstall application
 
Yea, it should take a while - its downloading and installing a bunch of new app-packages.
Also, that time-calculation is A, rough and B, just of the download time. Installing the programs will take another 5-10 minutes or so.

ai_kingdom 2012-05-01 14:03

Re: my Nokia N900 cant install and uninstall application
 
hi
i had the same problem, i tried to install hildon app manager but in the middle of way i got some dependency error, installation failed and i also lost my default app manager(that is a bad installaiotn:()...
i tried apt-get -f
and the application installer icon disappeared no i dont have an application manager, how can i get my default app manager back??( dont realy want to flash my device yet) i installed fast app manager but I want to know if I can get the default one back??

tnx in advance

sifo 2012-05-01 14:15

Re: my Nokia N900 cant install and uninstall application
 
@ai_kingdom
install faster app manger until your problem get fixed ;)

ai_kingdom 2012-05-01 14:31

Re: my Nokia N900 cant install and uninstall application
 
i did but I wonder if I can get the old one back??

bwt why do i get so many dependency error when i trie to install anything? for example I cant install pyqt or hildon there are just too many dependencies....

sifo 2012-05-01 14:35

Re: my Nokia N900 cant install and uninstall application
 
please give me a clear info about the missing dependencies i mean what are they ? so i can help you ;)

ai_kingdom 2012-05-01 14:56

Re: my Nokia N900 cant install and uninstall application
 
Quote:

Originally Posted by sifo (Post 1200100)
please give me a clear info about the missing dependencies i mean what are they ? so i can help you ;)

i posted it here...

http://talk.maemo.org/showthread.php...22#post1200122

sifo 2012-05-01 15:00

Re: my Nokia N900 cant install and uninstall application
 
then as you saw there it is because of the unmet updates ;)

ai_kingdom 2012-05-01 15:29

Re: my Nokia N900 cant install and uninstall application
 
Quote:

Originally Posted by sifo (Post 1200128)
then as you saw there it is because of the unmet updates ;)

im sorry but i just got my n900 and Im totaly new to this, how should I solve this "unmet updates" ??

sifo 2012-05-01 15:39

Re: my Nokia N900 cant install and uninstall application
 
also as you can see there maybe you should wait for updating that package.
sorry for this question but why you want that application

ai_kingdom 2012-05-01 15:48

Re: my Nokia N900 cant install and uninstall application
 
Never mind I'll figure it out oneway or the other.

Estel 2012-05-01 15:53

Re: my Nokia N900 cant install and uninstall application
 
First of all, if You intend to use fAircrack to illegal purposes - despite developer's (kindly asked) will i nthat matter - we don't want to talk with You ;)

Second, if You got problems at this stage, You should definitely stay away - for now - from things like aircrack-ng. Google for it's website, educate Yourself, and then try again - preferably, on your own router, instead of harassing other's people private networks.

/Estel

ai_kingdom 2012-05-01 16:01

Re: my Nokia N900 cant install and uninstall application
 
Quote:

Originally Posted by Estel (Post 1200169)
First of all, if You intend to use fAircrack to illegal purposes - despite developer's (kindly asked) will i nthat matter - we don't want to talk with You ;)

Second, if You got problems at this stage, You should definitely stay away - for now - from things like aircrack-ng. Google for it's website, educate Yourself, and then try again - preferably, on your own router, instead of harassing other's people private networks.

/Estel

tnx for the tip


All times are GMT. The time now is 20:09.

vBulletin® Version 3.8.8