Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How should I solve this dependency issue?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Sat Sep 12, 2009 1:46 am    Post subject: How should I solve this dependency issue? Reply with quote

How should I solve this dependency issue? It's got me a bit dizzy! 8O

zawacki portage # emerge -vp hplip

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] virtual/libusb-0 0 kB
[ebuild UD] dev-python/sip-4.7.9 [4.8.2] USE="-debug (-doc%)" 0 kB
[ebuild N ] x11-libs/qt-core-4.5.1 USE="glib iconv qt3support ssl -debug -doc -pch" 111,980 kB
[ebuild N ] x11-libs/qt-dbus-4.5.1 USE="-debug -pch" 0 kB
[ebuild N ] x11-libs/qt-script-4.5.1 USE="iconv -debug -pch" 0 kB
[ebuild N ] x11-libs/qt-test-4.5.1 USE="iconv -debug -pch" 0 kB
[ebuild N ] x11-libs/qt-gui-4.5.1 USE="accessibility cups dbus glib gtkstyle qt3support tiff xinerama -debug -mng -nas -nis -pch -raster" 0 kB
[ebuild N ] x11-libs/qt-svg-4.5.1-r1 USE="iconv -debug -pch" 0 kB
[ebuild N ] x11-libs/qt-opengl-4.5.1 USE="qt3support -debug -pch" 0 kB
[ebuild U ] dev-python/PyQt4-4.4.4-r5 [4.3.3] USE="X%* dbus%* kde%* opengl%* svg%* -assistant% -debug -doc -examples -phonon% -sql% -webkit% -xmlpatterns%" 6,819 kB
[ebuild N ] x11-libs/qt-sql-4.5.1 USE="iconv mysql postgres qt3support sqlite -debug -firebird -odbc -pch" 0 kB
[ebuild N ] x11-libs/qt-qt3support-4.5.1 USE="accessibility kde -debug -pch -phonon" 0 kB
[ebuild U ] net-print/hplip-3.9.4b-r1 [2.8.7] USE="dbus fax qt3 qt4 scanner -cupsddk -doc* -gtk* -minimal -parport -policykit% -ppds* -snmp*" 15,345 kB
[blocks B ] x11-libs/qt-core ("x11-libs/qt-core" is blocking x11-libs/qt-4.3.3)
[blocks B ] <x11-libs/qt-4.4.0:4 ("<x11-libs/qt-4.4.0:4" is blocking x11-libs/qt-core-4.5.1)

Total: 13 packages (2 upgrades, 1 downgrade, 10 new), Size of downloads: 134,143 kB
Conflict: 2 blocks (2 unsatisfied)

* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.

('ebuild', '/', 'x11-libs/qt-core-4.5.1', 'merge') pulled in by
>=x11-libs/qt-core-4.4.2:4 required by ('ebuild', '/', 'dev-python/PyQt4-4.4.4-r5', 'merge')
~x11-libs/qt-core-4.5.1[qt3support,-debug] required by ('ebuild', '/', 'x11-libs/qt-sql-4.5.1', 'merge')
~x11-libs/qt-core-4.5.1[-debug] required by ('ebuild', '/', 'x11-libs/qt-script-4.5.1', 'merge')
(and 7 more)

('installed', '/', 'x11-libs/qt-4.3.3', 'nomerge') pulled in by
=x11-libs/qt-4* required by ('installed', '/', 'net-wireless/wpa_supplicant-0.5.7', 'nomerge')
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sat Sep 12, 2009 2:09 am    Post subject: Reply with quote

unmerge qt

qt-4 is replaced by the qt meta package
Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Sat Sep 12, 2009 3:29 am    Post subject: Reply with quote

Mike Hunt wrote:
unmerge qt

qt-4 is replaced by the qt meta package


Awesome! It is a friend's box so I will try this on the weekend - thx! :)
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sat Sep 12, 2009 4:21 am    Post subject: Reply with quote

I have KDE-4.3.1 and here is a list of the qt stuff that is installed - pulled in by KDE4
Code:
# qlist -I qt
dev-libs/poppler-qt4
virtual/poppler-qt4
x11-libs/qt-core
x11-libs/qt-dbus
x11-libs/qt-gui
x11-libs/qt-opengl
x11-libs/qt-qt3support
x11-libs/qt-script
x11-libs/qt-sql
x11-libs/qt-svg
x11-libs/qt-test
x11-libs/qt-webkit
Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Sun Oct 04, 2009 3:37 am    Post subject: Reply with quote

Mike Hunt wrote:
I have KDE-4.3.1 and here is a list of the qt stuff that is installed - pulled in by KDE4
Code:
# qlist -I qt
dev-libs/poppler-qt4
virtual/poppler-qt4
x11-libs/qt-core
x11-libs/qt-dbus
x11-libs/qt-gui
x11-libs/qt-opengl
x11-libs/qt-qt3support
x11-libs/qt-script
x11-libs/qt-sql
x11-libs/qt-svg
x11-libs/qt-test
x11-libs/qt-webkit


I still have not had a chance to umerge qt but the strange thing is that qt 4 is not installed on this system I tried using USE="qt3support" but it still gives the same error. qt3.... is what shows up with emerge -s. Should I still unmerge qt even if it's qt3? (t's a kde 3.5 system)
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Oct 04, 2009 3:55 am    Post subject: Reply with quote

portage news says:
Quote:

oddman ~ # eselect news read 4
2009-09-27-qt_use_changes
Title Qt 4.5.2 default USE flag changes
Author Alex Alexander <wired@gentoo.org>
Posted 2009-09-27
Revision 1

Qt version 4.5.2 has significant changes in the USE flags enabled by
default.

