Ask Your Question
1

sub-process /usr/bin/dpkg returned an error code (1)

asked 2014-11-25 22:49:14 -0600

updated 2014-11-25 22:52:00 -0600

firstly i installed nova-compute in my system and did few mistakes like mismatching the id's of endpoint with keystone.

then i purged the entire nova file using command apt-get autoremove --y --purge nova-api nova-cert nova-consoleauth nova-scheduler nova-conductor ......

then i wanted to reinstall the whole nova process then i started downloading using command

apt-get install nova-api nova-cert nova-consoleauth nova-scheduler nova-conductor...

and its just the basic download process so no log file also. the following output comes in terminal.

image description

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2014-11-26 00:31:14 -0600

Vinoth gravatar image

Try this ,

sudo apt-get remove --purge <package>

sudo apt-get remove install-info

sudo apt-get autoremove

sudo apt-get clean

sudo apt-get update

sudo apt-get install -f

edit flag offensive delete link more

Comments

hello vinoth

will these commands also remove log files from /var/log/nova

PradeepNaik gravatar imagePradeepNaik ( 2014-11-26 01:36:57 -0600 )edit

yes, Removing package also remove the log file. If you want those log files , then backup / copy the entire folder to the other location.

Vinoth gravatar imageVinoth ( 2014-11-26 02:20:24 -0600 )edit
2

answered 2014-11-26 04:12:13 -0600

Kashyap Kopparam gravatar image

Pradeep you have to run the apt-get command with --configure flag. The nova-common and nova-api packages in your machine are not configured to get the dependencies. Please run $ sudo apt-get install nova-api nova-common --configure.

PS: Please copy the text in the terminal and post it here as code text, it is easier to read, less data to download for us and you can post more text than what your screen can display at once :).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-11-25 22:49:14 -0600

Seen: 737 times

Last updated: Nov 26 '14