Comment 0 for bug 1656457

Revision history for this message
Sarath (nsarath) wrote : Vcenter-only: Fresh install 3.1#52 fab upgrade_contrail fails due to unmet dependencies default-jre-headless

During Fresh install 3.1 build 52, fab upgrade_contrail fails due to unmet dependencies and please find below the fab logs,

<--snip-->
2017-01-14 05:10:06:926517: [root@10.204.216.61] Executing task 'install_database'
2017-01-14 05:10:06:926624: [root@10.204.216.61] sudo: python -c 'from platform import linux_distribution; print linux_distribution()'
2017-01-14 05:10:06:926760: [root@10.204.216.61] out: ('Ubuntu', '14.04', 'trusty')
2017-01-14 05:10:06:944482: [root@10.204.216.61] out:
2017-01-14 05:10:06:947856:
2017-01-14 05:10:06:960658: [root@10.204.216.61] sudo: python -c 'from platform import linux_distribution; print linux_distribution()'
2017-01-14 05:10:06:960813: [root@10.204.216.61] out: ('Ubuntu', '14.04', 'trusty')
2017-01-14 05:10:07:025261: [root@10.204.216.61] out:
2017-01-14 05:10:07:025421:
2017-01-14 05:10:07:025712: [root@10.204.216.61] sudo: echo "manual" >> /etc/init/supervisor-database.override
2017-01-14 05:10:07:025897: [root@10.204.216.61] sudo: python -c 'from platform import linux_distribution; print linux_distribution()'
2017-01-14 05:10:07:069231: [root@10.204.216.61] out: ('Ubuntu', '14.04', 'trusty')
2017-01-14 05:10:07:149505: [root@10.204.216.61] out:
2017-01-14 05:10:07:152904:
2017-01-14 05:10:07:165879: [root@10.204.216.61] sudo: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install default-jre-headless
2017-01-14 05:10:07:166039: [root@10.204.216.61] out:
2017-01-14 05:10:07:230538: [root@10.204.216.61] out: Reading package lists... 0%
2017-01-14 05:10:07:230649: [root@10.204.216.61] out:
2017-01-14 05:10:07:230747: [root@10.204.216.61] out: Reading package lists... 100%
2017-01-14 05:10:07:230818: [root@10.204.216.61] out:
2017-01-14 05:10:07:230893: [root@10.204.216.61] out: Reading package lists... Done
2017-01-14 05:10:07:230947: [root@10.204.216.61] out:
2017-01-14 05:10:07:231000: [root@10.204.216.61] out:
2017-01-14 05:10:07:262551: [root@10.204.216.61] out: Building dependency tree... 0%
2017-01-14 05:10:07:262681: [root@10.204.216.61] out:
2017-01-14 05:10:07:262734: [root@10.204.216.61] out: Building dependency tree... 0%
2017-01-14 05:10:07:262774: [root@10.204.216.61] out:
2017-01-14 05:10:07:262822: [root@10.204.216.61] out: Building dependency tree... 50%
2017-01-14 05:10:07:262862: [root@10.204.216.61] out:
2017-01-14 05:10:07:262919: [root@10.204.216.61] out: Building dependency tree... 50%
2017-01-14 05:10:07:263032: [root@10.204.216.61] out:
2017-01-14 05:10:07:264372: [root@10.204.216.61] out: Building dependency tree
2017-01-14 05:10:07:264443: [root@10.204.216.61] out:
2017-01-14 05:10:07:264487: [root@10.204.216.61] out:
2017-01-14 05:10:07:264528: [root@10.204.216.61] out: Reading state information... 0%
2017-01-14 05:10:07:264569: [root@10.204.216.61] out:
2017-01-14 05:10:07:264610: [root@10.204.216.61] out: Reading state information... 0%
2017-01-14 05:10:07:264650: [root@10.204.216.61] out:
2017-01-14 05:10:07:264690: [root@10.204.216.61] out: Reading state information... Done
2017-01-14 05:10:07:264730: [root@10.204.216.61] out:
2017-01-14 05:10:07:264771: [root@10.204.216.61] out: Some packages could not be installed. This may mean that you have
2017-01-14 05:10:07:296474: [root@10.204.216.61] out: requested an impossible situation or if you are using the unstable
2017-01-14 05:10:07:296548: [root@10.204.216.61] out: distribution that some required packages have not yet been created
2017-01-14 05:10:07:296592: [root@10.204.216.61] out: or been moved out of Incoming.
2017-01-14 05:10:07:296635: [root@10.204.216.61] out: The following information may help to resolve the situation:
2017-01-14 05:10:07:296678: [root@10.204.216.61] out:
2017-01-14 05:10:07:296719: [root@10.204.216.61] out: The following packages have unmet dependencies:
2017-01-14 05:10:07:296759: [root@10.204.216.61] out: default-jre-headless : Depends: openjdk-7-jre-headless (>= 7~u3-2.1.1) but it is not going to be installed
2017-01-14 05:10:07:296800: [root@10.204.216.61] out: E: Unable to correct problems, you have held broken packages.
2017-01-14 05:10:07:296848: [root@10.204.216.61] out:
2017-01-14 05:10:07:297153:

2017-01-14 05:10:07:299441: Fatal error: sudo() received nonzero return code 100 while executing!
2017-01-14 05:10:07:299441:
2017-01-14 05:10:07:299441: Requested: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install default-jre-headless
2017-01-14 05:10:07:299441: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install default-jre-headless"
2017-01-14 05:10:07:299441:
2017-01-14 05:10:07:299464: Aborting.
2017-01-14 05:10:07:299464: 2017-01-14 05:10:07:299369: Disconnecting from 10.204.216.182... done.
2017-01-14 05:10:07:393718: Disconnecting from 10.204.216.61... done.
2017-01-14 05:10:07:487397: Disconnecting from 10.204.216.63... done.
2017-01-14 05:10:07:524817: Disconnecting from 10.204.216.181... done.
2017-01-14 05:10:07:610955: Disconnecting from 10.204.216.62... done.
2017-01-14 05:10:07:681688: Disconnecting from 10.204.216.183... done.
2017-01-14 05:10:07:713209: Connection to 10.204.216.61 closed.