Ask Your Question
0

Deploy ODL fail using Anro SR1 due to apt-get install openjdk-7-jre-headless problem

asked 2015-11-19 01:32:25 -0800

zhifeng.jiang gravatar image

We deploy the HW pod with Anro SR1 fuel, meet the following problem when install odl on the control node.

2015-11-19 08:59:03 ERR (/Stage[main]/Main/Package[java-jre]/ensure) E: Unable to correct problems, you have held broken packages.

2015-11-19 08:59:03 ERR (/Stage[main]/Main/Package[java-jre]/ensure) openjdk-7-jre-headless : Depends: tzdata-java but it is not going to be installed

2015-11-19 08:59:03 ERR (/Stage[main]/Main/Package[java-jre]/ensure) The following packages have unmet dependencies:

2015-11-19 08:59:03 ERR (/Stage[main]/Main/Package[java-jre]/ensure)

2015-11-19 08:59:03 ERR (/Stage[main]/Main/Package[java-jre]/ensure) The following information may help to resolve the situation:

2015-11-19 08:59:03 ERR (/Stage[main]/Main/Package[java-jre]/ensure) or been moved out of Incoming.

2015-11-19 08:59:03 ERR (/Stage[main]/Main/Package[java-jre]/ensure) distribution that some required packages have not yet been created

2015-11-19 08:59:03 ERR (/Stage[main]/Main/Package[java-jre]/ensure) requested an impossible situation or if you are using the unstable

2015-11-19 08:59:03 ERR (/Stage[main]/Main/Package[java-jre]/ensure) Some packages could not be installed. This may mean that you have

2015-11-19 08:59:03 ERR (/Stage[main]/Main/Package[java-jre]/ensure) Reading state information...

2015-11-19 08:59:03 ERR (/Stage[main]/Main/Package[java-jre]/ensure) Building dependency tree...

2015-11-19 08:59:03 ERR (/Stage[main]/Main/Package[java-jre]/ensure) change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install openjdk-7-jre-headless' returned 100: Reading package lists...

Then we try to run the command "apt-get -q -y -o DPkg::Options::=--force-confold install openjdk-7-jre-headless' " one the control node by hand. We find the problem is due to the tzdata verison already installed on control node is G,but the depended on version by openjdk-7-jre-headless is F.

root@node-2:~# apt-get -q -y -o DPkg::Options::=--force-confold install openjdk-7-jre-headless Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: openjdk-7-jre-headless : Depends: tzdata-java but it is not going to be installed E: Unable to correct problems, you have held broken packages. root@node-2:~# apt-get -q -y -o DPkg::Options::=--force-confold install tzdata-java Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: tzdata-java : Depends: tzdata (= 2015f-0ubuntu0.14.04) but 2015g-0ubuntu0.14.04 is to be installed E: Unable to correct problems, you have held broken packages.

The ubuntu ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-11-20 13:23:48 -0800

mskalski gravatar image

updated 2015-11-20 13:25:00 -0800

Hi,

Plugin version shipped on Arno SR1 release should be rather used together with local mirrors than upstream repositories. In that case packages included in plugin match this one available on deployed environment. How to setup local mirrors you will find in installation guide. You can also build plugin from sources without included packages and then use upstream repositories. In this way you will get plugin with some additional fixes.

edit flag offensive delete link more

Comments

We used the local mirror which already in the fuel first time, but we meeted the "architecture not supported" problem when install ubuntu on the node. Now we workgroud this problem by add the "/var/www/nailgun/ubuntu-part/dists/trusty/main/binary-amd64/Release" file on the fuel .

zhifeng.jiang ( 2015-11-22 18:01:04 -0800 )edit

[root@opnfv binary-amd64]# cat Release rchive: trusty Version: 14.04 Component: main Origin: Ubuntu Label: Ubuntu Architecture: amd64 Did you meet this proble before?

zhifeng.jiang ( 2015-11-22 18:01:46 -0800 )edit

Your Answer

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

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2015-11-19 01:32:25 -0800

Seen: 432 times

Last updated: Nov 20 '15