Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 1206  / 2 Years ago, wed, august 31, 2022, 12:57:57

I am running lucid and want to build an oneiric vm using vmbuilder.



I run this command:



sudo vmbuilder kvm ubuntu --suite oneiric --flavour virtual 
--arch i386 -o --libvirt qemu:///system --user user --name user
--pass user --addpkg imagemagick --mirror http://localhost:9999/ubuntu
--addpkg acpid


and get this error message:



VMBuilder.exception.VMBuilderUserError: Invalid suite: "oneiric". Valid suites are: dapper gutsy hardy intrepid jaunty karmic lucid


How can I add the ability to create VMs for newer releases?


More From » 11.10

 Answers
0

I tried adding the vmbuilder team's PPA and pulling their "daily" build for lucid, but the build in the PPA appears to be several revisions behind bzr and only has support up to maverick.



Instead, I built the package directly from bzr. Living on the bleeding edge is not ideal for various reasons, but here's what I did:



sudo apt-get install bzr
sudo apt-get build-dep --no-install-recommends ubuntu-vm-builder
bzr branch lp:ubuntu/vm-builder ubzr-vm-builder
cd ubzr-vm-builder
fakeroot debian/rules binary
sudo dpkg -i ../*vm-builder*.deb


When I run the command in the question, I no longer get the error message about an invalid suite.


[#42445] Thursday, September 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
taigysel

Total Points: 33
Total Questions: 136
Total Answers: 114

Location: Singapore
Member since Wed, Jan 13, 2021
3 Years ago
;