maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Upgrading (https://talk.maemo.org/forumdisplay.php?f=8)
-   -   SSU - 5.2008.43-7 shows 'broken' status after install (https://talk.maemo.org/showthread.php?t=25676)

brokenmind 2008-12-19 11:06

SSU - 5.2008.43-7 shows 'broken' status after install
 
on my n810 I've tried updating with the new featured version 5.2008.43-7 and everything seems to run smooth; however, after rebooting the 'OS2008 Feature upgrade' is shown in both the 'installed applications' and 'check for updates' section (application manager) :(

The details tab gives me this:

Status : Broken but updateable
Category: system
Installed version: 1:5.2008.43-7
Available version: 1:5.2008.43-7
Download size: 0kb

doing a reinstall gives me an 'unable to update' error. I also tried an 'apt-get -f install' from x-term. still failing with the following error taken from the log:

# -------------------------
Upgrading osso-software-version-rx44 1:5.2008.43-7 to 1:5.2008.43-7
Setting up mce (1.7.23) ...
Starting Mode Controller Entity: mceinvoke-rc.d: initscript mce, action "start" failed.
dpkg: error processing mce (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of osso-software-version-rx44:
osso-software-version-rx44 depends on mce (= 1.7.23); however:
Package mce is not configured yet.
dpkg: error processing osso-software-version-rx44 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mce
osso-software-version-rx44
E: Sub-process /usr/bin/dpkg returned an error code (1)
# -------------------------

I even followed the suggestions made in this tread but with no success; is there anything that will prevent me from reflashing? please give me some advice...

arquitecto 2008-12-19 12:43

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
Same problem here.

bunanson 2008-12-19 12:48

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
http://www.internettablettalk.com/fo...806#post250806

bun

brokenmind 2008-12-19 13:19

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
thanks bun, I appreciate your help but actually what questions me is how to fix this issue (or even try to understand what went wrong) and recover my nit without reflashing; I'd really like to take advantage of the 'seamless update' :) ...if there's no easy solution I'll definitely follow your guide;

qgil 2008-12-19 23:18

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
please file a bug in http://bugs.maemo.org with all this info

Ropesend 2008-12-20 03:48

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
http://www.internettablettalk.com/fo...&highlight=apt

sudo gainroot
touch /var/lib/dpkg/available

then:
apt-get update
or:
apt-get -f install

brokenmind 2008-12-20 12:53

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
thanks again for all your help; unfortunately the steps mentioned earlier by Ropesend didn't work out successfully. as a result I followed the suggestion from qgil and created a new bug report @ https://bugs.maemo.org/show_bug.cgi?id=3943.

so let's wait if anything can be done; in the meantime still hoping for some smart ideas helping me to come over this issue... ;)

yerga 2008-12-20 13:00

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
Quote:

Originally Posted by brokenmind (Post 251121)
thanks again for all your help; unfortunately the steps mentioned earlier by Ropesend didn't work out successfully. as a result I followed the suggestion from qgil and created a new bug report @ https://bugs.maemo.org/show_bug.cgi?id=3943.

so let's wait if anything can be done; in the meantime still hoping for some smart ideas helping me to come over this issue... ;)

What was the error with ropesend's instructions?

Could you try this?
1) get root
2) as root run "/etc/init.d/mce restart" and if it doesn't show any error:
3) dpkg --configure -a

brokenmind 2008-12-20 15:36

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
I'm sorry for not giving enough information, so here's the detailed output from my recent attempts...

Quote:

Originally Posted by yerga (Post 251123)
What was the error with ropesend's instructions?

1) 'touch /var/lib/dpkg/available' -> success :p
2) 'apt-get update' -> shows this:
('apt-get -f install' -> see 1st post)

Code:

Ign http://repository.maemo.org Diablo Release.gpg
Get: 1 http://catalogue.tableteer.nokia.com diablo Release.gpg [189B]
Ign http://repository.maemo.org Diablo/Chinook Translation-en_GB
Ign http://catalogue.tableteer.nokia.com diablo/user Translation-en_GB
Ign http://repository.maemo.org Diablo/free Translation-en_GB
Ign http://catalogue.tableteer.nokia.com diablo Release.gpg
Ign http://repository.maemo.org Diablo/non-free Translation-en_GB
Ign http://catalogue.tableteer.nokia.com diablo/user Translation-en_GB
Ign http://repository.maemo.org diablo Release.gpg
Get: 2 http://catalogue.tableteer.nokia.com ./ Release.gpg [189B]
Ign http://catalogue.tableteer.nokia.com ./ Translation-en_GB
Ign http://repository.maemo.org diablo/free Translation-en_GB
Hit http://catalogue.tableteer.nokia.com diablo Release
Ign http://repository.maemo.org diablo/non-free Translation-en_GB
Ign http://repository.maemo.org chinook Release.gpg
Hit http://catalogue.tableteer.nokia.com diablo Release
Hit http://catalogue.tableteer.nokia.com ./ Release
Ign http://repository.maemo.org chinook/free Translation-en_GB
Ign http://catalogue.tableteer.nokia.com diablo/user Packages/DiffIndex
Ign http://repository.maemo.org chinook/non-free Translation-en_GB
Ign http://catalogue.tableteer.nokia.com diablo/user Packages/DiffIndex
Ign http://repository.maemo.org Diablo Release
Hit http://repository.maemo.org diablo Release
Ign http://catalogue.tableteer.nokia.com ./ Packages/DiffIndex
Hit http://repository.maemo.org chinook Release
Hit http://catalogue.tableteer.nokia.com diablo/user Packages
Err http://repository.maemo.org Diablo/Chinook Packages
  404 Not Found [IP: 193.80.200.134 80]
Hit http://catalogue.tableteer.nokia.com diablo/user Packages
Hit http://catalogue.tableteer.nokia.com ./ Packages
Err http://repository.maemo.org Diablo/free Packages
  404 Not Found [IP: 193.80.200.134 80]
Err http://repository.maemo.org Diablo/non-free Packages
  404 Not Found [IP: 193.80.200.134 80]
Ign http://repository.maemo.org diablo/free Packages/DiffIndex
Ign http://repository.maemo.org diablo/non-free Packages/DiffIndex
Ign http://repository.maemo.org chinook/free Packages/DiffIndex
Ign http://repository.maemo.org chinook/non-free Packages/DiffIndex
Hit http://repository.maemo.org diablo/free Packages
Hit http://repository.maemo.org diablo/non-free Packages
Hit http://repository.maemo.org chinook/free Packages
Hit http://repository.maemo.org chinook/non-free Packages
Fetched 2B in 7s (0B/s)
Reading package lists...
Failed to fetch http://repository.maemo.org/extras/dists/Diablo/Chinook/binary-armel/Packages.gz  404 Not Found [IP: 193.80.200.136 80]
Failed to fetch http://repository.maemo.org/extras/dists/Diablo/free/binary-armel/Packages.gz  404 Not Found [IP: 193.80.200.136 80]
Failed to fetch http://repository.maemo.org/extras/dists/Diablo/non-free/binary-armel/Packages.gz  404 Not Found [IP: 193.80.200.136 80]
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

Quote:

Originally Posted by yerga (Post 251123)
Could you try this?
1) get root
2) as root run "/etc/init.d/mce restart" and if it doesn't show any error:
3) dpkg --configure -a

2) ->
Code:

Restarting Mode Controller Entity: mce.
3) ->
Code:

Setting up mce (1.7.23) ...
Starting Mode Controller Entity: mceinvoke-rc.d: initscript mce, action "start" failed.
dpkg: error processing mce (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of osso-software-version-rx44:
osso-software-version-rx44 depends on mce (= 1.7.23); however:
Package mce is not configured yet.
dpkg: error processing osso-software-version-rx44 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mce
osso-software-version-rx44

any idea? many thanks in advance...

tz1 2008-12-22 16:27

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
If you are using a non-busybox "ls" it will break. ("ls -Q" in an xterm - if it lists files with quotes, things will break badly - if it gives a usage message, it should be OK.).

Andre Klapper 2008-12-22 18:02

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
Also see https://bugs.maemo.org/show_bug.cgi?id=3943#c2 for a workaround:

"You can workaround this by stopping mce, and then completing the update.

# /etc/init.d/mce stop
# dpkg --configure -a

and maybe

# apt-get -f install

but you know that."

Andre Klapper 2008-12-22 18:20

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
Ah yeah: And please answer Marius' questions in that bug report so we can track this down. :-)

brokenmind 2008-12-22 20:04

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
Quote:

Originally Posted by Andre Klapper (Post 251775)
"You can workaround this by stopping mce, and then completing the update.

# /etc/init.d/mce stop
# dpkg --configure -a

and maybe

# apt-get -f install

but you know that."

that finally did the trick :p
...thank you all for your precious help and especially Marius (see details on bug report link) for pointing out the details and solution to my problem.

Quote:

Originally Posted by Marius
[...] If the update is interrupted (battery falling out of the device, say), the
device tries to complete the update in 'rescue mode' (red text during booting).
In that scenario, mce fails to configure for some reason.

[...] mce can not be started when it is already running. That's why it
fails to configure itself. I'd say that's a bug in mce.


tz1 2008-12-23 21:44

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
Bug reports 3938 and 3948 are "duplicates". Do you have a GNU ls somewhere on the path? What happens if you type "ls -Q" (-Q is invalid in the provided busybox version of ls).

brokenmind 2008-12-26 14:39

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
"ls -Q" is not supported and returns "ls: invalid option -- Q" ...

dan 2008-12-28 18:40

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
Same mess when I tried to upgrade to 36-5 on dual boot. What a disaster! Luckily I had a backup sdhc with entire setup but even then I had to go into flash side and reinstall Fanoush boot because it kept looping to start every time I tried booting under mmc1. Worst upgrade yet. Yikes!! Hildon-app-manager, hildon-desktop, dbus-scripts,icd2, bluez-utilitls, etc... are all a mess! I can't upgrade any of it even on my backup! Did Taliban infiltrate your upgrade servers. Stopping mce helped but what a mess I've got. Any ideas? Please don't suggest re-flashing, it would take weeks to re-install everything. TIA

bunanson 2008-12-28 19:28

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
Quote:

Originally Posted by dan (Post 253028)
Same mess when I tried to upgrade to 36-5 on dual boot. What a disaster! Luckily I had a backup sdhc with entire setup but even then I had to go into flash side and reinstall Fanoush boot because it kept looping to start every time I tried booting under mmc1. Worst upgrade yet. Yikes!! Hildon-app-manager, hildon-desktop, dbus-scripts,icd2, bluez-utilitls, etc... are all a mess! I can't upgrade any of it even on my backup! Did Taliban infiltrate your upgrade servers. Stopping mce helped but what a mess I've got. Any ideas? Please don't suggest re-flashing, it would take weeks to re-install everything. TIA

This took me only couple hours, from beginning to finish, 33 progs installed, http://www.internettablettalk.com/fo...ad.php?t=25673. If you have NOT messed it up, do a backup, reflash, restore, done in less than 2 hrs, it restore ALL your settings, including wifi and passwords. If you already messed up, even better, now it is a good time to do pick and choose what progs you really want.

Here is the complete package, upgrade/bootmenu/clone, http://www.internettablettalk.com/fo...ad.php?t=25777

bun

dan 2008-12-28 23:13

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
Love you Bun but I've got 6 partitions between two 32gb sdhc cards with over 200 apps, my own custom menu system, Debian, KDE, Android, game ports, bluetooth custom config with my office equipment, wifi hacking tools, hidden encryption partitions, etc.... It would take weeks to get my system back to where it is now. That is why I made a mirror backup card. All apps and partitions installed before upgrade fiasco are working on my backup card I just can't update anything. I would like to figure out why when server breaks connection while upgrading the entire upgrade permanently trashes your existing setup only for upgrading. There should be a way to go in and fix each component that got trashed, ex: hildon app manager, hildon desktop,icd2, dbus-scripts, etc...

Your writeup is amazing I've used it in the past.

This time I want to get help in figuring a way to work around this if it happens again. I need to understand before I can figure out solution.
I need the A-Team of this community to help figure this one out that includes you Bun. TIA

lm2 2008-12-29 17:26

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
After following the mce workaround, I can't shutdown or reboot. I tried to use Advanced Power and the hardware power button. Nothing. I have just rebooted using "reboot" from cli, but did anyone else have this problem?

grog 2008-12-29 19:51

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
Quote:

Originally Posted by Andre Klapper (Post 251775)
Also see https://bugs.maemo.org/show_bug.cgi?id=3943#c2 for a workaround:

"You can workaround this by stopping mce, and then completing the update.

# /etc/init.d/mce stop
# dpkg --configure -a

and maybe

# apt-get -f install

but you know that."

Thanks for that. I've been busy for a while so just got around to figuring out how to fix my N810 update. I also had the same problem with all of mediaplayer-daemon. libmediaplayer0, mce & metalayer-crawler0 (in that order). Only by shutting all of them down was I able to properly configure them, as well as osso-software-version-rx44. TX

lm2 2008-12-29 21:41

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
Quote:

Originally Posted by grog (Post 253270)
Only by shutting all of them down was I able to properly configure them, as well as osso-software-version-rx44. TX

Can you expand on this? How do I know if I have these other problems you experienced? I'm especially concerned about the osso-software-version, since that is what will enable future updates to be pushed through to my NIT, right?

grog 2008-12-29 23:37

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
Quote:

Originally Posted by lm2 (Post 253296)
Can you expand on this? How do I know if I have these other problems you experienced? I'm especially concerned about the osso-software-version, since that is what will enable future updates to be pushed through to my NIT, right?

Fortunately I had saved my log, so I can show you exactly the errors I experienced ;) (by log I mean under Tools, Log in the the Application manager. Take a look after you attempt the update)
Code:

