Bug #1164

virt-manager dependency error

Added by Josef Sipek almost 3 years ago. Updated almost 2 years ago.

Status:New Start date:2011-06-29
Priority:Normal Due date:
Assignee:Andrzej Szeszo % Done:

0%

Category:Desktop (JDS)
Target version:oi_151
Difficulty: Tags:dependency

Description

  1. pkg install pkg:/desktop/virt-manager
    Packages to install: 9
    Create boot environment: No
    Services to restart: 3
    DOWNLOAD PKGS FILES XFER (MB)
    Completed 9/9 838/838 9.5/9.5

PHASE ACTIONS
Install Phase 1421/1421

PHASE ITEMS
Package State Update Phase 9/9
Image State Update Phase 2/2

  1. virt-manager
    Traceback (most recent call last):
    File "/usr/share/virt-manager/virt-manager.py", line 379, in ?
    _show_startup_error(str(run_e), "".join(traceback.format_exc()))
    File "/usr/share/virt-manager/virt-manager.py", line 52, in _show_startup_error
    import gtk
    ImportError: No module named gtk

History

Updated by Chris Jordan almost 3 years ago

  • Status changed from New to Feedback
  • Assignee set to Chris Jordan

Josef Sipek, could you please provide a little more information about this? I tried to duplicate it on a fresh install of oi_148 but I received no error, virt-manager installed and started up fine.

Updated by Josef Sipek almost 3 years ago

This is on oi 151. What other information would you like to see?

Updated by Chris Jordan almost 3 years ago

  • Category set to Desktop (JDS)
  • Status changed from Feedback to New
  • Assignee changed from Chris Jordan to OI JDS
  • Difficulty changed from Medium to Bite-size
  • Tags changed from needs-triage to dependency

I was able to duplicate this problem on oi_151. It looks like oi_151 does not have the python-gnome-libs-24 pkg installed, and the package for pkg:/desktop/virt-manager should have a dependency on that, but does not. It works on oi_148 since that has python-gnome-libs-24 installed already. So the package for virt-manager needs to have that dependency and one on python-dbus-24 added.

I'm assigning this to "OI JDS", if that's not the correct assignment, please let me know.

Updated by Guido Berhörster almost 3 years ago

  • Target version set to oi_151

I'm don't think this is a problem with JDS, the SVr4 package does have a dependency on SUNWgnome-python-libs (which resolves to python-gnome-libs-24). This might be something that gets screwed up at distro-import time, RE needs to look into this.

Updated by Guido Berhörster almost 3 years ago

  • Assignee changed from OI JDS to Andrzej Szeszo
  • Difficulty deleted (Bite-size)

It is possible that other packages have missing dependencies as well. Please use the oi_151 JDS SVR4 packages I delivered to the dock for the next respin, they have correct dependencies.

Updated by Jon Tibble over 2 years ago

Can someone confirm if this is fixed with the current manifest in /dev please?

http://pkg.openindiana.org/dev/manifest/0/desktop%2Fvirt-manager%400.6.1%2C5.11-0.151.1%3A20110912T025411Z

Updated by Luca De Pandis almost 2 years ago

No Jon. This issue still exists.

$ pfexec virt-manager
ERROR:root:No module named gtk
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager.py", line 376, in ?
main()
File "/usr/share/virt-manager/virt-manager.py", line 271, in main
_show_startup_error("Could not run virt-manager, not root")
File "/usr/share/virt-manager/virt-manager.py", line 52, in _show_startup_error
import gtk
ImportError: No module named gtk
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager.py", line 379, in ?
_show_startup_error(str(run_e), "".join(traceback.format_exc()))
File "/usr/share/virt-manager/virt-manager.py", line 52, in _show_startup_error
import gtk
ImportError: No module named gtk

$ uname -a
SunOS B-r00t 5.11 oi_151a4 i86pc i386 i86pc Solaris

The following packages are required by virt-manager, but they aren't listed in its manifest.
python-gnome-libs-24
python-dbus-24

Also available in: Atom PDF