Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1239  / 2 Years ago, thu, october 20, 2022, 11:17:47

My system:



#uname -a
Linux hostname 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


I am trying build a VM ( https://help.ubuntu.com/community/KVM/CreateGuests ) with this command:



#ubuntu-vm-builder kvm trusty --libvirt qemu:///system


But in the end it fails with this error:



Unpacking linux-image-virtual (3.13.0.58.65) ...
, stderr: grep: /proc/cpuinfo: No such file or directory
**This kernel does not support a non-PAE CPU.**
dpkg: error processing archive /var/cache/apt/archives/linux-image-3.13.0-58-generic_3.13.0-58.97_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-58-generic /boot/vmlinuz-3.13.0-58-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-58-generic /boot/vmlinuz-3.13.0-58-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.13.0-58-generic_3.13.0-58.97_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Looks like I do have a PAE CPU...



 #grep -i PAE /proc/cpuinfo
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36


I want to build and host KVM VMs on this server. What am I doing wrong?



UPDATE: I am testing it with --addpkg linux-image-generic


More From » kernel

 Answers
5

The solution is to add the argument:



   --addpkg linux-image-generic

[#18958] Saturday, October 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fulpu

Total Points: 116
Total Questions: 118
Total Answers: 104

Location: Solomon Islands
Member since Fri, Oct 8, 2021
3 Years ago
;