Upgrading osso-software-version-rx44 1:5.2008.43-7 to 1:5.2008.43-7
Setting up mediaplayer-daemon (1.3.23-1) ...
Starting Media Player Daemon: mediaplayer-engineinvoke-rc.d: initscript mediaplayer-daemon, action "start" failed.
dpkg: error processing mediaplayer-daemon (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libmediaplayer0:
 libmediaplayer0 depends on mediaplayer-daemon; however:
  Package mediaplayer-daemon is not configured yet.
dpkg: error processing libmediaplayer0 (--configure):
 dependency problems - leaving unconfigured
Setting up mce (1.7.23) ...
Starting Mode Controller Entity: mceinvoke-rc.d: initscript mce, action "start" failed.
dpkg: error processing mce (--configure):
 subprocess post-installation script returned error exit status 1
Setting up metalayer-crawler0 (1.3.19-2) ...
Starting Metalayer Crawler: metalayer-crawler0invoke-rc.d: initscript metalayer-crawler0, action "start" failed.
dpkg: error processing metalayer-crawler0 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of osso-software-version-rx44:
 osso-software-version-rx44 depends on libmediaplayer0 (= 1.3.23-1); however:
  Package libmediaplayer0 is not configured yet.
 osso-software-version-rx44 depends on mce (= 1.7.23); however:
  Package mce is not configured yet.
 osso-software-version-rx44 depends on mediaplayer-daemon (= 1.3.23-1); however:
  Package mediaplayer-daemon is not configured yet.
 osso-software-version-rx44 depends on metalayer-crawler0 (= 1.3.19-2); however:
  Package metalayer-crawler0 is not configured yet.
dpkg: error processing osso-software-version-rx44 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mediaplayer-daemon
 libmediaplayer0
 mce
 metalayer-crawler0
 osso-software-version-rx44
E: Sub-process /usr/bin/dpkg returned an error code (1)

Each of the packages couldn't update because of the previous one. By shutting off all of them I was able to complete the final update of osso-software-version-rx44.

Code:

$ /etc/init.d/mediaplayer-daemon stop
$ /etc/init.d/libmediaplayer0 stop
$ /etc/init.d/mce stop
$ /etc/init.d/metalayer-crawler0 stop
$ sudo dpkg --configure -a

Afterwards I turned them all back on & rebooted.
Code:

$ /etc/init.d/mediaplayer-daemon start
$ /etc/init.d/libmediaplayer0 start
$ /etc/init.d/mce start
$ /etc/init.d/metalayer-crawler0 start
$ sudo /sbin/reboot

HTH

lm2 2008-12-30 00:34

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
Thanks for that.

I suppose I'm not helping myself by reinstalling sliderotate kernel after updating OS. This seems to send 43-7 back into "broken" status. Has anyone compiled a 43-7 kernel with rotation yet?

EDIT: Found my answer. Will have to wait until after the holidays.

tz1 2008-12-30 14:53

Re: SSU - 5.2008.43-7 shows 'broken' status after install
 
If you are using a replacement for "ls", remove it. "ls -Q" from xterm should return a complaint message (needed for invoke-rc.d to run - notice how it is listed as the problem in the log output?). If it returns a list of quoted filenames, it will break the upgrade (and you should remove and reset ls so that it uses the busybox version).


All times are GMT. The time now is 10:42.

vBulletin® Version 3.8.8