Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opencontrail Install Fails on nodejs Dependancy #140

Open
lkmhaqer opened this issue Nov 14, 2016 · 3 comments
Open

Opencontrail Install Fails on nodejs Dependancy #140

lkmhaqer opened this issue Nov 14, 2016 · 3 comments

Comments

@lkmhaqer
Copy link

lkmhaqer commented Nov 14, 2016

It appears contrail-installer/contrail-web-core in Ubuntu 14.04 have the wrong dependency when I attempted this install today.

Depends: nodejs (= 0.8.15-1contrail1) but 0.10.35-1contrail1 is to be installed

Partial log from failure:

2016-11-14 16:39:20 Reading package lists...
2016-11-14 16:39:20 Building dependency tree...
2016-11-14 16:39:20 Reading state information...
2016-11-14 16:39:20 contrail-config-openstack is already the newest version.
2016-11-14 16:39:20 ++ return_status=0
2016-11-14 16:39:20 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2016-11-14 16:39:20 ++ [[ 0 -gt 0 ]]
2016-11-14 16:39:20 ++ apt_get install contrail-web-core
2016-11-14 16:39:20 ++ [[ '' = \T\r\u\e ]]
2016-11-14 16:39:20 ++ [[ -z install contrail-web-core ]]
2016-11-14 16:39:20 ++ local sudo=sudo
2016-11-14 16:39:20 +++ id -u
2016-11-14 16:39:20 ++ [[ 1000 = \0 ]]
2016-11-14 16:39:20 ++ sudo DEBIAN_FRONTEND=noninteractive http_proxy= https_proxy= no_proxy= apt-get --option Dpkg::Options::=--force-confold --force-yes --assume-yes install contrail-web-core
2016-11-14 16:39:20 Reading package lists...
2016-11-14 16:39:20 Building dependency tree...
2016-11-14 16:39:20 Reading state information...
2016-11-14 16:39:21 Some packages could not be installed. This may mean that you have
2016-11-14 16:39:21 requested an impossible situation or if you are using the unstable
2016-11-14 16:39:21 distribution that some required packages have not yet been created
2016-11-14 16:39:21 or been moved out of Incoming.
2016-11-14 16:39:21 The following information may help to resolve the situation:
2016-11-14 16:39:21
2016-11-14 16:39:21 The following packages have unmet dependencies:
2016-11-14 16:39:21 contrail-web-core : Depends: nodejs (= 0.8.15-1contrail1) but 0.10.35-1contrail1 is to be installed
2016-11-14 16:39:21 E: Unable to correct problems, you have held broken packages.
2016-11-14 16:39:21 ++ return_status=100
2016-11-14 16:39:21 Failure in installing package : install contrail-web-core
2016-11-14 16:39:21 ++ [[ 100 -gt 0 ]]
2016-11-14 16:39:21 exited with status :100
2016-11-14 16:39:21 ++ echo -e 'Failure in installing package : install' contrail-web-core
2016-11-14 16:39:21 ++ exit 100
2016-11-14 16:39:21 ++ clean
2016-11-14 16:39:21 ++ local r=100
2016-11-14 16:39:21 ++ echo 'exited with status :100'
2016-11-14 16:39:21 ++ exit 100

@almightyyeh
Copy link

almightyyeh commented Mar 31, 2017

I resolve the issue with manual remove newest package installed by apt repository and re-install .deb package and it's workaround pass the contrail-web-core installation.

download url : https://launchpad.net/~opencontrail/+archive/ubuntu/ppa/+build/6017529/+files/nodejs_0.8.15-1contrail1_amd64.deb

@thaxir
Copy link

thaxir commented Oct 19, 2017

I face the same problem with you @almightyyeh but the deb package you suggest doesn't solve the problem.Here is my logs

2017-10-19 14:56:53 Errors were encountered while processing:
2017-10-19 14:56:53 /var/cache/apt/archives/nodejs-legacy_0.10.25dfsg2-2ubuntu1_all.deb
-VirtualBox:
/contrail-installer$ 2017-10-19 14:56:55 Failure in installing package : install contrail-web-core
2017-10-19 14:56:55 E: Sub-process /usr/bin/dpkg returned an error code (1)
2017-10-19 14:56:55 exited with status :100

@thaxir
Copy link

thaxir commented Oct 19, 2017

Ok I ve just managed to solve it following this post
https://stackoverflow.com/questions/34232581/nodejs-legacy-does-not-install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants