what's problem with this octave installation?
$ 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
add a comment |
$ 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
Can you edit it?
– 炸鱼薯条德里克
Sep 29 '18 at 0:22
add a comment |
$ 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
$ 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
ubuntu software-installation octave
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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 :
- Open
/var/log/apt/term.log
log file in a text editor. - Locate any "broken" packages and remove them with
sudo apt purge <package>
add a comment |
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!
New contributor
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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 :
- Open
/var/log/apt/term.log
log file in a text editor. - Locate any "broken" packages and remove them with
sudo apt purge <package>
add a comment |
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 :
- Open
/var/log/apt/term.log
log file in a text editor. - Locate any "broken" packages and remove them with
sudo apt purge <package>
add a comment |
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 :
- Open
/var/log/apt/term.log
log file in a text editor. - Locate any "broken" packages and remove them with
sudo apt purge <package>
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 :
- Open
/var/log/apt/term.log
log file in a text editor. - Locate any "broken" packages and remove them with
sudo apt purge <package>
edited Sep 29 '18 at 6:35
answered Sep 29 '18 at 2:26
karelkarel
766919
766919
add a comment |
add a comment |
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!
New contributor
add a comment |
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!
New contributor
add a comment |
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!
New contributor
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!
New contributor
New contributor
answered 9 mins ago
user344449user344449
1
1
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Can you edit it?
– 炸鱼薯条德里克
Sep 29 '18 at 0:22