Türkiye
Az konuş, çok çalış..

Forum

Bildirimler
Tümünü temizle

Could not find an installable distribution problemi

2 Yazılar
2 Üyeler
0 Reactions
2,368 Görüntüleme
(@ramazanaltintop)
Gönderiler: 5
Active Member
Konu başlatıcı
 
$ sudo virt-install 
> --name centos
> --memory=2048 --vcpus=2
> --location=/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso
> --disk /var/lib/libvirt/images/centos.qcow2
> --os-variant rhel7
> --network bridge=eth1
> --os-type=linux 
> --graphics none
> --console pty,target_type=serial
> --extra-args 'console=ttyS0,115200n8 serial'

[sudo] password for ramazan: 
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/handlers.py", line 68, in emit
    if self.shouldRollover(record):
  File "/usr/lib/python3.7/logging/handlers.py", line 184, in shouldRollover
    msg = "%sn" % self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not enough arguments for format string
Call stack:
  File "/usr/share/virt-manager/virt-install", line 955, in <module>
    sys.exit(main())
  File "/usr/share/virt-manager/virt-install", line 943, in main
    guest, installer = build_guest_instance(conn, options)
  File "/usr/share/virt-manager/virt-install", line 539, in build_guest_instance
    set_distro_variant(options, guest, installer)
  File "/usr/share/virt-manager/virt-install", line 317, in set_distro_variant
    guest.set_os_name(distro)
  File "/usr/share/virt-manager/virtinst/guest.py", line 261, in set_os_name
    obj = OSDB.lookup_os(name)
  File "/usr/share/virt-manager/virtinst/osdict.py", line 200, in lookup_os
    "This alias will be removed in the future."), (key, alias))
Message: "OS name '%s' is deprecated, using '%s' instead. This alias will be removed in the future."
Arguments: (('rhel7', 'rhel7.0'),)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not enough arguments for format string
Call stack:
  File "/usr/share/virt-manager/virt-install", line 955, in <module>
    sys.exit(main())
  File "/usr/share/virt-manager/virt-install", line 943, in main
    guest, installer = build_guest_instance(conn, options)
  File "/usr/share/virt-manager/virt-install", line 539, in build_guest_instance
    set_distro_variant(options, guest, installer)
  File "/usr/share/virt-manager/virt-install", line 317, in set_distro_variant
    guest.set_os_name(distro)
  File "/usr/share/virt-manager/virtinst/guest.py", line 261, in set_os_name
    obj = OSDB.lookup_os(name)
  File "/usr/share/virt-manager/virtinst/osdict.py", line 200, in lookup_os
    "This alias will be removed in the future."), (key, alias))
Message: "OS name '%s' is deprecated, using '%s' instead. This alias will be removed in the future."
Arguments: (('rhel7', 'rhel7.0'),)

Kurulum başlatılıyor...
ERROR    Could not find an installable distribution at '/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso'

The location must be the root directory of an install tree.
See virt-install man page for various distro examples.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start centos
otherwise, please restart your installation.

aynı kodu --debug ile yazdığımda ise aşağıdaki çıktıyı alıyorum

[Cum, 30 Kas 2018 10:24:51 virt-install 7707] DEBUG (cli:200) Launched with command line: /usr/share/virt-manager/virt-install --name centos --memory=2048 --vcpus=2 --location=/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso --disk /var/lib/libvirt/images/centos.qcow2 --os-variant rhel7 --network bridge=eth1 --os-type=linux --graphics none --console pty,target_type=serial --extra-args console=ttyS0,115200n8 serial --debug
[Cum, 30 Kas 2018 10:24:51 virt-install 7707] DEBUG (virt-install:243) Distilled --network options: ['bridge=eth1']
[Cum, 30 Kas 2018 10:24:51 virt-install 7707] DEBUG (virt-install:159) Distilled --disk options: ['/var/lib/libvirt/images/centos.qcow2']
[Cum, 30 Kas 2018 10:24:51 virt-install 7707] DEBUG (cli:214) Requesting libvirt URI default
[Cum, 30 Kas 2018 10:24:51 virt-install 7707] DEBUG (cli:217) Received libvirt URI qemu:///system
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/handlers.py", line 68, in emit
    if self.shouldRollover(record):
  File "/usr/lib/python3.7/logging/handlers.py", line 184, in shouldRollover
    msg = "%sn" % self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not enough arguments for format string
Call stack:
  File "/usr/share/virt-manager/virt-install", line 955, in <module>
    sys.exit(main())
  File "/usr/share/virt-manager/virt-install", line 943, in main
    guest, installer = build_guest_instance(conn, options)
  File "/usr/share/virt-manager/virt-install", line 539, in build_guest_instance
    set_distro_variant(options, guest, installer)
  File "/usr/share/virt-manager/virt-install", line 317, in set_distro_variant
    guest.set_os_name(distro)
  File "/usr/share/virt-manager/virtinst/guest.py", line 261, in set_os_name
    obj = OSDB.lookup_os(name)
  File "/usr/share/virt-manager/virtinst/osdict.py", line 200, in lookup_os
    "This alias will be removed in the future."), (key, alias))
