← Back to team overview

openstack team mailing list archive

Re: Problem installing Nova 2012.2

 

Le 04/10/2012 14:51, Daviey Walker a écrit :
On 4 October 2012 13:02, Bilel Msekni <skible@xxxxxxxxxx> wrote:
Le 04/10/2012 13:56, Daviey Walker a écrit :

On 4 October 2012 12:51, Bilel Msekni <skible@xxxxxxxxxx> wrote:

Hi Stackers,

I am encountering a problem when i do this: apt-get -y install nova-common
nova-compute nova-volume nova-vncproxy nova-api nova-ajax-console-proxy
nova-cert nova-consoleauth nova-doc nova-scheduler nova-network

It replies back with : The following packages have unmet dependencies:
  nova-vncproxy : Depends: nova-common (=
2012.2+git201209200431~precise-0ubuntu1) but
2012.2+git201209250431~precise-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.


Does anyone have an idea how to fix this ?

<SNIP>

Where are you trying to install this from?

The following output would be helpful, please:
$ apt-cache policy nova-common

This is what  apt-cache policy nova-common is giving me :
======================================
nova-common:
   Installed: 2012.2-0ubuntu3~cloud0
   Candidate: 2012.2-0ubuntu3~cloud0
   Version table:
  *** 2012.2-0ubuntu3~cloud0 0
         500 http://ubuntu-cloud.archive.canonical.com/ubuntu/
precise-updates/folsom/main amd64 Packages
         100 /var/lib/dpkg/status
      2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 0
         500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64
Packages
      2012.1+stable~20120612-3ee026e-0ubuntu1.3 0
         500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64
Packages
      2012.1-0ubuntu2 0
         500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
========================================

i am following the
http://docs.openstack.org/trunk/openstack-compute/install/apt/content/
install guide so i am installing using the deb
http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/folsom main

I am not the only one experiencing this problem, check this :
https://answers.launchpad.net/nova/+question/210171
Hi,

This seems to be a change introduced after Folsom milestone 3, which
the documentation reflects.  In your apt-get install line, can you
replace nova-vncproxy with nova-novncproxy.

Therefore:
$ sudo apt-get -y install nova-common nova-compute nova-volume
nova-novncproxy nova-api nova-ajax-console-proxy nova-cert
nova-consoleauth nova-doc nova-scheduler nova-network

Please let me know if this doesn't resolve the issue for you.

Thanks.

Your solution works like a charm.
I guess the documentation is really outdated, i will signal that.


Follow ups

References