Re: [maemo-users] help - attempted N770 python upgrade -- system keeps rebooting

2007-02-12 Thread Luciano M. Wolf

Hi Jeff,

I think the best thing to do is to flash again your device. Then
install python2.5-runtime package, that will install all modules
necessary to run python2.5 properly. Just pay attention to include the
correct repositories (repository.maemo.org/extras and
repository.maemo.org).

Regards,
Luciano
-INdT-

On 2/12/07, Jeff G [EMAIL PROTECTED] wrote:

I probably did something really stupid, but don't know how to recover.
This was all done from an ssh window to the device.

I wanted to upgrade to python 2.5, and did an apt-get install of
python 2.5, but then, when trying to run a simple app, I got
-
  File nw.py, line 2, in module
import gtk
ImportError: No module named gtk
-



SNIP


Unpacking replacement maemo-recorder ...
-

Now, it keeps rebooting about one 30 seconds after the last reboot


___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] help - attempted N770 python upgrade -- system keeps rebooting

2007-02-12 Thread Marius Gedminas
On Mon, Feb 12, 2007 at 02:50:04PM -0500, Jeff G wrote:
 I probably did something really stupid, but don't know how to recover.

What you did is not stupid, but it is a common mistake: sudo apt-get
upgrade that tried to upgrade an important system package
(maemo-launcher).

 Nokia770-26:/media/mmc1# apt-get upgrade hildon-libs0
...
 Preparing to replace maemo-launcher 0.17-1.1 (using
 .../maemo-launcher_0.17-1.1sdk1_armel.deb) ...
 Stopping Maemo Launcher: maemo-launcher.

There is a process called the lifeguard.  When a critical system process
dies, it reboots the device.  Apt-get upgrade stopped maemo-launcher,
and shortly after that, the lifeguard rebooted the device.

 Unpacking replacement maemo-launcher ...
 Preparing to replace maemo-recorder 0.0.18 (using
 .../maemo-recorder_0.0.19_armel.deb) ...
 Unpacking replacement maemo-recorder ...
 -
 
 Now, it keeps rebooting about one 30 seconds after the last reboot

Unfortunately, your new maemo-launcher is not yet fully configured and
cannot start, so the device cannot boot, and restarts.

There are two ways to fix this situation:

  1. Reflash the OS, restore data from backups, reinstall applications
 (and take care not to upgrade maemo-launcher again).

  2. Enable RD mode and disable lifeguard reset (with the flasher app),
 boot, ssh into it and finish the interrupted upgrade.  Disable RD
 mode and see if it works.  If it doesn't, use alternative 1.

In my humble opinion, maemo-launcher's preinst/postinst scripts should
never stop it.  That's what, for example, gdm scripts do on desktop
Linux systems: if they find a running X server, the scripts do not
restart gdm.

HTH,
Marius Gedminas
-- 
if (DefRel.empty() == false)
-- apt-pkg/policy.cc (apt 0.5.23)


signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] help - attempted N770 python upgrade -- system keeps rebooting

2007-02-12 Thread Jeff G

On 2/12/07, Marius Gedminas [EMAIL PROTECTED] wrote:

On Mon, Feb 12, 2007 at 02:50:04PM -0500, Jeff G wrote:
 I probably did something really stupid, but don't know how to recover.

What you did is not stupid, but it is a common mistake: sudo apt-get
upgrade that tried to upgrade an important system package
(maemo-launcher).

 Nokia770-26:/media/mmc1# apt-get upgrade hildon-libs0
...
 Preparing to replace maemo-launcher 0.17-1.1 (using
 .../maemo-launcher_0.17-1.1sdk1_armel.deb) ...
 Stopping Maemo Launcher: maemo-launcher.

There is a process called the lifeguard.  When a critical system process
dies, it reboots the device.  Apt-get upgrade stopped maemo-launcher,
and shortly after that, the lifeguard rebooted the device.

 Unpacking replacement maemo-launcher ...
 Preparing to replace maemo-recorder 0.0.18 (using
 .../maemo-recorder_0.0.19_armel.deb) ...
 Unpacking replacement maemo-recorder ...
 -

 Now, it keeps rebooting about one 30 seconds after the last reboot

Unfortunately, your new maemo-launcher is not yet fully configured and
cannot start, so the device cannot boot, and restarts.

There are two ways to fix this situation:

  1. Reflash the OS, restore data from backups, reinstall applications
 (and take care not to upgrade maemo-launcher again).

  2. Enable RD mode and disable lifeguard reset (with the flasher app),
 boot, ssh into it and finish the interrupted upgrade.  Disable RD
 mode and see if it works.  If it doesn't, use alternative 1.

In my humble opinion, maemo-launcher's preinst/postinst scripts should
never stop it.  That's what, for example, gdm scripts do on desktop
Linux systems: if they find a running X server, the scripts do not
restart gdm.

HTH,
Marius Gedminas
--
if (DefRel.empty() == false)
-- apt-pkg/policy.cc (apt 0.5.23)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFF0M4qkVdEXeem148RAuabAJ9waKwNHdQpoPn712akII/JtFfJsACffKFx
O173JlDJfSb0/D/zMIMAm7U=
=zYNw
-END PGP SIGNATURE-

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users




I wish I had seen this a few minutes earlier.   I just reflashed
Well, I learned a few more things today  :-)
1. how to reflash
2. make sure to backup !  (I always KNEW it but didn't DO it)
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] help - attempted N770 python upgrade -- system keeps rebooting

2007-02-12 Thread Frantisek Dufka

Jeff G wrote:

2. make sure to backup !  (I always KNEW it but didn't DO it)


Best backup is dual boot from mmc. IMHO this is a must before doing any 
experiments with the device. Install new firmware, do the basic setup 
and then clone system to mmc before experimenting.


http://maemo.org/maemowiki/HowTo_EASILY_Boot_From_MMC_card
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] help - attempted N770 python upgrade -- system keeps rebooting

2007-02-12 Thread Acadia Secure Networks

Frantisek,

has this procedure been verified to work on the N800 as well? If so then 
the text header in the Wiki entry should probably be corrected to 
include the N800 as well.



Best Regards,



John Holmblad



Acadia Secure Networks

GSEC Gold, GCWN Gold, GGSC-0100, NSA-IAM, NSA-IEM
serving the digital home, entrepreneurial enterprise, and emerging 
carrier markets




(M) 703 407 2278

(F)  703 620 5388

primary email address:  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

backup email address:  [EMAIL PROTECTED]





[EMAIL PROTECTED] wrote:

Jeff G wrote:

2. make sure to backup !  (I always KNEW it but didn't DO it)


Best backup is dual boot from mmc. IMHO this is a must before doing 
any experiments with the device. Install new firmware, do the basic 
setup and then clone system to mmc before experimenting.


http://maemo.org/maemowiki/HowTo_EASILY_Boot_From_MMC_card
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] help - attempted N770 python upgrade -- system keeps rebooting

2007-02-12 Thread Frantisek Dufka

Acadia Secure Networks wrote:

Frantisek,

has this procedure been verified to work on the N800 as well?


Not by me but some people reported success. There is only some problem 
with keys not working in menu sometimes. Workaround is to not to touch 
keys early on boot.


If so then 
the text header in the Wiki entry should probably be corrected to 
include the N800 as well.


Fixed.

Frantisek
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users