[maemo-users] help - attempted N770 python upgrade -- system keeps rebooting
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 - so then I tried to install what I though might be missing... - Nokia770-26:/media/mmc1# apt-get install python2.5-runtime Reading package lists... Done Building dependency tree... Done 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: python2.5-runtime: Depends: python2.5-hildon (= 0.8.7-1osso1) but it is not going to be installed E: Broken packages Nokia770-26:/media/mmc1# apt-get install python2.5-hildon Reading package lists... Done Building dependency tree... Done 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: python2.5-hildon: Depends: hildon-fm1 (= 0.29-1) but 0.28-2 is to be installed Depends: hildon-libs0 (= 0.12.22-1) but 0.12.20-1 is to be installed -- I then tried to install hildon-libs0, being one of the dependencies - but I used upgrade, not install - Nokia770-26:/media/mmc1# apt-get upgrade hildon-libs0 Reading package lists... Done Building dependency tree... Done The following packages will be upgraded: certs clinkc0 gcc-3.4-base gst-plugins-farsight lessertunjo0 libcst libgalago1 libgcc1 libjinglebase0 libjinglep2p0 libstdc++6 libtelepathy maemo-launcher maemo-recorder osso-sounds-ui 15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 2422kB of archives. After unpacking 1109kB of additional disk space will be used. Do you want to continue [Y/n]? WARNING: The following packages cannot be authenticated! libgcc1 gcc-3.4-base libstdc++6 libcst certs clinkc0 libjinglebase0 libjinglep2p0 gst-plugins-farsight lessertunjo0 libgalago1 libtelepathy maemo-launcher maemo-recorder osso-sounds-ui Install these packages without verification [y/N]? y Get:1 http://repository.maemo.org mistral/non-free libgcc1 1:3.4.4cs2005q3.2-5.osso2 [27.0kB] Get:2 http://repository.maemo.org mistral/non-free gcc-3.4-base 3.4.4cs2005q3.2-5.osso2 [106kB] Get:3 http://repository.maemo.org mistral/non-free libstdc++6 3.4.4cs2005q3.2-5.osso2 [244kB] Get:4 http://repository.maemo.org mistral/free libcst 1.6.34maemo1 [36.7kB] Get:5 http://repository.maemo.org mistral/free certs 1.5.4maemo1 [62.5kB] Get:6 http://repository.maemo.org mistral/non-free clinkc0 1.0-27.1 [56.1kB] Get:7 http://repository.maemo.org mistral/free libjinglebase0 0.3.0-0osso1.2maemo1 [107kB] Get:8 http://repository.maemo.org mistral/free libjinglep2p0 0.3.0-0osso1.2maemo1 [186kB] Get:9 http://repository.maemo.org mistral/free gst-plugins-farsight 0.10.1-0osso2maemo2 [56.5kB] Get:10 http://repository.maemo.org mistral/free lessertunjo0 0.1.2-3maemo1 [13.0kB] Get:11 http://repository.maemo.org mistral/non-free libgalago1 0.5.0-0osso3maemo1 [100kB] Get:12 http://repository.maemo.org mistral/free libtelepathy 0.0.14-0osso1maemo1 [20.8kB] Get:13 http://repository.maemo.org mistral/free maemo-launcher 0.17-1.1sdk1 [42.9kB] Get:14 http://repository.maemo.org mistral/free maemo-recorder 0.0.19 [76.4kB] Get:15 http://repository.maemo.org mistral/non-free osso-sounds-ui 1.2-4sdk1 [1287kB] Fetched 2422kB in 32s (75.1kB/s) /bin/sh: /usr/sbin/dpkg-preconfigure: not found (Reading database ... 11882 files and directories currently installed.) Preparing to replace libgcc1 1:3.4.4cs2005q3.2-4 (using .../libgcc1_1%3a3.4.4cs2005q3.2-5.osso2_armel.deb) ... Unpacking replacement libgcc1 ... Setting up libgcc1 (3.4.4cs2005q3.2-5.osso2) ... (Reading database ... 11882 files and directories currently installed.) Preparing to replace gcc-3.4-base 3.4.4cs2005q3.2-4 (using .../gcc-3.4-base_3.4.4cs2005q3.2-5.osso2_armel.deb) ... Unpacking replacement gcc-3.4-base ... Preparing to replace libstdc++6 3.4.4cs2005q3.2-4 (using .../libstdc++6_3.4.4cs2005q3.2-5.osso2_armel.deb) ... Unpacking replacement
Re: [maemo-users] help - attempted N770 python upgrade -- system keeps rebooting
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
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
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
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
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
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