When upgrading, make sure you check and re-enable any USE flags you
need.

Depending on your system and installed packages, you might hit an issue
where Portage is getting confused by this USE flag change, trying to mix
old 4.5.1 ebuilds with new 4.5.2 ones, resulting in blocks.

If this happens to you, please add the offending USE flags (usually
'qt3support' and 'dbus') in your USE= or switch to a desktop profile
(eselect profile list). Check this post [0] for more details on this
issue.

[0] http://www.linuxized.com/p192


Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Mon Oct 05, 2009 3:10 am    Post subject: Reply with quote

DONAHUE wrote:
portage news says:
Quote:

oddman ~ # eselect news read 4
2009-09-27-qt_use_changes
Title Qt 4.5.2 default USE flag changes
Author Alex Alexander <wired@gentoo.org>
Posted 2009-09-27
Revision 1

Qt version 4.5.2 has significant changes in the USE flags enabled by
default.

When upgrading, make sure you check and re-enable any USE flags you
need.

Depending on your system and installed packages, you might hit an issue
where Portage is getting confused by this USE flag change, trying to mix
old 4.5.1 ebuilds with new 4.5.2 ones, resulting in blocks.

If this happens to you, please add the offending USE flags (usually
'qt3support' and 'dbus') in your USE= or switch to a desktop profile
(eselect profile list). Check this post [0] for more details on this
issue.

[0] http://www.linuxized.com/p192




I see. Thx!
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Wed Oct 07, 2009 1:49 pm    Post subject: Reply with quote

emerge --sync && emerge -C qt:4

If after that there is any package pulling in qt:4, that is a bug.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Fri Oct 09, 2009 7:44 am    Post subject: Reply with quote

Hi all,

I'm running KDE-4 and none of these suggestions nor those listed on website linked to be eselect news helped. In addition, I also checked the use flag settings for the older version (4.5.1) of the qt libs and made sure that they were now in make.conf. I switched my desktop profile, too, but no luck. Any ideas?

Best,

Alex

P.S. I tried including all of the use flags that were used by the previous version of QT in /etc/make.conf. That, unfortunately, did not help either.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Oct 09, 2009 10:29 am    Post subject: Reply with quote

emerge -u --nodeps qt ?
Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Thu Oct 15, 2009 9:20 pm    Post subject: Reply with quote

yngwin wrote:
emerge --sync && emerge -C qt:4

If after that there is any package pulling in qt:4, that is a bug.


Ok this worked but now I'm gettting the folowing error when trying to start hplip:

danz@zawacki ~ $ hp-toolbox
warning: python-dbus not installed.

HP Linux Imaging and Printing System (ver. 3.9.8)
HP Device Manager ver. 15.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Traceback (most recent call last):
File "/usr/bin/hp-toolbox", line 246, in <module>
from ui4.devmgr5 import DevMgr5
File "/usr/share/hplip/ui4/devmgr5.py", line 34, in <module>
from base import device, utils, pml, maint, models, pkit
File "/usr/share/hplip/base/pkit.py", line 40, in <module>
import dbus
ImportError: No module named dbus
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Oct 15, 2009 9:31 pm    Post subject: Reply with quote

That's weird because it it actually dbus-python
Code:
# eix -I dbus-python
[I] dev-python/dbus-python
     Available versions:  0.80.2 0.82.4 (~)0.83.0 0.83.0-r1 {doc examples test}
     Installed versions:  0.83.0-r1(23:08:03 10/05/09)(-doc -examples -test)
     Homepage:            http://www.freedesktop.org/wiki/Software/DBusBindings http://dbus.freedesktop.org/doc/dbus-python/
     Description:         Python bindings for the D-Bus messagebus.

Do you have that installed?
Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Mon Oct 19, 2009 2:17 am    Post subject: Reply with quote

Mike Hunt wrote:
That's weird because it it actually dbus-python
Code:
# eix -I dbus-python
[I] dev-python/dbus-python
     Available versions:  0.80.2 0.82.4 (~)0.83.0 0.83.0-r1 {doc examples test}
     Installed versions:  0.83.0-r1(23:08:03 10/05/09)(-doc -examples -test)
     Homepage:            http://www.freedesktop.org/wiki/Software/DBusBindings http://dbus.freedesktop.org/doc/dbus-python/
     Description:         Python bindings for the D-Bus messagebus.

Do you have that installed?


Yes it was installed but not the latest version so I emerged it - then I got an error about pygobject - I emerged the latest version of that and then I got this error:

danz@zawacki ~ $ hp-toolbox

HP Linux Imaging and Printing System (ver. 3.9.8)
HP Device Manager ver. 15.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: Unable to load DBus libraries. Please check your installation and try again.
danz@zawacki ~ $
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Oct 19, 2009 3:23 am    Post subject: Reply with quote

Is dbus in fact running? Check it with
Code:
rc-status


Check eselect python list - it should be this
Code:
$ eselect python list
Available python interpreters:
  [1]   python2.6 *


is there any activity from running python-updater?

Maybe running revdep-rebuild would be a good idea now too.
Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Tue Oct 20, 2009 9:31 pm    Post subject: Reply with quote

Mike Hunt wrote:
Is dbus in fact running? Check it with
Code:
rc-status


Check eselect python list - it should be this
Code:
$ eselect python list
Available python interpreters:
  [1]   python2.6 *


is there any activity from running python-updater?

Maybe running revdep-rebuild would be a good idea now too.


dbus is running and the system is on 2.6 but we ran in to some problems with python-updater. We did get hp-setup to run and get the system to print but when I made it home to my system I noticed that HP Device manager is not working on their system how it is on mine. Hopefully I will have more time to update the system at a later time.
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum