what's problem with this octave installation?












-2
















$ sudo apt-get install octave




Reading package lists... Done
Building dependency tree
Reading state information... Done
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:



 gnupg : Breaks: software-properties-common (<= 0.96.24.3) but 0.96.20.7 is to be installed
octave : Depends: liboctave4 (= 4.2.2-1ubuntu1) but it is not going to be installed
Depends: libqscintilla2-qt5-13 (>= 2.8.4) but it is not going to be installed
Depends: libqt5gui5 (>= 5.7.0) but it is not going to be installed
Depends: libqt5opengl5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5printsupport5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5widgets5 (>= 5.6.0~beta) but it is not going to be installed
Recommends: gnuplot-qt but it is not going to be installed or
gnuplot-x11 but it is not going to be installed or
gnuplot-nox
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.









share|improve this question

























  • Can you edit it?

    – 炸鱼薯条德里克
    Sep 29 '18 at 0:22
















-2
















$ sudo apt-get install octave




Reading package lists... Done
Building dependency tree
Reading state information... Done
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:



 gnupg : Breaks: software-properties-common (<= 0.96.24.3) but 0.96.20.7 is to be installed
octave : Depends: liboctave4 (= 4.2.2-1ubuntu1) but it is not going to be installed
Depends: libqscintilla2-qt5-13 (>= 2.8.4) but it is not going to be installed
Depends: libqt5gui5 (>= 5.7.0) but it is not going to be installed
Depends: libqt5opengl5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5printsupport5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5widgets5 (>= 5.6.0~beta) but it is not going to be installed
Recommends: gnuplot-qt but it is not going to be installed or
gnuplot-x11 but it is not going to be installed or
gnuplot-nox
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.









share|improve this question

























  • Can you edit it?

    – 炸鱼薯条德里克
    Sep 29 '18 at 0:22














-2












-2








-2









$ sudo apt-get install octave




Reading package lists... Done
Building dependency tree
Reading state information... Done
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:



 gnupg : Breaks: software-properties-common (<= 0.96.24.3) but 0.96.20.7 is to be installed
octave : Depends: liboctave4 (= 4.2.2-1ubuntu1) but it is not going to be installed
Depends: libqscintilla2-qt5-13 (>= 2.8.4) but it is not going to be installed
Depends: libqt5gui5 (>= 5.7.0) but it is not going to be installed
Depends: libqt5opengl5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5printsupport5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5widgets5 (>= 5.6.0~beta) but it is not going to be installed
Recommends: gnuplot-qt but it is not going to be installed or
gnuplot-x11 but it is not going to be installed or
gnuplot-nox
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.









share|improve this question

















$ sudo apt-get install octave




Reading package lists... Done
Building dependency tree
Reading state information... Done
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:



 gnupg : Breaks: software-properties-common (<= 0.96.24.3) but 0.96.20.7 is to be installed
octave : Depends: liboctave4 (= 4.2.2-1ubuntu1) but it is not going to be installed
Depends: libqscintilla2-qt5-13 (>= 2.8.4) but it is not going to be installed
Depends: libqt5gui5 (>= 5.7.0) but it is not going to be installed
Depends: libqt5opengl5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5printsupport5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5widgets5 (>= 5.6.0~beta) but it is not going to be installed
Recommends: gnuplot-qt but it is not going to be installed or
gnuplot-x11 but it is not going to be installed or
gnuplot-nox
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.






ubuntu software-installation octave






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 10 '18 at 17:13









Rui F Ribeiro

41.8k1483142




41.8k1483142










asked Sep 29 '18 at 0:18









Mukund Prasad SahMukund Prasad Sah

1




1













  • Can you edit it?

    – 炸鱼薯条德里克
    Sep 29 '18 at 0:22



















  • Can you edit it?

    – 炸鱼薯条德里克
    Sep 29 '18 at 0:22

















Can you edit it?

– 炸鱼薯条德里克
Sep 29 '18 at 0:22





Can you edit it?

– 炸鱼薯条德里克
Sep 29 '18 at 0:22










2 Answers
2






active

oldest

votes


















0














Open the terminal and type :



sudo apt update
sudo apt upgrade
sudo apt --fix-broken install
sudo apt autoremove


Then run :



sudo apt install octave  


If that doesn't work, use aptitude which will automatically detect unmet dependencies problems between packages and show some possible solutions:



sudo apt install aptitude
sudo aptitude install octave


some caveats of aptitude



If both of them don't work maybe you have held broken packages from 16.04 in 18.04. Follow these two steps :




  1. Open /var/log/apt/term.log log file in a text editor.

  2. Locate any "broken" packages and remove them with sudo apt purge <package>






