Public bug reported: When trying to create Ubuntu 8.04 Hardy virtual machine under Ubuntu 8.10 Interpid the installation refers to unknown package " linux-image- virtual". I assume this is because the guest Hardy has such a package, but Interpid does not.
[EMAIL PROTECTED]:31][~]% sudo vmbuilder kvm ubuntu --mem 512 --ip=84.20.128.35 --name admin --pass adminpw --firstlogin=boot.sh --raw=/dev/vg01/harvinaiset --addpkg acpid -o --suite hardy --flavour virtual --libvirt qemu:///system 2008-11-03 23:32:05,711 INFO Adding partition table to disk image: /dev/vg01/harvinaiset 2008-11-03 23:32:05,776 INFO Adding type 1 partition to disk image: /dev/vg01/harvinaiset 2008-11-03 23:32:05,872 INFO Adding type 3 partition to disk image: /dev/vg01/harvinaiset 2008-11-03 23:32:05,950 INFO device-mapper: remove ioctl failed: Device or resource busy 2008-11-03 23:32:05,951 INFO device-mapper: create ioctl failed: Device or resource busy 2008-11-03 23:32:05,953 INFO Creating loop devices corresponding to the created partitions 2008-11-03 23:32:05,977 INFO Creating file systems 2008-11-03 23:32:05,981 INFO mke2fs 1.41.3 (12-Oct-2008) 2008-11-03 23:32:08,314 INFO Mounting target filesystems 2008-11-03 23:32:08,380 INFO Installing guest operating system. This might take some time... 2008-11-03 23:33:43,944 INFO Can not write log, openpty() failed (/dev/pts not mounted?) 2008-11-03 23:33:43,976 INFO Moving old data out of the way 2008-11-03 23:33:44,071 INFO Can not write log, openpty() failed (/dev/pts not mounted?) 2008-11-03 23:33:44,397 INFO Searching for GRUB installation directory ... found: /boot/grub 2008-11-03 23:33:44,963 INFO Searching for default file ... Generating /boot/grub/default file and setting the default boot entry to 0 2008-11-03 23:33:44,964 INFO Searching for GRUB installation directory ... found: /boot/grub 2008-11-03 23:33:44,969 INFO Testing for an existing GRUB menu.lst file ... 2008-11-03 23:33:44,969 INFO 2008-11-03 23:33:44,969 INFO Could not find /boot/grub/menu.lst file. 2008-11-03 23:33:44,969 INFO Generating /boot/grub/menu.lst 2008-11-03 23:33:45,036 INFO Searching for splash image ... none found, skipping ... 2008-11-03 23:33:45,139 INFO grep: /boot/config*: No such file or directory 2008-11-03 23:33:45,193 INFO Updating /boot/grub/menu.lst ... done 2008-11-03 23:33:45,193 INFO 2008-11-03 23:33:45,376 INFO Searching for GRUB installation directory ... found: /boot/grub 2008-11-03 23:33:45,438 INFO Searching for default file ... found: /boot/grub/default 2008-11-03 23:33:45,439 INFO Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst 2008-11-03 23:33:45,533 INFO Searching for splash image ... none found, skipping ... 2008-11-03 23:33:45,555 INFO grep: /boot/config*: No such file or directory 2008-11-03 23:33:45,613 INFO Updating /boot/grub/menu.lst ... done 2008-11-03 23:33:45,613 INFO 2008-11-03 23:33:45,655 INFO Searching for GRUB installation directory ... found: /boot/grub 2008-11-03 23:33:45,895 INFO E: Package linux-image-virtual has no installation candidate 2008-11-03 23:33:45,897 INFO Cleaning up Traceback (most recent call last): File "/usr/bin/vmbuilder", line 29, in <module> VMBuilder.run() File "/usr/lib/python2.5/site-packages/VMBuilder/__init__.py", line 66, in run frontend.run() File "/usr/lib/python2.5/site-packages/VMBuilder/plugins/cli/__init__.py", line 67, in run vm.create() File "/usr/lib/python2.5/site-packages/VMBuilder/vm.py", line 453, in create raise e VMBuilder.exception.VMBuilderException: Process (['chroot', '/tmp/vmbuilder4F0_wG/root', 'apt-get', '--force-yes', '-y', 'install', 'linux-image-virtual', 'grub']) returned 100. stdout: Reading package lists... Building dependency tree... Reading state information... Package linux-image-virtual is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source , stderr: E: Package linux-image-virtual has no installation candidate ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- Can't install Hardy virtual machine under Interpid https://bugs.launchpad.net/bugs/293299 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs