contrail-installer icon indicating copy to clipboard operation
contrail-installer copied to clipboard

Opencontrail Install Fails on nodejs Dependancy

Open lkmhaqer opened this issue 8 years ago • 3 comments

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

lkmhaqer avatar Nov 14 '16 22:11 lkmhaqer

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

almightyyeh avatar Mar 31 '17 10:03 almightyyeh

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.25~dfsg2-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 avatar Oct 19 '17 11:10 thaxir

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

thaxir avatar Oct 19 '17 13:10 thaxir