Why can't I install rust-doc?
I just installed rustc successfully, and saw, apt suggested I got rust-doc also.
$ sudo apt install rust-doc
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.
rust-doc : Depends: fonts-open-sans but it is not installable
E: Unable to correct problems, you have held broken packages.
I suppose that there could be some spurious dependency in my repository; but I'm also especially concerned by that last line:
you have held broken packages.
I'm not sure exactly what that means.
Since I believe that some of this depends on what repositories I am using, I include this information:
/etc/apt/sources.list:#deb cdrom:[Linux Mint 18.2 _Sonya_ - Release amd64 20170628]/ xenial contrib main non-free
/etc/apt/sources.list.d/maarten-baert-simplescreenrecorder-xenial.list:deb http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial main
/etc/apt/sources.list.d/maarten-baert-simplescreenrecorder-xenial.list:deb-src http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial main
/etc/apt/sources.list.d/official-package-repositories.list:# Do not edit this file manually, use Software Sources instead.
/etc/apt/sources.list.d/official-package-repositories.list:
/etc/apt/sources.list.d/official-package-repositories.list:deb http://packages.linuxmint.com sonya main upstream import backport #id:linuxmint_main
/etc/apt/sources.list.d/official-package-repositories.list:
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:
/etc/apt/sources.list.d/official-package-repositories.list:deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.canonical.com/ubuntu/ xenial partner
/etc/apt/sources.list.d/vscode.list:### THIS FILE IS AUTOMATICALLY CONFIGURED ###
/etc/apt/sources.list.d/vscode.list:# You may comment out this entry, but any other modifications may be lost.
/etc/apt/sources.list.d/vscode.list:deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
In response to a comment by David Postill in which he suggests I install fonts-open-sans
:
$ sudo apt-get install fonts-open-sans
[sudo] password for sam:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package fonts-open-sans is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'fonts-open-sans' has no installation candidate
linux-mint apt
|
show 3 more comments
I just installed rustc successfully, and saw, apt suggested I got rust-doc also.
$ sudo apt install rust-doc
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.
rust-doc : Depends: fonts-open-sans but it is not installable
E: Unable to correct problems, you have held broken packages.
I suppose that there could be some spurious dependency in my repository; but I'm also especially concerned by that last line:
you have held broken packages.
I'm not sure exactly what that means.
Since I believe that some of this depends on what repositories I am using, I include this information:
/etc/apt/sources.list:#deb cdrom:[Linux Mint 18.2 _Sonya_ - Release amd64 20170628]/ xenial contrib main non-free
/etc/apt/sources.list.d/maarten-baert-simplescreenrecorder-xenial.list:deb http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial main
/etc/apt/sources.list.d/maarten-baert-simplescreenrecorder-xenial.list:deb-src http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial main
/etc/apt/sources.list.d/official-package-repositories.list:# Do not edit this file manually, use Software Sources instead.
/etc/apt/sources.list.d/official-package-repositories.list:
/etc/apt/sources.list.d/official-package-repositories.list:deb http://packages.linuxmint.com sonya main upstream import backport #id:linuxmint_main
/etc/apt/sources.list.d/official-package-repositories.list:
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:
/etc/apt/sources.list.d/official-package-repositories.list:deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.canonical.com/ubuntu/ xenial partner
/etc/apt/sources.list.d/vscode.list:### THIS FILE IS AUTOMATICALLY CONFIGURED ###
/etc/apt/sources.list.d/vscode.list:# You may comment out this entry, but any other modifications may be lost.
/etc/apt/sources.list.d/vscode.list:deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
In response to a comment by David Postill in which he suggests I install fonts-open-sans
:
$ sudo apt-get install fonts-open-sans
[sudo] password for sam:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package fonts-open-sans is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'fonts-open-sans' has no installation candidate
linux-mint apt
1
"Depends: fonts-open-sans but it is not installable" here is your clue. Install the appropriate font.
– DavidPostill♦
Oct 21 '18 at 13:17
Welcome, please add the content of your sources.listgrep ^ /etc/apt/sources.list{,.d/*}
– GAD3R
Oct 21 '18 at 13:19
1
@GAD3R I have updated the post.
– Wilson
Oct 21 '18 at 20:03
1
@Wilson fonts-open-sans?
– DavidPostill♦
Oct 21 '18 at 20:10
1
@DavidPostill that has no installation candidate; I've updated the post
– Wilson
Oct 21 '18 at 20:12
|
show 3 more comments
I just installed rustc successfully, and saw, apt suggested I got rust-doc also.
$ sudo apt install rust-doc
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.
rust-doc : Depends: fonts-open-sans but it is not installable
E: Unable to correct problems, you have held broken packages.
I suppose that there could be some spurious dependency in my repository; but I'm also especially concerned by that last line:
you have held broken packages.
I'm not sure exactly what that means.
Since I believe that some of this depends on what repositories I am using, I include this information:
/etc/apt/sources.list:#deb cdrom:[Linux Mint 18.2 _Sonya_ - Release amd64 20170628]/ xenial contrib main non-free
/etc/apt/sources.list.d/maarten-baert-simplescreenrecorder-xenial.list:deb http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial main
/etc/apt/sources.list.d/maarten-baert-simplescreenrecorder-xenial.list:deb-src http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial main
/etc/apt/sources.list.d/official-package-repositories.list:# Do not edit this file manually, use Software Sources instead.
/etc/apt/sources.list.d/official-package-repositories.list:
/etc/apt/sources.list.d/official-package-repositories.list:deb http://packages.linuxmint.com sonya main upstream import backport #id:linuxmint_main
/etc/apt/sources.list.d/official-package-repositories.list:
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:
/etc/apt/sources.list.d/official-package-repositories.list:deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.canonical.com/ubuntu/ xenial partner
/etc/apt/sources.list.d/vscode.list:### THIS FILE IS AUTOMATICALLY CONFIGURED ###
/etc/apt/sources.list.d/vscode.list:# You may comment out this entry, but any other modifications may be lost.
/etc/apt/sources.list.d/vscode.list:deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
In response to a comment by David Postill in which he suggests I install fonts-open-sans
:
$ sudo apt-get install fonts-open-sans
[sudo] password for sam:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package fonts-open-sans is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'fonts-open-sans' has no installation candidate
linux-mint apt
I just installed rustc successfully, and saw, apt suggested I got rust-doc also.
$ sudo apt install rust-doc
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.
rust-doc : Depends: fonts-open-sans but it is not installable
E: Unable to correct problems, you have held broken packages.
I suppose that there could be some spurious dependency in my repository; but I'm also especially concerned by that last line:
you have held broken packages.
I'm not sure exactly what that means.
Since I believe that some of this depends on what repositories I am using, I include this information:
/etc/apt/sources.list:#deb cdrom:[Linux Mint 18.2 _Sonya_ - Release amd64 20170628]/ xenial contrib main non-free
/etc/apt/sources.list.d/maarten-baert-simplescreenrecorder-xenial.list:deb http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial main
/etc/apt/sources.list.d/maarten-baert-simplescreenrecorder-xenial.list:deb-src http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial main
/etc/apt/sources.list.d/official-package-repositories.list:# Do not edit this file manually, use Software Sources instead.
/etc/apt/sources.list.d/official-package-repositories.list:
/etc/apt/sources.list.d/official-package-repositories.list:deb http://packages.linuxmint.com sonya main upstream import backport #id:linuxmint_main
/etc/apt/sources.list.d/official-package-repositories.list:
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:
/etc/apt/sources.list.d/official-package-repositories.list:deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.canonical.com/ubuntu/ xenial partner
/etc/apt/sources.list.d/vscode.list:### THIS FILE IS AUTOMATICALLY CONFIGURED ###
/etc/apt/sources.list.d/vscode.list:# You may comment out this entry, but any other modifications may be lost.
/etc/apt/sources.list.d/vscode.list:deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
In response to a comment by David Postill in which he suggests I install fonts-open-sans
:
$ sudo apt-get install fonts-open-sans
[sudo] password for sam:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package fonts-open-sans is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'fonts-open-sans' has no installation candidate
linux-mint apt
linux-mint apt
edited Dec 12 '18 at 8:03
Kamil Maciorowski
25.4k155578
25.4k155578
asked Oct 21 '18 at 13:13
WilsonWilson
1316
1316
1
"Depends: fonts-open-sans but it is not installable" here is your clue. Install the appropriate font.
– DavidPostill♦
Oct 21 '18 at 13:17
Welcome, please add the content of your sources.listgrep ^ /etc/apt/sources.list{,.d/*}
– GAD3R
Oct 21 '18 at 13:19
1
@GAD3R I have updated the post.
– Wilson
Oct 21 '18 at 20:03
1
@Wilson fonts-open-sans?
– DavidPostill♦
Oct 21 '18 at 20:10
1
@DavidPostill that has no installation candidate; I've updated the post
– Wilson
Oct 21 '18 at 20:12
|
show 3 more comments
1
"Depends: fonts-open-sans but it is not installable" here is your clue. Install the appropriate font.
– DavidPostill♦
Oct 21 '18 at 13:17
Welcome, please add the content of your sources.listgrep ^ /etc/apt/sources.list{,.d/*}
– GAD3R
Oct 21 '18 at 13:19
1
@GAD3R I have updated the post.
– Wilson
Oct 21 '18 at 20:03
1
@Wilson fonts-open-sans?
– DavidPostill♦
Oct 21 '18 at 20:10
1
@DavidPostill that has no installation candidate; I've updated the post
– Wilson
Oct 21 '18 at 20:12
1
1
"Depends: fonts-open-sans but it is not installable" here is your clue. Install the appropriate font.
– DavidPostill♦
Oct 21 '18 at 13:17
"Depends: fonts-open-sans but it is not installable" here is your clue. Install the appropriate font.
– DavidPostill♦
Oct 21 '18 at 13:17
Welcome, please add the content of your sources.list
grep ^ /etc/apt/sources.list{,.d/*}
– GAD3R
Oct 21 '18 at 13:19
Welcome, please add the content of your sources.list
grep ^ /etc/apt/sources.list{,.d/*}
– GAD3R
Oct 21 '18 at 13:19
1
1
@GAD3R I have updated the post.
– Wilson
Oct 21 '18 at 20:03
@GAD3R I have updated the post.
– Wilson
Oct 21 '18 at 20:03
1
1
@Wilson fonts-open-sans?
– DavidPostill♦
Oct 21 '18 at 20:10
@Wilson fonts-open-sans?
– DavidPostill♦
Oct 21 '18 at 20:10
1
1
@DavidPostill that has no installation candidate; I've updated the post
– Wilson
Oct 21 '18 at 20:12
@DavidPostill that has no installation candidate; I've updated the post
– Wilson
Oct 21 '18 at 20:12
|
show 3 more comments
1 Answer
1
active
oldest
votes
rust-doc
is part of rustup installation . If you have installed rustup, just run rustup doc —std
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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/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%2fsuperuser.com%2fquestions%2f1368672%2fwhy-cant-i-install-rust-doc%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
rust-doc
is part of rustup installation . If you have installed rustup, just run rustup doc —std
New contributor
add a comment |
rust-doc
is part of rustup installation . If you have installed rustup, just run rustup doc —std
New contributor
add a comment |
rust-doc
is part of rustup installation . If you have installed rustup, just run rustup doc —std
New contributor
rust-doc
is part of rustup installation . If you have installed rustup, just run rustup doc —std
New contributor
New contributor
answered Jan 8 at 8:14
黄俊杰黄俊杰
11
11
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- 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%2fsuperuser.com%2fquestions%2f1368672%2fwhy-cant-i-install-rust-doc%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
1
"Depends: fonts-open-sans but it is not installable" here is your clue. Install the appropriate font.
– DavidPostill♦
Oct 21 '18 at 13:17
Welcome, please add the content of your sources.list
grep ^ /etc/apt/sources.list{,.d/*}
– GAD3R
Oct 21 '18 at 13:19
1
@GAD3R I have updated the post.
– Wilson
Oct 21 '18 at 20:03
1
@Wilson fonts-open-sans?
– DavidPostill♦
Oct 21 '18 at 20:10
1
@DavidPostill that has no installation candidate; I've updated the post
– Wilson
Oct 21 '18 at 20:12