share|improve this answer

































    0














    Open the terminal and type:
    sudo aptitude install octave
    It will detect all the dependencies that need to be installed and provide a possible resolution to solve the problem. Enter "N" rather than "Y" to continue and another resolution will be given. In this case you enter "Y" and the those required dependencies will be downloaded and installed automatically.
    Once completed, type "sudo aptitude install octave" again to check if all required dependencies have been installed properly. If so, type "octave" and you'll successfully launch GNU Octave!





    share








    New contributor




    user344449 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "106"
      };
      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: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      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/3.0/"u003ecc by-sa 3.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%2funix.stackexchange.com%2fquestions%2f472188%2fwhats-problem-with-this-octave-installation%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      Open the terminal and type :



      sudo apt update
      sudo apt upgrade
      sudo apt --fix-broken install
      sudo apt autoremove


      Then run :



      sudo apt install octave  


      If that doesn't work, use aptitude which will automatically detect unmet dependencies problems between packages and show some possible solutions:



      sudo apt install aptitude
      sudo aptitude install octave


      some caveats of aptitude



      If both of them don't work maybe you have held broken packages from 16.04 in 18.04. Follow these two steps :




      1. Open /var/log/apt/term.log log file in a text editor.

      2. Locate any "broken" packages and remove them with sudo apt purge <package>






      share|improve this answer






























        0














        Open the terminal and type :



        sudo apt update
        sudo apt upgrade
        sudo apt --fix-broken install
        sudo apt autoremove


        Then run :



        sudo apt install octave  


        If that doesn't work, use aptitude which will automatically detect unmet dependencies problems between packages and show some possible solutions:



        sudo apt install aptitude
        sudo aptitude install octave


        some caveats of aptitude



        If both of them don't work maybe you have held broken packages from 16.04 in 18.04. Follow these two steps :




        1. Open /var/log/apt/term.log log file in a text editor.

        2. Locate any "broken" packages and remove them with sudo apt purge <package>






        share|improve this answer




























          0












          0








          0







          Open the terminal and type :



          sudo apt update
          sudo apt upgrade
          sudo apt --fix-broken install
          sudo apt autoremove


          Then run :



          sudo apt install octave  


          If that doesn't work, use aptitude which will automatically detect unmet dependencies problems between packages and show some possible solutions:



          sudo apt install aptitude
          sudo aptitude install octave


          some caveats of aptitude



          If both of them don't work maybe you have held broken packages from 16.04 in 18.04. Follow these two steps :




          1. Open /var/log/apt/term.log log file in a text editor.

          2. Locate any "broken" packages and remove them with sudo apt purge <package>






          share|improve this answer















          Open the terminal and type :



          sudo apt update
          sudo apt upgrade
          sudo apt --fix-broken install
          sudo apt autoremove


          Then run :



          sudo apt install octave  


          If that doesn't work, use aptitude which will automatically detect unmet dependencies problems between packages and show some possible solutions:



          sudo apt install aptitude
          sudo aptitude install octave


          some caveats of aptitude



          If both of them don't work maybe you have held broken packages from 16.04 in 18.04. Follow these two steps :




          1. Open /var/log/apt/term.log log file in a text editor.

          2. Locate any "broken" packages and remove them with sudo apt purge <package>







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Sep 29 '18 at 6:35

























          answered Sep 29 '18 at 2:26









          karelkarel

          766919




          766919

























              0














              Open the terminal and type:
              sudo aptitude install octave
              It will detect all the dependencies that need to be installed and provide a possible resolution to solve the problem. Enter "N" rather than "Y" to continue and another resolution will be given. In this case you enter "Y" and the those required dependencies will be downloaded and installed automatically.
              Once completed, type "sudo aptitude install octave" again to check if all required dependencies have been installed properly. If so, type "octave" and you'll successfully launch GNU Octave!





              share








              New contributor




              user344449 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.

























                0














                Open the terminal and type:
                sudo aptitude install octave
                It will detect all the dependencies that need to be installed and provide a possible resolution to solve the problem. Enter "N" rather than "Y" to continue and another resolution will be given. In this case you enter "Y" and the those required dependencies will be downloaded and installed automatically.
                Once completed, type "sudo aptitude install octave" again to check if all required dependencies have been installed properly. If so, type "octave" and you'll successfully launch GNU Octave!





                share








                New contributor




                user344449 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.























                  0












                  0








                  0







                  Open the terminal and type:
                  sudo aptitude install octave
                  It will detect all the dependencies that need to be installed and provide a possible resolution to solve the problem. Enter "N" rather than "Y" to continue and another resolution will be given. In this case you enter "Y" and the those required dependencies will be downloaded and installed automatically.
                  Once completed, type "sudo aptitude install octave" again to check if all required dependencies have been installed properly. If so, type "octave" and you'll successfully launch GNU Octave!





                  share








                  New contributor




                  user344449 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.










                  Open the terminal and type:
                  sudo aptitude install octave
                  It will detect all the dependencies that need to be installed and provide a possible resolution to solve the problem. Enter "N" rather than "Y" to continue and another resolution will be given. In this case you enter "Y" and the those required dependencies will be downloaded and installed automatically.
                  Once completed, type "sudo aptitude install octave" again to check if all required dependencies have been installed properly. If so, type "octave" and you'll successfully launch GNU Octave!






                  share








                  New contributor




                  user344449 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.








                  share


                  share






                  New contributor




                  user344449 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 9 mins ago









                  user344449user344449

                  1




                  1




                  New contributor




                  user344449 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  user344449 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  user344449 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Unix & Linux Stack Exchange!


                      • 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%2funix.stackexchange.com%2fquestions%2f472188%2fwhats-problem-with-this-octave-installation%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

                      濃尾地震

                      How to rewrite equation of hyperbola in standard form

                      No ethernet ip address in my vocore2