[Pkg-libvirt-maintainers] Bug#604532: virtinst: Cannot install Lenny guest over HTTP
Tom Grace
tom at deathbycomputers.co.uk
Mon Nov 22 17:25:07 UTC 2010
Package: virtinst
Version: 0.400.0-7
Severity: normal
Tags: patch
The virt-install command uses Redhat style CPU arch naming, causing an error fetching the kernel and initrd from the mirror.
I've worked around this by hardcoding the arch in the file /usr/share/python-support/virtinst/virtinst/OSDistro.py thus:
538,539c538,539
< kernelpath = "%s/netboot/debian-installer/%s/linux" % (self._prefix, self.arch)
< initrdpath = "%s/netboot/debian-installer/%s/initrd.gz" % (self._prefix, self.arch)
---
> kernelpath = "%s/netboot/debian-installer/amd64/linux" % (self._prefix)
> initrdpath = "%s/netboot/debian-installer/amd64/initrd.gz" % (self._prefix)
This isn't a real fix, more of a quick hack, but it does get the installer to run.
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages virtinst depends on:
ii python 2.5.2-3 An interactive high-level object-o
ii python-libvirt 0.4.6-10 libvirt Python bindings
ii python-libxml2 2.6.32.dfsg-5+lenny1 Python bindings for the GNOME XML
ii python-support 0.8.4lenny2 automated rebuilding support for P
ii python-urlgrabber 3.1.0-4 A high-level cross-protocol url-gr
Versions of packages virtinst recommends:
ii qemu 0.9.1-10lenny1 fast processor emulator
ii virt-viewer 0.0.3-2 Displaying the graphical console o
virtinst suggests no packages.
-- debconf-show failed
More information about the Pkg-libvirt-maintainers
mailing list