maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   n900 is dead-failed installing app and cant reboot anymore (https://talk.maemo.org/showthread.php?t=65900)

RobbieThe1st 2010-11-20 07:53

Re: n900 is dead-failed installing app and cant reboot anymore
 
I suspect you may end up needing to reflash. Fortunately, it's not too big of a problem - I've got a link to a video in my signature on a foolproof way of doing it.

uhbhatti88 2010-12-06 07:55

Re: n900 is dead-failed installing app and cant reboot anymore
 
hey. i was installing this very app <Nokia Data Gathering> and the same stuff as described by OP happened to me. Thanks a lot to the guys who posted the helpful notes!

cd0 2010-12-25 18:24

Re: n900 is dead-failed installing app and cant reboot anymore
 
Yes, Nokia Data Gathering did it to me too. The MySQL install script was taking more than 20 minutes and I had enough. I didn't realize it would jam up the boot process if I turned it off. I am irritated that it does since if this were a debian computer, shutting it off during an application installation would not cause it to fail to boot. Of course, if you were installing a kernel or bootloader it might but NOT an application.

I guess I have no choice now, it's been sitting at 3% for quite some time. Anyone know what it is actually doing? Is it trying to complete the aborted installation? Is there no way of telling it to skip it?

cd0 2010-12-25 18:44

Re: n900 is dead-failed installing app and cant reboot anymore
 
VERY IMPORTANT NEWS EVERYONE
YOU DO NOT NEED TO REFLASH

I just hit CTRL+C a couple times and it will kill that script (the one which prints "Installing updates do not interrupt" to the console) and allow the phone to continue booting!! (I also hit 'u' a couple times because thats the bootloader key but I doubt that did anything.)

You don't need a new battery or a flasher or anything, just Ctrl-C.

Once you've rebooted you will need to repair the packaging system state with dpkg from the command line (I haven't done that yet but it should be easy, I've done it several times on a full debian box, and once on the phone.)

cd0 2010-12-25 19:04

Re: n900 is dead-failed installing app and cant reboot anymore
 
(If you are already familiar with debian package administration this post will not be of much use to you.)

You will need to run from the Terminal app:
Code:

sudo gainroot
If you don't have gainroot installed then you are probably in trouble.
Then:
Code:

dpkg --reconfigure -a
This told me that "ndg" is in an inconsistent state and that I must continue installing it in order to remove it.
So run:
Code:

apt-get install ndg
Answer all the inane mysql prompts, it doesn't matter what answers you give we are just going to remove it in a moment:
Code:

apt-get purge ndg mysql-server
There are probably several other dependencies that should be removed but mysql will likely slow down your phone if it is not removed.

ConsultPlus 2010-12-29 09:46

[USE * CONTROL -C * ] Re: n900 is dead-failed installing app and cant reboot anymore
 
Quote:

Originally Posted by cd0 (Post 904165)
VERY IMPORTANT NEWS EVERYONE
YOU DO NOT NEED TO REFLASH

I just hit CTRL+C a couple times and it will kill that script (the one which prints "Installing updates do not interrupt" to the console) and allow the phone to continue booting!! (I also hit 'u' a couple times because thats the bootloader key but I doubt that did anything.)

You don't need a new battery or a flasher or anything, just Ctrl-C.

Once you've rebooted you will need to repair the packaging system state with dpkg from the command line (I haven't done that yet but it should be easy, I've done it several times on a full debian box, and once on the phone.)

:):):):):):):):)

Thanks a LOT !!!

You really made my day - had everyhting in place again for a reflash - untill I saw you message !

It's up again now !! That saved me a lot of hassle & stress.

:):):):):):):):)

The cause probably is Nokia Data Gathering

:mad::mad:


Thanks again !

ConsultPlus 2010-12-29 09:51

Re: n900 is dead-failed installing app and cant reboot anymore
 
Quote:

Originally Posted by cd0 (Post 904171)
Code:

dpkg --reconfigure -a

I get as response:

Code:

dpkg: unknown option --reconfigure
Any ideas what to do next?

michaaa62 2010-12-29 11:24

Re: n900 is dead-failed installing app and cant reboot anymore
 
Try
Code:

dpkg --configure -a

ConsultPlus 2010-12-29 11:30

Re: n900 is dead-failed installing app and cant reboot anymore
 
Thanks for you reply.

I did issue that command.

And followed the instructions to (re)install & then uninstall/remove NDG.

But I get stuck again ;-)

See:

Quote:

/home/user # apt-get install ndg
Reading package lists... 0%
Reading package lists... Done
Building dependency tree
Reading state information... Done
ndg is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up ndg (2.0.1-5) ...
Downloading jboss-4.2.2.GA.zip... This can take a long time depending on your internet connection. cp: cannot stat 'jboss-4.2.2.GA.zip': No such file or directory
Ack! look at the
/tmp/12316.log
dpkg: error processing ndg (--configure):
subprocess post-installation script returned error exit status 1
wget: unrecognized option `--trust-server-names'
Gebruik: wget [OPTIE]... [URL]...

Probeer 'wget --help' voor meer opties.
Errors were encountered while processing:
ndg
E: Sub-process /usr/bin/dpkg returned an error code (1)
/home/user #

michaaa62 2010-12-29 12:09

Re: n900 is dead-failed installing app and cant reboot anymore
 
Try to clear the package cache first
Code:

apt-get clean
Is wget installed at all?
Code:

apt-cache policy wget
Then try to reinstall
Code:

apt-get install --reinstall ndg
At last try to get rid
Code:

apt-get remove --purge ndg mysql-server-5.0


All times are GMT. The time now is 22:00.

vBulletin® Version 3.8.8