[Bug 965476] Re: lxc-create fails creating a Precise container on an Oneiric host

Serge Hallyn 965476 at bugs.launchpad.net
Mon Mar 26 17:22:23 UTC 2012


** Description changed:

- The lxc-create command fails when using the ubuntu template to install a
- Precise guest on an Oneiric host.  This is because the template tries to
- install the lxcguest package in the Precise container, but that package
- is no longer present in Precise.
+ ================================================
+ SRU Justification:
+ 1. Impact: creating precise containers fails
+ 2. Development fix: don't install lxcguest when creating precise containers
+ 3. Stable fix: same as development fix
+ 4. Test case: create a precise container on an oneiric host
+ 5. Regression potential: none
+ ================================================
+ The lxc-create command fails when using the ubuntu template to install a Precise guest on an Oneiric host.  This is because the template tries to install the lxcguest package in the Precise container, but that package is no longer present in Precise.
  
  Steps to reproduce:
  
  On an Oneiric host, run:
  
-  1.  sudo lxc-create -t ubuntu -n myguest -f myguest.conf -- -r precise
+  1.  sudo lxc-create -t ubuntu -n myguest -f myguest.conf -- -r precise
  -a i386
  
  What is supposed to happen:
  
-  * The container should be successfully created.
+  * The container should be successfully created.
  
  What actually happens:
  
-  * Container creation fails with the following console output:
+  * Container creation fails with the following console output:
  
  {{{
  ...
  Building dependency tree...
  Package lxcguest 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
  
  E: Package 'lxcguest' has no installation candidate
  failed to execute template 'ubuntu'
-  $
+  $
  }}}
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: lxc 0.7.5-0ubuntu8.5
  ProcVersionSignature: Ubuntu 3.0.0-16.29-generic 3.0.20
  Uname: Linux 3.0.0-16-generic x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Mon Mar 26 12:20:27 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110915.1)
  ProcEnviron:
-  LANGUAGE=en_CA:en
-  PATH=(custom, user)
-  LANG=en_CA.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_CA:en
+  PATH=(custom, user)
+  LANG=en_CA.UTF-8
+  SHELL=/bin/bash
  SourcePackage: lxc
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/965476

Title:
  lxc-create fails creating a Precise container on an Oneiric host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/965476/+subscriptions



More information about the Ubuntu-server-bugs mailing list