dockerfile - openjdk-8-jdk have unmet dependencies openjdk-8-jre & openjdk-8-jdk-headlessUnmet dependencies errorPackage system is broken (16.04)appstreamcli: AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xmlBroken Packages Fix Problem (For Wine)Can't reset my JAVA_HOME to new Open JDK 11 Java installation

Why aren't flights continued after losing a tire on rotation?

Why would a non-Jew offer a sacrifice?

What is the rationale for single engine military aircraft?

What does the fraction math node do?

Platform Event Subscription not working for some users!

Can you combine DDR3 and DDR4?

Did any significant programs or environments take advantage of the Rexx which came with PCDOS 7 (aka PCDOS 2000)?

Packing disks of infinitesimal diameter on a sphere: the asymptotics of the Tammes problem

Why is a living creature being frozen in carbonite in “The Mandalorian” so common when it seemed so risky in “The Empire Strikes Back?”

Why the highlighted outline in animated cartoons?

How can I run a realistic open-world game with vast power differences, without resulting in constant TPKs?

Will a falling rod stay in contact with the frictionless floor?

What are good practices for improving quality in a project new to me?

Why does Sisko say Kirk's Enterprise is the first one?

Which Grows Faster: Factorial or Double Exponentiation

How much would we learn from observing an FTL starship fly by?

Could rakshasas be detected by paladin’s Divine Sense?

Chess PhD topic in machine learning?

Why is this translation not a linear transformation?

Apollo CM heat shield burnt pattern around RCS thrusters

Risk Neutral and Real World Valuations using Monte Carlo

How can I justify this without determining the determinant?

In academic writing why do some recommend to avoid "announcing" the topic?

How can an AI train itself if no one is telling it if its answer is correct or wrong?



dockerfile - openjdk-8-jdk have unmet dependencies openjdk-8-jre & openjdk-8-jdk-headless


Unmet dependencies errorPackage system is broken (16.04)appstreamcli: AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xmlBroken Packages Fix Problem (For Wine)Can't reset my JAVA_HOME to new Open JDK 11 Java installation






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0


















Below is the docker file:



ENV CA_CERTIFICATES_JAVA_VERSION 20140324