Message: "OS name '%s' is deprecated, using '%s' instead. This alias will be removed in the future."
Arguments: (('rhel7', 'rhel7.0'),)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not enough arguments for format string
Call stack:
  File "/usr/share/virt-manager/virt-install", line 955, in <module>
    sys.exit(main())
  File "/usr/share/virt-manager/virt-install", line 943, in main
    guest, installer = build_guest_instance(conn, options)
  File "/usr/share/virt-manager/virt-install", line 539, in build_guest_instance
    set_distro_variant(options, guest, installer)
  File "/usr/share/virt-manager/virt-install", line 317, in set_distro_variant
    guest.set_os_name(distro)
  File "/usr/share/virt-manager/virtinst/guest.py", line 261, in set_os_name
    obj = OSDB.lookup_os(name)
  File "/usr/share/virt-manager/virtinst/osdict.py", line 200, in lookup_os
    "This alias will be removed in the future."), (key, alias))
Message: "OS name '%s' is deprecated, using '%s' instead. This alias will be removed in the future."
Arguments: (('rhel7', 'rhel7.0'),)
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (guest:266) Setting Guest osinfo <_OsVariant name=rhel7.0>
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (virt-install:587) Guest.has_install_phase: True

Kurulum başlatılıyor...
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urlfetcher:37) Using scratchdir=/var/lib/libvirt/boot
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urldetect:242) Finding distro store for location=/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urldetect:255) variant=rhel7.0 has distro=rhel, looking for matching distro store to prioritize
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urldetect:262) Prioritizing distro store=<class 'virtinst.urldetect.RHELDistro'>
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urlfetcher:316) Running isoinfo: ['isoinfo', '-J', '-i', '/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso', '-f']
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urldetect:40) Failed to acquire file=.treeinfo
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urlfetcher:316) Running isoinfo: ['isoinfo', '-J', '-i', '/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso', '-f']
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urldetect:40) Failed to acquire file=content
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urlfetcher:316) Running isoinfo: ['isoinfo', '-J', '-i', '/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso', '-f']
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urldetect:40) Failed to acquire file=current/images/MANIFEST
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urlfetcher:316) Running isoinfo: ['isoinfo', '-J', '-i', '/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso', '-f']
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urldetect:40) Failed to acquire file=daily/MANIFEST
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urlfetcher:316) Running isoinfo: ['isoinfo', '-J', '-i', '/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso', '-f']
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urldetect:40) Failed to acquire file=.disk/info
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urlfetcher:316) Running isoinfo: ['isoinfo', '-J', '-i', '/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso', '-f']
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (urldetect:40) Failed to acquire file=VERSION
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (cli:253)  File "/usr/share/virt-manager/virt-install", line 955, in <module>
    sys.exit(main())
  File "/usr/share/virt-manager/virt-install", line 949, in main
    start_install(guest, installer, options)
  File "/usr/share/virt-manager/virt-install", line 625, in start_install
    fail(e, do_exit=False)
  File "/usr/share/virt-manager/virtinst/cli.py", line 253, in fail
    logging.debug("".join(traceback.format_stack()))

[Cum, 30 Kas 2018 10:24:52 virt-install 7707] ERROR (cli:254) Could not find an installable distribution at '/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso'

The location must be the root directory of an install tree.
See virt-install man page for various distro examples.
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (cli:256)
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-install", line 598, in start_install
    transient=options.transient)
  File "/usr/share/virt-manager/virtinst/installer.py", line 405, in start_install
    self._prepare(guest, meter)
  File "/usr/share/virt-manager/virtinst/installer.py", line 160, in _prepare
    k, i, a = self._treemedia.prepare(guest, meter)
  File "/usr/share/virt-manager/virtinst/installertreemedia.py", line 149, in prepare
    return self._prepare_kernel_url(guest, fetcher)
  File "/usr/share/virt-manager/virtinst/installertreemedia.py", line 116, in _prepare_kernel_url
    store = self._get_store(guest, fetcher)
  File "/usr/share/virt-manager/virtinst/installertreemedia.py", line 112, in _get_store
    self._cached_store = urldetect.getDistroStore(guest, fetcher)
  File "/usr/share/virt-manager/virtinst/urldetect.py", line 290, in getDistroStore
    (fetcher.location, extramsg)))
ValueError: Could not find an installable distribution at '/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1804.iso'

The location must be the root directory of an install tree.
See virt-install man page for various distro examples.
[Cum, 30 Kas 2018 10:24:52 virt-install 7707] DEBUG (cli:267) Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start centos
otherwise, please restart your installation.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start centos
otherwise, please restart your installation.
 
Gönderildi : 30/11/2018 5:25 am
tulliana
(@tulliana)
Gönderiler: 3517
Famed Member Admin
 

Derleme yapmak istediğiniz paketi kendi kaynak dosyalarından değil de AUR deposunda var ise oradan derlemenizi öneririm. Dağıtımlara göre bağımlılıklarda değişkenler olabiliyor ve bu da derleme hatalarına sebep olabiliyor. Arch yapısına göre hazırlanmış paketlerden derleyip kurunuz. AUR depolarından trizen kullanarak derleyiniz.

archman.org - Bizi bilen iyi bilir, bilmeyen de kendi gibi bilir.!

 
Gönderildi : 30/11/2018 4:52 pm
Paylaş:
Translate »