[maemo-users] WiFi borked after update

From: Marius Vollmer marius.vollmer at nokia.com
Date: Thu Oct 2 16:26:39 EEST 2008
"ext Tommy Persson" <tpe at ida.liu.se> writes:

> I suspected I did not have enough space to install but I suppose the
> reason for the failure could have been something else.

There is one stupid bug in the Application manager that I suspect might
be to blame for some of the failures.

If you have broken packages on your device, that might trick the AM into
believing that an OS update will succeed while in reality it will fail
with missing dependencies, conflicts or similar.

Here are the details, in case you are interested:

Unlike apt-get, the AM tries to ignore broken packages so that, for
example, a broken maemomapper installation does not prevent a OS
upgrade.  When preparing the OS update (or any other package operation),
the AM 'simulates' what would happen to the dependencies, and if any
package is broken by the simulation, the OS update is not done.

The stupid thing is this: in order to ignore packages that are already
broken before the simulation, the AM remembers the number of broken
packages before the simulation, and if there are _more_ packages broken
after the simulation, the operation is rejected.

Now, it can happen that the simulated operation fixes some of the
previously broken packages, and breaks some others.  Thus, the number of
broken packages can be the same or even lower eventho the operation
should be rejected.

I'll fix that.

More information about the maemo-users mailing list