Serge... if you are running out of ideas let me know as I've a need to get
virt-manage working again and can just do a clean install and restore what
I need.

I've seen only one other hit on this in a google search using:
ImportError: /usr/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_1.0.2' not
found

and that was a python-libvirt bug reported in debian in Jan 2013.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697852

I've also seen ALOT of bugs/problems related to the kernel 3.8.0.19
update/upgrades that many people are reporting (google seach shows many).

My problems did not start with virt-manager until after that 3.8.0.19
kernel upgrade also if I remember right.

Anyway I will let my laptop stay with this until I hear from you whether
you'd like me to collect more info or not.

thanks for you help so far...
Brian



On Sat, May 4, 2013 at 12:59 PM, brian mullan <bmullan.m...@gmail.com>wrote:

> I already had re-installed those but I did again just to make sure (see
> below) and still get same errors... see at bottom.
>
> $ *sudo apt-get install --reinstall libvirt0*
> [sudo] password for bmullan:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not
> upgraded.
> Need to get 0 B/1,332 kB of archives.
> After this operation, 0 B of additional disk space will be used.
> dpkg: warning: files list file for package
> 'linux-image-extra-3.8.0-19-generic' missing; assuming package has no files
> currently installed
> dpkg: warning: files list file for package
> 'linux-headers-3.8.0-19-generic' missing; assuming package has no files
> currently installed
> dpkg: warning: files list file for package 'linux-headers-3.8.0-19'
> missing; assuming package has no files currently installed
> dpkg: warning: files list file for package 'linux-image-3.8.0-19-generic'
> missing; assuming package has no files currently installed
> (Reading database ... 380718 files and directories currently installed.)
> Preparing to replace libvirt0 1.0.2-0ubuntu11 (using
> .../libvirt0_1.0.2-0ubuntu11_amd64.deb) ...
> Unpacking replacement libvirt0 ...
> Setting up libvirt0 (1.0.2-0ubuntu11) ...
> Processing triggers for libc-bin ...
> ldconfig deferred processing now taking place
>
>
> $ *sudo apt-get install --reinstall libvirt-bin python-libvirt*
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not
> upgraded.
> Need to get 0 B/4,391 kB of archives.
> After this operation, 0 B of additional disk space will be used.
> dpkg: warning: files list file for package
> 'linux-image-extra-3.8.0-19-generic' missing; assuming package has no files
> currently installed
> dpkg: warning: files list file for package
> 'linux-headers-3.8.0-19-generic' missing; assuming package has no files
> currently installed
> dpkg: warning: files list file for package 'linux-headers-3.8.0-19'
> missing; assuming package has no files currently installed
> dpkg: warning: files list file for package 'linux-image-3.8.0-19-generic'
> missing; assuming package has no files currently installed
> (Reading database ... 380718 files and directories currently installed.)
> Preparing to replace libvirt-bin 1.0.2-0ubuntu11 (using
> .../libvirt-bin_1.0.2-0ubuntu11_amd64.deb) ...
> libvirt-bin stop/waiting
> Unpacking replacement libvirt-bin ...
> Preparing to replace python-libvirt 1.0.2-0ubuntu11 (using
> .../python-libvirt_1.0.2-0ubuntu11_amd64.deb) ...
> Unpacking replacement python-libvirt ...
> Processing triggers for man-db ...
> Processing triggers for ureadahead ...
> Setting up libvirt-bin (1.0.2-0ubuntu11) ...
> libvirt-bin start/running
> Setting up python-libvirt (1.0.2-0ubuntu11) ...
> bmullan@thinkpad:~$ ls -l /usr/lib/libvirt*
> -rw-r--r-- 1 root root 30885972 Apr 13 05:08 /usr/lib/libvirt.a
> -rwxr-xr-x 1 root root     1036 Apr 13 05:08 /usr/lib/libvirt.la
> -rw-r--r-- 1 root root    97054 Apr 13 05:08 /usr/lib/libvirt-lxc.a
> -rwxr-xr-x 1 root root     1084 Apr 13 05:08 /usr/lib/libvirt-lxc.la
> lrwxrwxrwx 1 root root       23 Apr 13 05:08 /usr/lib/libvirt-lxc.so ->
> libvirt-lxc.so.0.1000.4
> lrwxrwxrwx 1 root root       23 May  4 12:56 /usr/lib/libvirt-lxc.so.0 ->
> libvirt-lxc.so.0.1000.4
> -rw-r--r-- 1 root root    10352 Apr 18 13:30
> /usr/lib/libvirt-lxc.so.0.1000.2
> -rwxr-xr-x 1 root root    67394 Apr 13 05:08
> /usr/lib/libvirt-lxc.so.0.1000.4
> -rw-r--r-- 1 root root    87782 Apr 13 05:08 /usr/lib/libvirt-qemu.a
> -rwxr-xr-x 1 root root     1091 Apr 13 05:08 /usr/lib/libvirt-qemu.la
> lrwxrwxrwx 1 root root       24 Apr 13 05:08 /usr/lib/libvirt-qemu.so ->
> libvirt-qemu.so.0.1000.4
> lrwxrwxrwx 1 root root       24 May  4 12:56 /usr/lib/libvirt-qemu.so.0 ->
> libvirt-qemu.so.0.1000.4
> -rw-r--r-- 1 root root    10312 Apr 18 13:30
> /usr/lib/libvirt-qemu.so.0.1000.2
> -rwxr-xr-x 1 root root    62066 Apr 13 05:08
> /usr/lib/libvirt-qemu.so.0.1000.4
> lrwxrwxrwx 1 root root       19 Apr 13 05:08 /usr/lib/libvirt.so ->
> libvirt.so.0.1000.4
> lrwxrwxrwx 1 root root       19 May  4 12:56 /usr/lib/libvirt.so.0 ->
> libvirt.so.0.1000.4
> -rw-r--r-- 1 root root  2967872 Apr 18 13:30 /usr/lib/libvirt.so.0.1000.2
> -rwxr-xr-x 1 root root 15635152 Apr 13 05:08 /usr/lib/libvirt.so.0.1000.4
>
> /usr/lib/libvirt:
> total 2100
> drwxr-xr-x 2 root root    4096 May  4 12:56 connection-driver
> -rwxr-xr-x 1 root root   14657 Apr 18 13:30 libvirt-guests.sh
> -rwxr-xr-x 1 root root  212512 Apr 18 13:30 libvirt_iohelper
> -rwxr-xr-x 1 root root 1001776 Apr 18 13:30 libvirt_lxc
> -rwxr-xr-x 1 root root  208424 Apr 18 13:30 libvirt_parthelper
> drwxr-xr-x 2 root root    4096 May  4 12:56 lock-driver
> -rwxr-xr-x 1 root root  696512 Apr 18 13:30 virt-aa-helper
>
> *$ virt-manager*
> *Traceback (most recent call last):*
> *  File "/usr/share/virt-manager/virt-manager.py", line 383, in <module>*
> *    main()*
> *  File "/usr/share/virt-manager/virt-manager.py", line 247, in main*
> *    from virtManager import cli*
> *  File "/usr/share/virt-manager/virtManager/cli.py", line 29, in <module>
> *
> *    import libvirt*
> *  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 25, in
> <module>*
> *    raise lib_e*
> *ImportError: /usr/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_1.0.2' not
> found (required by /usr/lib/python2.7/dist-packages/libvirtmod.so)*
> $
>
>
>
> On Sat, May 4, 2013 at 8:59 AM, Serge Hallyn 
> <1173...@bugs.launchpad.net>wrote:
>
>> Quoting brian mullan (1173...@bugs.launchpad.net):
>> > $ ls -l /usr/lib/libvirt
>> > total 2100
>> > drwxr-xr-x 2 root root    4096 May  3 17:56 connection-driver
>> > -rwxr-xr-x 1 root root   14657 Apr 18 13:30 libvirt-guests.sh
>> > -rwxr-xr-x 1 root root  212512 Apr 18 13:30 libvirt_iohelper
>> > -rwxr-xr-x 1 root root 1001776 Apr 18 13:30 libvirt_lxc
>> > -rwxr-xr-x 1 root root  208424 Apr 18 13:30 libvirt_parthelper
>> > drwxr-xr-x 2 root root    4096 May  3 17:56 lock-driver
>> > -rwxr-xr-x 1 root root  696512 Apr 18 13:30 virt-aa-helper
>>
>> Well that's not right - you should see:
>>
>> serge@sergelap:~$ ls -l /usr/lib/libvirt*
>> lrwxrwxrwx 1 root root      23 Apr 18 12:30 /usr/lib/libvirt-lxc.so.0 ->
>> libvirt-lxc.so.0.1000.2
>> -rw-r--r-- 1 root root   10352 Apr 18 12:30
>> /usr/lib/libvirt-lxc.so.0.1000.2
>> lrwxrwxrwx 1 root root      24 Apr 18 12:30 /usr/lib/libvirt-qemu.so.0 ->
>> libvirt-qemu.so.0.1000.2
>> -rw-r--r-- 1 root root   10312 Apr 18 12:30
>> /usr/lib/libvirt-qemu.so.0.1000.2
>> lrwxrwxrwx 1 root root      19 May  3 21:08 /usr/lib/libvirt.so.0 ->
>> libvirt.so.0.1000.2
>> -rw-r--r-- 1 root root 2967872 Apr 18 12:30 /usr/lib/libvirt.so.0.1000.2
>> serge@sergelap:~$ dpkg -S /usr/lib/libvirt.so.0.1000.2
>> libvirt0: /usr/lib/libvirt.so.0.1000.2
>>
>> your dpkg -l listing showed libvirt0 1.0.2-0ubuntu11 installed, so
>> something seems to have deleted some of its files.  Please try
>>
>>         sudo apt-get install --reinstall libvirt0
>>
>> and, while you're at it,
>>
>>         sudo apt-get install --reinstall libvirt-bin python-libvirt
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1173221
>>
>> Title:
>>   ubuntu 13.04 virt-manager fails to start
>>
>> To manage notifications about this bug go to:
>>
>> https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1173221/+subscriptions
>>
>
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1173221

Title:
  ubuntu 13.04 virt-manager fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1173221/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to