Bug #1164
virt-manager dependency error
100%
Description
- 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
- 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
Updated by Chris Jordan over 9 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 over 9 years ago
This is on oi 151. What other information would you like to see?
Updated by Chris Jordan over 9 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 over 9 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 over 9 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 about 9 years ago
Can someone confirm if this is fixed with the current manifest in /dev please?
Updated by Luca De Pandis over 8 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
Updated by Ken Mays over 6 years ago
- Status changed from New to Closed
- Assignee changed from Andrzej Szeszo to OI Userland
- Target version deleted (
oi_151) - % Done changed from 0 to 100
Resolved.
See: desktop/virt-manager@0.6.1,5.11-0.151.1.8.1:20140626T100043Z