maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Missing dependency PyQT4 (https://talk.maemo.org/showthread.php?t=43953)

fred123 2010-02-09 23:58

Missing dependency PyQT4
 
I am trying to test a newly installed app that is failing with

ImportError: No module named PyQt4.

I have tried

apt-get install PyQt4
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package PyQt4

i have looked through extras repository and found
python2.5-qt4-core
python2.5-qt4-common
python2.5-qt4-gui

however trying to install gives this error

Code:

apt-get install python2.5-qt4-gui
Reading package lists... Done
Building dependency tree
Reading state information... 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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  python2.5-qt4-gui: Depends: python2.5-qt4-core (= 4.7-maemo2) but 4.7-maemo5 is to be installed
E: Broken packages

how can I install this?

fatalsaint 2010-02-10 00:03

Re: Missing dependency PyQT4
 
There is different versions of PyQt4 between testing, devel and probably extras now.

Disable either testing or devel, do an update, and try again.

fred123 2010-02-10 00:18

Re: Missing dependency PyQT4
 
I have testing and devel disabled, have done update.

Looking in http://repository.maemo.org/extras-t...armel/Packages
There is
python2.5-qt4-common_4.7-maemo2_armel.deb
python2.5-qt4-common_4.7-maemo5_armel.deb
how do I get it to use the right one, do I just install the 4.7-maemo2 with dpkg?

fatalsaint 2010-02-10 00:24

Re: Missing dependency PyQT4
 
if you disabled both and updated.. just try doing:

apt-get install python2.5-qt4-gui

Or there is a python2.5-qt4 something (-docs?) that shows up in package manager that you can install.

fred123 2010-02-10 00:32

Re: Missing dependency PyQT4
 
python2.5-qt4-doc is in app manager but will not install
problems tab shows
Code:

application packages missing python2.5-qt4-core(=4.7-maemo2)
                            python2.5-qt4-core(=4.7-maemo2)
                            python2.5-qt4-core(=4.7-maemo2)

This is getting a bit silly!

SubCore 2010-02-10 00:38

Re: Missing dependency PyQT4
 
Quote:

Originally Posted by fred123 (Post 518623)
python2.5-qt4-doc is in app manager but will not install

re-enable extras-testing, that's the version number there. it should be able to resolve the dependency with only -testing enabled.

fred123 2010-02-10 00:48

Re: Missing dependency PyQT4
 
With only extras-testing enabled I see the same problem tab in app manager.

fatalsaint 2010-02-10 00:57

Re: Missing dependency PyQT4
 
After enabling testing did you do a:
Code:

sudo gainroot
apt-get update

??

If so:
Disable testing and enable devel. That's what the other person with this problem did and it worked for them. I figured it'd work either way.

Python2.5-qt4 is in Extras but is legitimately missing the -core.. http://maemo.org/packages/package_in...ui/4.7-maemo2/ .. but thats in testing so it's weird you still have problems.

fred123 2010-02-10 01:11

Re: Missing dependency PyQT4
 
@fatalsaint
Thanks I have been chasing this problem for a couple of hours.

attila77 2010-02-10 08:07

Re: Missing dependency PyQT4
 
Package versions are FUBAR (there is a mix of -maemo3 and -maemo5 versions, which I did NOT promote), stand by.


All times are GMT. The time now is 11:52.

vBulletin® Version 3.8.8