Re: Upgrading with Application Manager [Fwd: Update conflict with "Update All" and dependencies]

2009-06-08 Thread Marius Vollmer
ext Stefan Sayer  writes:

> In short: How do I 
> make the update with Application Manager possible of two packages that 
> depend on an exact version of a library package? I.e. package A version 
> x.y and package B x.y depend both on package C x.y , but Application 
> Manager refuses to update both at once (unlike what apt-get upgrade 
> would do).

I think your only option is to remove that dependency on an exact
version so that the two applications are independently upgradeable.

That mean that you have to do some form of API management for your
library, that is a good thing as well, I'd say.


However, I would still call it a bug in the Application manager that it
can't handle this situation.  Please try enabling the "Use apt-get
algorithms" in red-pill mode.  What happens?
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Upgrading with Application Manager [Fwd: Update conflict with "Update All" and dependencies]

2009-06-06 Thread Stefan Sayer
Hello,

sorry, don't want to be annoying, but with another update of a software 
i package for maemo this problem is still unsolved. In short: How do I 
make the update with Application Manager possible of two packages that 
depend on an exact version of a library package? I.e. package A version 
x.y and package B x.y depend both on package C x.y , but Application 
Manager refuses to update both at once (unlike what apt-get upgrade 
would do).

Thanks
Stefan

 Original Message 
Subject: Update conflict with "Update All" and dependencies
Date: Sun, 10 May 2009 02:32:39 +0200
From: Stefan Sayer 
Organization: iptego GmbH
To: maemo-us...@maemo.org

Hello,

I am running across a strange thing with Application manager: "Update
all" does not seem to work like "apt-get upgrade", instead it seems to
update one package after the other. This of course fails if multiple
packages depend on the same version of another package - all other
packages would have to be deinstalled first to be able to update one of
those packages.

I have two application packages that both depend on an exact version of
a library package. Now when I push updates of all three packages to
(extras-devel) repository, in the application manager I see the two
application packages as available updates. The problem is, if I want to
update one, it says "Conflicting application packages" and "Conflict
with application packages:" and the other application package with the
old version. While that may be expected behaviour, IMO a clear bug is
that "Update all" fails with the same - first it says "Unable to update
xyz, Conflicting application packages. Continue installing?" but if I
click yes, it complains with not being able to install the other package
again.

apt-get upgrade of course works correctly, updating all three at once
('apt-get install anki ankiqt' would work as well i guess). I can not
believe the "Application manager" to be so stupid on top of such a
powerful package and dependencies system as debian's. Maybe I got the
dependencies wrong?

To illustrate, the dependencies of the old version:
Package: ankiqt
Version: 0.9.9.7.6b-4
Depends: anki (= 0.9.9.7.6b-4), python2.5-qt4-svg

Package: ankimaemi
Version: 0.0.6-8
Depends: anki (= 0.9.9.7.6b-4)

Package: anki
Version: 0.9.9.7.6b-4
Depends: python2.5, python-sqlalchemy (<< 0.5.0), python-simplejson (>=
2.0.6)

And the new ones:
Package: ankiqt
Version: 0.9.9.7.9-2
Depends: anki (= 0.9.9.7.9-1), python2.5-qt4-svg

Package: ankimaemi
Version: 0.0.7-2
Depends: anki (= 0.9.9.7.9-1)

Package: anki
Version: 0.9.9.7.9-1
Depends: python2.5, python-sqlalchemy (<< 0.5.0), python-simplejson (>=
2.0.6)

Thanks for any hints how to solve this. I have not found any related
bugs in "Settings and maintenance" at bugs.maemo.org.

Stefan
___
maemo-users mailing list
maemo-us...@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers