ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] libguestfs и ошибка о отсутствии appliance.
@ 2015-03-02 12:56 "Четвериков К.В."
  0 siblings, 0 replies; only message in thread
From: "Четвериков К.В." @ 2015-03-02 12:56 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Приветствую, Сообщество!

Кентавр с обновлёнными пакетами и ядром. libguestfs-tools вываливаются с 
ошибкой:

libguestfs: error: cannot find any suitable libguestfs supermin, fixed 
or old-style appliance on LIBGUESTFS_PATH (search path: /usr/lib64/guestfs)

И appliance действительно отсутствует:


ls -l /usr/lib64/guestfs
ls: невозможно получить доступ к /usr/lib64/guestfs: Нет такого файла 
или каталога


rpm --filesbypkg libguestfs
libguestfs                /usr/bin/libguestfs-test-tool
libguestfs                /usr/lib64/libguestfs.so.0
libguestfs                /usr/lib64/libguestfs.so.0.379.0
libguestfs                /usr/share/doc/libguestfs-1.19.66
libguestfs                /usr/share/doc/libguestfs-1.19.66/COPYING
libguestfs                /usr/share/doc/libguestfs-1.19.66/README
libguestfs /usr/share/locale/en_GB/LC_MESSAGES/libguestfs.mo
libguestfs /usr/share/locale/es/LC_MESSAGES/libguestfs.mo
libguestfs /usr/share/locale/gu/LC_MESSAGES/libguestfs.mo
libguestfs /usr/share/locale/hi/LC_MESSAGES/libguestfs.mo
libguestfs /usr/share/locale/kn/LC_MESSAGES/libguestfs.mo
libguestfs /usr/share/locale/ml/LC_MESSAGES/libguestfs.mo
libguestfs /usr/share/locale/mr/LC_MESSAGES/libguestfs.mo
libguestfs /usr/share/locale/nl/LC_MESSAGES/libguestfs.mo
libguestfs /usr/share/locale/or/LC_MESSAGES/libguestfs.mo
libguestfs /usr/share/locale/pa/LC_MESSAGES/libguestfs.mo
libguestfs /usr/share/locale/pl/LC_MESSAGES/libguestfs.mo
libguestfs /usr/share/locale/ta/LC_MESSAGES/libguestfs.mo
libguestfs /usr/share/locale/te/LC_MESSAGES/libguestfs.mo
libguestfs /usr/share/locale/uk/LC_MESSAGES/libguestfs.mo
libguestfs                /usr/share/man/man1/guestfs-testing.1.gz
libguestfs /usr/share/man/man1/libguestfs-test-tool.1.gz

[root@kvm-tester include]# rpm --filesbypkg libguestfs-tools
libguestfs-tools          /etc/libguestfs-tools.conf
libguestfs-tools          /usr/bin/guestfish
libguestfs-tools          /usr/bin/guestmount
libguestfs-tools          /usr/bin/virt-alignment-scan
libguestfs-tools          /usr/bin/virt-cat
libguestfs-tools          /usr/bin/virt-copy-in
libguestfs-tools          /usr/bin/virt-copy-out
libguestfs-tools          /usr/bin/virt-df
libguestfs-tools          /usr/bin/virt-edit
libguestfs-tools          /usr/bin/virt-filesystems
libguestfs-tools          /usr/bin/virt-format
libguestfs-tools          /usr/bin/virt-inspector
libguestfs-tools          /usr/bin/virt-list-filesystems
libguestfs-tools          /usr/bin/virt-list-partitions
libguestfs-tools          /usr/bin/virt-ls
libguestfs-tools          /usr/bin/virt-make-fs
libguestfs-tools          /usr/bin/virt-rescue
libguestfs-tools          /usr/bin/virt-resize
libguestfs-tools          /usr/bin/virt-sparsify
libguestfs-tools          /usr/bin/virt-sysprep
libguestfs-tools          /usr/bin/virt-tar
libguestfs-tools          /usr/bin/virt-tar-in
libguestfs-tools          /usr/bin/virt-tar-out
libguestfs-tools          /usr/bin/virt-win-reg
libguestfs-tools          /usr/share/doc/libguestfs-tools-1.19.66
libguestfs-tools /usr/share/doc/libguestfs-tools-1.19.66/README
libguestfs-tools          /usr/share/man/man1/guestfish.1.bz2
libguestfs-tools          /usr/share/man/man1/guestfs-faq.1.bz2
libguestfs-tools /usr/share/man/man1/guestfs-performance.1.bz2
libguestfs-tools /usr/share/man/man1/guestfs-release-notes.1.bz2
libguestfs-tools          /usr/share/man/man1/guestmount.1.bz2
libguestfs-tools /usr/share/man/man1/virt-alignment-scan.1.gz
libguestfs-tools          /usr/share/man/man1/virt-cat.1.gz
libguestfs-tools          /usr/share/man/man1/virt-copy-in.1.gz
libguestfs-tools          /usr/share/man/man1/virt-copy-out.1.gz
libguestfs-tools          /usr/share/man/man1/virt-df.1.gz
libguestfs-tools          /usr/share/man/man1/virt-edit.1.gz
libguestfs-tools          /usr/share/man/man1/virt-filesystems.1.bz2
libguestfs-tools          /usr/share/man/man1/virt-format.1.gz
libguestfs-tools          /usr/share/man/man1/virt-inspector.1.bz2
libguestfs-tools /usr/share/man/man1/virt-list-filesystems.1.gz
libguestfs-tools /usr/share/man/man1/virt-list-partitions.1.gz
libguestfs-tools          /usr/share/man/man1/virt-ls.1.gz
libguestfs-tools          /usr/share/man/man1/virt-make-fs.1.gz
libguestfs-tools          /usr/share/man/man1/virt-rescue.1.gz
libguestfs-tools          /usr/share/man/man1/virt-resize.1.bz2
libguestfs-tools          /usr/share/man/man1/virt-sparsify.1.gz
libguestfs-tools          /usr/share/man/man1/virt-sysprep.1.bz2
libguestfs-tools          /usr/share/man/man1/virt-tar-in.1.gz
libguestfs-tools          /usr/share/man/man1/virt-tar-out.1.gz
libguestfs-tools          /usr/share/man/man1/virt-tar.1.gz
libguestfs-tools          /usr/share/man/man1/virt-win-reg.1.gz


Подробный вывод libguestfs-test-tool:

export LIBGUESTFS_TRACE=1
libguestfs-test-tool
      ************************************************************
      *                    IMPORTANT NOTICE
      *
      * When reporting bugs, include the COMPLETE, UNEDITED
      * output below in your bug report.
      *
      ************************************************************
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
===== Test starts here =====
LIBGUESTFS_TRACE=1
TMPDIR=/tmp/.private/root
PATH=/root/bin:/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin
libguestfs: trace: add_drive "/tmp/libguestfs-test-tool-sda-bmg8Nz" 
"format:raw"
libguestfs: trace: add_drive = 0
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version *>
library version: 1.19.66ALTLinux,release=1.19.66-alt1
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_attach_method
libguestfs: trace: get_attach_method = "appliance"
guestfs_get_attach_method: appliance
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/tmp/.private/root"
guestfs_get_cachedir: /tmp/.private/root
libguestfs: trace: get_direct
libguestfs: trace: get_direct = 0
guestfs_get_direct: 0
libguestfs: trace: get_memsize
libguestfs: trace: get_memsize = 500
guestfs_get_memsize: 500
libguestfs: trace: get_network
libguestfs: trace: get_network = 0
guestfs_get_network: 0
libguestfs: trace: get_path
libguestfs: trace: get_path = "/usr/lib64/guestfs"
guestfs_get_path: /usr/lib64/guestfs
libguestfs: trace: get_pgroup
libguestfs: trace: get_pgroup = 0
guestfs_get_pgroup: 0
libguestfs: trace: get_qemu
libguestfs: trace: get_qemu = "/usr/bin/qemu-kvm"
guestfs_get_qemu: /usr/bin/qemu-kvm
libguestfs: trace: get_recovery_proc
libguestfs: trace: get_recovery_proc = 1
guestfs_get_recovery_proc: 1
libguestfs: trace: get_selinux
libguestfs: trace: get_selinux = 0
guestfs_get_selinux: 0
libguestfs: trace: get_smp
libguestfs: trace: get_smp = 1
guestfs_get_smp: 1
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp/.private/root"
guestfs_get_tmpdir: /tmp/.private/root
libguestfs: trace: get_trace
libguestfs: trace: get_trace = 1
guestfs_get_trace: 1
libguestfs: trace: get_verbose
libguestfs: trace: get_verbose = 1
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 600 seconds.
libguestfs: trace: launch
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp/.private/root"
libguestfs: error: cannot find any suitable libguestfs supermin, fixed 
or old-style appliance on LIBGUESTFS_PATH (search path: /usr/lib64/guestfs)
libguestfs: trace: launch = -1 (error)
libguestfs-test-tool: failed to launch appliance
libguestfs: trace: close
libguestfs: closing guestfs handle 0x67ea20 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/.private/root/libguestfs47VetY


В guestfs-faq по этому поводу указано следующее:

libguestfs: error: cannot find any suitable libguestfs supermin, fixed 
or old-style appliance on LIBGUESTFS_PATH[This issue is fixed 
permanently in libguestfs ≥ 1.26.]

If you see any of these errors on Debian/Ubuntu, you need to run the 
following command:

|  sudo update-guestfs-appliance|


Команды этой в Alt'е нет, как и свежего пакета в репах P7. Так же 
советуют скачать appliance отдельно, но так как версия из P7 уже не 
поддерживается, то и appliance для неё нет:

http://libguestfs.org/download/binaries/appliance/


Как исправить ошибку сейчас, если не учитывать запрос на обновление 
libguestfs?

-- 
С уважением,
Четвериков Константин
Системный администратор
ООО „МАНН и ШРЁДЕР Руссланд“
Лихачевский пр-д.10, г. Долгопрудный 141700 МО
Тел. +7 (495) 617-617-2 доб. 212
e-mail: chetverikov@mann-schroeder.ru www.mann-schroeder.ru



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-02 12:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-02 12:56 [Comm] libguestfs и ошибка о отсутствии appliance "Четвериков К.В."

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git