Unsatisfiable python dependency in deb package

Bug #916413 reported by randomdude4555
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Genesis Sync
Fix Released
Undecided
Frederik Elwert

Bug Description

I am unable to install the genesis-sync package on Ubuntu 11.04 Natty because of a dependency error:

Dependency is not satisfiable: python (< 2.7)

Figures..

$ python -V
Python 2.7.1+

Python 2.7 is the default version in Natty at the moment.

Is the code really incompatible with 2.7?

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Thank you for the comment. I guess I just made a mistake when copying the packages, as I copied the lucid package to natty, while I should have copied the oneiric package.

The code works with Python 2.6 and 2.7, I just have to rebuild the package to get the dependencies right.

Could you please try installing the oneiric package manually? If that works, I will upload a new package for natty.

Changed in genesis-sync:
status: New → Incomplete
assignee: nobody → Frederik Elwert (frederik-elwert)
Revision history for this message
randomdude4555 (randomdude4555-deactivatedaccount) wrote :

Oneiric package has a dependency problem, too:

Dependency is not satisfiable: python-gobject-2

There is no python-gobject-2 package for Natty, only for Oneiric:

http://packages.ubuntu.com/search?keywords=python-gobject-2

but there is a python-gobject package, which is installed.

Revision history for this message
randomdude4555 (randomdude4555-deactivatedaccount) wrote :

Also (Oneiric package):

# dpkg -i genesis-sync_0.6.3_all.deb

dpkg: dependency problems prevent configuration of genesis-sync:
 genesis-sync depends on python-gobject-2; however:
  Package python-gobject-2 is not installed.
 genesis-sync depends on syncevolution-evolution (>= 1:0.9.2+1.0beta3) | syncevolution (>= 1.1.99); however:
  Package syncevolution-evolution is not installed.
  Version of syncevolution on system is 1.1+ds1-5ubuntu1.

I installed syncevolution from the syncevolution repo:
http://downloads.syncevolution.org/apt stable main

$ dpkg -l | grep -i 'syncevolution'
ii syncevolution 1.1+ds1-5ubuntu1 Evolution data synchronization program using SyncML (CLI)
ii syncevolution-common 1.1+ds1-5ubuntu1 Evolution data synchronization program using SyncML
ii syncevolution-dbus 1.1+ds1-5ubuntu1 Evolution data synchronization program using SyncML (D-Bus support)

Revision history for this message
randomdude4555 (randomdude4555-deactivatedaccount) wrote :

Okay, force install seems to work..

# dpkg --force-all -i genesis-sync_0.6.3_all.deb
Selecting previously deselected package genesis-sync.
(Reading database ... 295423 files and directories currently installed.)
Unpacking genesis-sync (from genesis-sync_0.6.3_all.deb) ...
dpkg: genesis-sync: dependency problems, but configuring anyway as you requested:
 genesis-sync depends on python-gobject-2; however:
  Package python-gobject-2 is not installed.
 genesis-sync depends on syncevolution-evolution (>= 1:0.9.2+1.0beta3) | syncevolution (>= 1.1.99); however:
  Package syncevolution-evolution is not installed.
  Version of syncevolution on system is 1.1+ds1-5ubuntu1.
Setting up genesis-sync (0.6.3) ...

Configuration file `/etc/apport/crashdb.conf.d/genesis-sync-crashdb.conf', does not exist on system.
Installing new config file as you requested.
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...

Hope that helps :)

Revision history for this message
randomdude4555 (randomdude4555-deactivatedaccount) wrote :

Sorry, * work = it actually works after install, I get the indicator, and syncing works too.

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Regarding the python-gobject dependency:
Okay, looks like neither the oneiric nor the lucid package satisfy the natty dependencies. This is a bit annoying, as Genesis would run unchanged on all these platforms. But okay, I will try to built a new source package for natty.

Regarding syncevolution: This version of Genesis contains a small modification that matches SyncEvolution 1.2. Thus, it is recommended to use SE 1.2 or newer. You should be able to get it from the SE repository.

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Just published a package for natty. Could you please try this out and see if it now installs?

Revision history for this message
randomdude4555 (randomdude4555-deactivatedaccount) wrote :

Turns out the command

apt-get install syncevolution

installs the 1.1 package from the Ubuntu repo, and

apt-get install syncevolution-evolution

installs the 1.2.1 package from the SE repo. WEIRD.

Anyways, after installing the 1.2.1 package, the genesis-sync package installed OK. Thank you very much for your effort!

For the record:

To install syncevolution 1.2 for Natty...

- add syncevolution's repo ( deb http://downloads.syncevolution.org/apt/ stable main )
- install SE 1.2: apt-get install syncevolution-evolution
- download and install genesis-sync: dpkg -i genesis-sync_0.6.3natty1_all.deb

Changed in genesis-sync:
status: Incomplete → Fix Released
Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Great, good to know it’s fixed. Thanks again for reporting!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.