bilelmsekni / OpenStack-Grizzly-Install-Guide

A full install guide for OpenStack Grizzly
352 stars 218 forks source link

errors on nova installation!!! #95

Closed comiq closed 11 years ago

comiq commented 11 years ago

During installation have the following errors:

apt-get install nova-api nova-cert nova-common nova-conductor nova-scheduler python-nova python-novaclient nova-consoleauth novnc nova-novncproxy

Reading package lists... Done Building dependency tree
Reading state information... Done nova-cert is already the newest version. nova-common is already the newest version. nova-conductor is already the newest version. nova-consoleauth is already the newest version. nova-novncproxy is already the newest version. nova-scheduler is already the newest version. novnc is already the newest version. python-nova is already the newest version. python-novaclient is already the newest version. python-novaclient set to manually installed.

... Setting up nova-common (1:2013.1.2-0ubuntu1~cloud0) ... usermod: no changes Command failed, please check log for more info 2013-07-04 19:42:35.741 5800 CRITICAL nova [-] <VerNum(83)> ... dpkg: error processing nova-common (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of novnc: novnc depends on nova-common; however: Package nova-common is not configured yet. ... dpkg: error processing nova-scheduler (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: nova-common novnc nova-api nova-cert nova-conductor nova-consoleauth nova-novncproxy nova-scheduler E: Sub-process /usr/bin/dpkg returned an error code (1)

Text of the error is big, so repeating errors I omitted. I tried dpkg -i --force-overwrite /var/cache/apt/archives/nova-... and the names of the above packages, but it also gives an error:

dpkg -i --force-overwrite nova-api_1%3a2013.1.2-0ubuntu1~cloud0_all.deb

(Reading database ... 251974 files and directories currently installed.) Preparing to replace nova-api 1:2013.1.2-0ubuntu1~cloud0 (using nova-api_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ... Unpacking replacement nova-api ... dpkg: dependency problems prevent configuration of nova-api: nova-api depends on nova-common (= 1:2013.1.2-0ubuntu1~cloud0); however: Package nova-common is not configured yet. dpkg: error processing nova-api (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Processing triggers for ureadahead ... Errors were encountered while processing: nova-api

Please, help me! My system is ubuntu 12.04 lts, 64 bits. env variables are set.

qarham commented 11 years ago

I am also facing similar issue, would you please let me know what was the fix?

Regards, Q

gabaxter66 commented 10 years ago

I've found that apt-get update seems to fix these kinds of things... Then rerun. Can not explain why it would make a difference.