RUN set -x
&& apt-get update
&& apt-get install -y
openjdk-8-jdk="$JAVA_DEBIAN_VERSION"
ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION"
&& rm -rf /var/lib/apt/lists/*
&& [ "$JAVA_HOME" = "$(docker-java-home)" ]



that gives error:



Step 16/26 : RUN set -x && apt-get update && apt-get install -y openjdk-8-jdk="$JAVA_DEBIAN_VERSION" ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION" && rm -rf /var/lib/apt/lists/* && [ "$JAVA_HOME" = "$(docker-java-home)" ]
---> Running in 6d823a145982
+ apt-get update
Get:1 https://apt.dockerproject.org debian-jessie InRelease [48.7 kB]
Get:2 http://archive.debian.org jessie-backports InRelease [166 kB]
Get:3 https://apt.dockerproject.org debian-jessie/main amd64 Packages [7366 B]
Get:4 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://deb.debian.org jessie InRelease
Get:5 http://deb.debian.org jessie-updates InRelease [16.3 kB]
Get:6 http://archive.debian.org jessie-backports/main amd64 Packages [1171 kB]
Get:7 http://deb.debian.org jessie Release.gpg [1652 B]
Get:8 http://deb.debian.org jessie Release [77.3 kB]
Get:9 http://security.debian.org jessie/updates/main amd64 Packages [892 kB]
Get:10 http://deb.debian.org jessie-updates/main amd64 Packages [20 B]
Get:11 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Fetched 11.5 MB in 14s (803 kB/s)
Reading package lists...
+ apt-get install -y openjdk-8-jdk=8u171-b11-1~bpo8+1 ca-certificates-java=20140324
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-8-jdk : Depends: openjdk-8-jre (= 8u171-b11-1~bpo8+1) but it is not going to be installed
Depends: openjdk-8-jdk-headless (= 8u171-b11-1~bpo8+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ERROR: Service 'slavedotnet' failed to build: The command '/bin/sh -c set -x && apt-get update && apt-get install -y openjdk-8-jdk="$JAVA_DEBIAN_VERSION" ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION" && rm -rf /var/lib/apt/lists/* && [ "$JAVA_HOME" = "$(docker-java-home)" ]' returned a non-zero code: 100



How to resolve this dependency issue?










share|improve this question

































    0


















    Below is the docker file:



    ENV CA_CERTIFICATES_JAVA_VERSION 20140324

    RUN set -x
    && apt-get update
    && apt-get install -y
    openjdk-8-jdk="$JAVA_DEBIAN_VERSION"
    ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION"
    && rm -rf /var/lib/apt/lists/*
    && [ "$JAVA_HOME" = "$(docker-java-home)" ]



    that gives error:



    Step 16/26 : RUN set -x && apt-get update && apt-get install -y openjdk-8-jdk="$JAVA_DEBIAN_VERSION" ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION" && rm -rf /var/lib/apt/lists/* && [ "$JAVA_HOME" = "$(docker-java-home)" ]
    ---> Running in 6d823a145982
    + apt-get update
    Get:1 https://apt.dockerproject.org debian-jessie InRelease [48.7 kB]
    Get:2 http://archive.debian.org jessie-backports InRelease [166 kB]
    Get:3 https://apt.dockerproject.org debian-jessie/main amd64 Packages [7366 B]
    Get:4 http://security.debian.org jessie/updates InRelease [44.9 kB]
    Ign http://deb.debian.org jessie InRelease
    Get:5 http://deb.debian.org jessie-updates InRelease [16.3 kB]
    Get:6 http://archive.debian.org jessie-backports/main amd64 Packages [1171 kB]
    Get:7 http://deb.debian.org jessie Release.gpg [1652 B]
    Get:8 http://deb.debian.org jessie Release [77.3 kB]
    Get:9 http://security.debian.org jessie/updates/main amd64 Packages [892 kB]
    Get:10 http://deb.debian.org jessie-updates/main amd64 Packages [20 B]
    Get:11 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
    Fetched 11.5 MB in 14s (803 kB/s)
    Reading package lists...
    + apt-get install -y openjdk-8-jdk=8u171-b11-1~bpo8+1 ca-certificates-java=20140324
    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-8-jdk : Depends: openjdk-8-jre (= 8u171-b11-1~bpo8+1) but it is not going to be installed
    Depends: openjdk-8-jdk-headless (= 8u171-b11-1~bpo8+1) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    ERROR: Service 'slavedotnet' failed to build: The command '/bin/sh -c set -x && apt-get update && apt-get install -y openjdk-8-jdk="$JAVA_DEBIAN_VERSION" ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION" && rm -rf /var/lib/apt/lists/* && [ "$JAVA_HOME" = "$(docker-java-home)" ]' returned a non-zero code: 100



    How to resolve this dependency issue?










    share|improve this question





























      0













      0









      0








      Below is the docker file:



      ENV CA_CERTIFICATES_JAVA_VERSION 20140324

      RUN set -x
      && apt-get update
      && apt-get install -y
      openjdk-8-jdk="$JAVA_DEBIAN_VERSION"
      ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION"
      && rm -rf /var/lib/apt/lists/*
      && [ "$JAVA_HOME" = "$(docker-java-home)" ]



      that gives error:



      Step 16/26 : RUN set -x && apt-get update && apt-get install -y openjdk-8-jdk="$JAVA_DEBIAN_VERSION" ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION" && rm -rf /var/lib/apt/lists/* && [ "$JAVA_HOME" = "$(docker-java-home)" ]
      ---> Running in 6d823a145982
      + apt-get update
      Get:1 https://apt.dockerproject.org debian-jessie InRelease [48.7 kB]
      Get:2 http://archive.debian.org jessie-backports InRelease [166 kB]
      Get:3 https://apt.dockerproject.org debian-jessie/main amd64 Packages [7366 B]
      Get:4 http://security.debian.org jessie/updates InRelease [44.9 kB]
      Ign http://deb.debian.org jessie InRelease
      Get:5 http://deb.debian.org jessie-updates InRelease [16.3 kB]
      Get:6 http://archive.debian.org jessie-backports/main amd64 Packages [1171 kB]
      Get:7 http://deb.debian.org jessie Release.gpg [1652 B]
      Get:8 http://deb.debian.org jessie Release [77.3 kB]
      Get:9 http://security.debian.org jessie/updates/main amd64 Packages [892 kB]
      Get:10 http://deb.debian.org jessie-updates/main amd64 Packages [20 B]
      Get:11 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
      Fetched 11.5 MB in 14s (803 kB/s)
      Reading package lists...
      + apt-get install -y openjdk-8-jdk=8u171-b11-1~bpo8+1 ca-certificates-java=20140324
      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-8-jdk : Depends: openjdk-8-jre (= 8u171-b11-1~bpo8+1) but it is not going to be installed
      Depends: openjdk-8-jdk-headless (= 8u171-b11-1~bpo8+1) but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      ERROR: Service 'slavedotnet' failed to build: The command '/bin/sh -c set -x && apt-get update && apt-get install -y openjdk-8-jdk="$JAVA_DEBIAN_VERSION" ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION" && rm -rf /var/lib/apt/lists/* && [ "$JAVA_HOME" = "$(docker-java-home)" ]' returned a non-zero code: 100



      How to resolve this dependency issue?










      share|improve this question
















      Below is the docker file:



      ENV CA_CERTIFICATES_JAVA_VERSION 20140324

      RUN set -x
      && apt-get update
      && apt-get install -y
      openjdk-8-jdk="$JAVA_DEBIAN_VERSION"
      ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION"
      && rm -rf /var/lib/apt/lists/*
      && [ "$JAVA_HOME" = "$(docker-java-home)" ]



      that gives error:



      Step 16/26 : RUN set -x && apt-get update && apt-get install -y openjdk-8-jdk="$JAVA_DEBIAN_VERSION" ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION" && rm -rf /var/lib/apt/lists/* && [ "$JAVA_HOME" = "$(docker-java-home)" ]
      ---> Running in 6d823a145982
      + apt-get update
      Get:1 https://apt.dockerproject.org debian-jessie InRelease [48.7 kB]
      Get:2 http://archive.debian.org jessie-backports InRelease [166 kB]
      Get:3 https://apt.dockerproject.org debian-jessie/main amd64 Packages [7366 B]
      Get:4 http://security.debian.org jessie/updates InRelease [44.9 kB]
      Ign http://deb.debian.org jessie InRelease
      Get:5 http://deb.debian.org jessie-updates InRelease [16.3 kB]
      Get:6 http://archive.debian.org jessie-backports/main amd64 Packages [1171 kB]
      Get:7 http://deb.debian.org jessie Release.gpg [1652 B]
      Get:8 http://deb.debian.org jessie Release [77.3 kB]
      Get:9 http://security.debian.org jessie/updates/main amd64 Packages [892 kB]
      Get:10 http://deb.debian.org jessie-updates/main amd64 Packages [20 B]
      Get:11 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
      Fetched 11.5 MB in 14s (803 kB/s)
      Reading package lists...
      + apt-get install -y openjdk-8-jdk=8u171-b11-1~bpo8+1 ca-certificates-java=20140324
      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-8-jdk : Depends: openjdk-8-jre (= 8u171-b11-1~bpo8+1) but it is not going to be installed
      Depends: openjdk-8-jdk-headless (= 8u171-b11-1~bpo8+1) but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      ERROR: Service 'slavedotnet' failed to build: The command '/bin/sh -c set -x && apt-get update && apt-get install -y openjdk-8-jdk="$JAVA_DEBIAN_VERSION" ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION" && rm -rf /var/lib/apt/lists/* && [ "$JAVA_HOME" = "$(docker-java-home)" ]' returned a non-zero code: 100



      How to resolve this dependency issue?







      apt package-management docker jdk openjdk






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 19 at 21:57







      overexchange

















      asked Sep 19 at 20:36









      overexchangeoverexchange

      1231 silver badge8 bronze badges




      1231 silver badge8 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          1



















          You can’t resolve it, because openjdk-8-jre-headless breaks ca-certificates-java versions older than 20160321.



          However I don’t think you need to resolve it:



          apt-get install -y -t jessie-backports openjdk-8-jdk


          works fine, and the resulting setup does have a /etc/ssl/certs/java/cacerts file.






          share|improve this answer


























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );














            draft saved

            draft discarded
















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1175352%2fdockerfile-openjdk-8-jdk-have-unmet-dependencies-openjdk-8-jre-openjdk-8-jdk%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown


























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1



















            You can’t resolve it, because openjdk-8-jre-headless breaks ca-certificates-java versions older than 20160321.



            However I don’t think you need to resolve it:



            apt-get install -y -t jessie-backports openjdk-8-jdk


            works fine, and the resulting setup does have a /etc/ssl/certs/java/cacerts file.






            share|improve this answer





























              1



















              You can’t resolve it, because openjdk-8-jre-headless breaks ca-certificates-java versions older than 20160321.



              However I don’t think you need to resolve it:



              apt-get install -y -t jessie-backports openjdk-8-jdk


              works fine, and the resulting setup does have a /etc/ssl/certs/java/cacerts file.






              share|improve this answer



























                1















                1











                1









                You can’t resolve it, because openjdk-8-jre-headless breaks ca-certificates-java versions older than 20160321.



                However I don’t think you need to resolve it:



                apt-get install -y -t jessie-backports openjdk-8-jdk


                works fine, and the resulting setup does have a /etc/ssl/certs/java/cacerts file.






                share|improve this answer














                You can’t resolve it, because openjdk-8-jre-headless breaks ca-certificates-java versions older than 20160321.



                However I don’t think you need to resolve it:



                apt-get install -y -t jessie-backports openjdk-8-jdk


                works fine, and the resulting setup does have a /etc/ssl/certs/java/cacerts file.







                share|improve this answer













                share|improve this answer




                share|improve this answer










                answered Sep 20 at 8:47









                Stephen KittStephen Kitt

                6305 silver badges10 bronze badges




                6305 silver badges10 bronze badges































                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1175352%2fdockerfile-openjdk-8-jdk-have-unmet-dependencies-openjdk-8-jre-openjdk-8-jdk%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown









                    Popular posts from this blog

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?