vmbuilder completely fails on Quantal due to kernel pae detection failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Impact: this appears to stop vmbuilder from creating a Quantal VM completely.
Evidently the kernel package now looks for /proc/cpuinfo in order to check for PAE support (since PAE support is going away in Quantal). I think this is failing because /proc doesn't exist in the environment that vmbuilder is using.
Tested on a fresh Quantal cloud image, dist-upgraded and python-vm-builder installed from the current Quantal archive. The only catch here is that I did it on a virtual image, but I can't see how that would affect this.
Possible solution: mount /proc inside the chroot?
Log:
Selecting previously unselected package linux-image-
Unpacking linux-image-virtual (from .../linux-
, stderr: grep: /proc/cpuinfo: No such file or directory
This kernel does not support a non-PAE CPU.
dpkg: error processing /var/cache/
subprocess new pre-installation script returned error exit status 1
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python-vm-builder 0.12.4+
ProcVersionSign
Uname: Linux 3.5.0-9-generic x86_64
Architecture: amd64
Date: Thu Aug 16 14:43:35 2012
PackageArchitec
ProcEnviron:
TERM=xterm
LC_COLLATE=C
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: vm-builder
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: xenial |
thanks, confirmed i can reproduce.