Xenial (16.04) cannot find package libboost-all-dev
I have updated my system to 16.04 and installed a load of updates.
I have had version 1.54 of boost libraries on my computer since November 2013. Today I rebuilt some code and it could no longer find the boost regex library.
So I have tried updating to the latest version, but keep getting this error:
sudo apt-get install libboost-all-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libboost-all-dev
It does appear that it should be in the repository. I did not install boost this way originally but went to their own site and probably built it with some "wget" command. (I may try doing that and get their latest version which is 1.61, whereas the packaged version here is 1.58).
Still, I want to know why the above will not work.
Note: sudo aptitude install libboost
gives me the following feedback:
> Couldn't find package "libboost". However, the following packages
> contain "libboost" in their name: libboost1.58-tools-dev
> libboost1.58-tools-dev:i386 libboost-program-options1.58.0
> libboost-program-options1.58.0:i386 libboost1.58-dbg
> libboost1.58-dbg:i386 libboost1.58-dev libboost1.58-dev:i386
> libboost1.58-doc libboost-date-time1.53.0 libboost1.54-doc
> libboost-filesystem1.58.0 libboost-filesystem1.58.0:i386
> libboost-date-time1.54.0 libboost-system1.53.0 libboost-system1.54.0
> libboost-date-time1.58.0 libboost-date-time1.58.0:i386
> libboost-thread1.58.0 libboost-thread1.58.0:i386 libboost-system1.58.0
> libboost-system1.58.0:i386 libboost-random1.58.0
> libboost-random1.58.0:i386 libboost-dbg libboost-dbg:i386 libboost-dev
> libboost-dev:i386 libboost-doc libboost-program-options-dev
> libboost-program-options-dev:i386 libboost-date-time1.49.0
> libboost-iostreams1.53.0 libboost-iostreams1.54.0
> libboost-iostreams1.58.0 libboost-iostreams1.58.0:i386
> libboost-regex1.58.0 libboost-regex1.58.0:i386
> libboost-program-options1.58-dev libboost-program-options1.58-dev:i386
> No packages will be installed, upgraded, or removed. 0 packages
> upgraded, 0 newly installed, 0 to remove and 54 not upgraded.
I did sudo add-apt-repository universe
but it still could not find the package.
I was able to install the libraries one-at-a-time, but still question why it is not there when this page suggests it is.
16.04 boost
add a comment |
I have updated my system to 16.04 and installed a load of updates.
I have had version 1.54 of boost libraries on my computer since November 2013. Today I rebuilt some code and it could no longer find the boost regex library.
So I have tried updating to the latest version, but keep getting this error:
sudo apt-get install libboost-all-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libboost-all-dev
It does appear that it should be in the repository. I did not install boost this way originally but went to their own site and probably built it with some "wget" command. (I may try doing that and get their latest version which is 1.61, whereas the packaged version here is 1.58).
Still, I want to know why the above will not work.
Note: sudo aptitude install libboost
gives me the following feedback:
> Couldn't find package "libboost". However, the following packages
> contain "libboost" in their name: libboost1.58-tools-dev
> libboost1.58-tools-dev:i386 libboost-program-options1.58.0
> libboost-program-options1.58.0:i386 libboost1.58-dbg
> libboost1.58-dbg:i386 libboost1.58-dev libboost1.58-dev:i386
> libboost1.58-doc libboost-date-time1.53.0 libboost1.54-doc
> libboost-filesystem1.58.0 libboost-filesystem1.58.0:i386
> libboost-date-time1.54.0 libboost-system1.53.0 libboost-system1.54.0
> libboost-date-time1.58.0 libboost-date-time1.58.0:i386
> libboost-thread1.58.0 libboost-thread1.58.0:i386 libboost-system1.58.0
> libboost-system1.58.0:i386 libboost-random1.58.0
> libboost-random1.58.0:i386 libboost-dbg libboost-dbg:i386 libboost-dev
> libboost-dev:i386 libboost-doc libboost-program-options-dev
> libboost-program-options-dev:i386 libboost-date-time1.49.0
> libboost-iostreams1.53.0 libboost-iostreams1.54.0
> libboost-iostreams1.58.0 libboost-iostreams1.58.0:i386
> libboost-regex1.58.0 libboost-regex1.58.0:i386
> libboost-program-options1.58-dev libboost-program-options1.58-dev:i386
> No packages will be installed, upgraded, or removed. 0 packages
> upgraded, 0 newly installed, 0 to remove and 54 not upgraded.
I did sudo add-apt-repository universe
but it still could not find the package.
I was able to install the libraries one-at-a-time, but still question why it is not there when this page suggests it is.
16.04 boost
Did you enable the "universe" repository?
– edwinksl
Aug 3 '16 at 10:07
add a comment |
I have updated my system to 16.04 and installed a load of updates.
I have had version 1.54 of boost libraries on my computer since November 2013. Today I rebuilt some code and it could no longer find the boost regex library.
So I have tried updating to the latest version, but keep getting this error:
sudo apt-get install libboost-all-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libboost-all-dev
It does appear that it should be in the repository. I did not install boost this way originally but went to their own site and probably built it with some "wget" command. (I may try doing that and get their latest version which is 1.61, whereas the packaged version here is 1.58).
Still, I want to know why the above will not work.
Note: sudo aptitude install libboost
gives me the following feedback:
> Couldn't find package "libboost". However, the following packages
> contain "libboost" in their name: libboost1.58-tools-dev
> libboost1.58-tools-dev:i386 libboost-program-options1.58.0
> libboost-program-options1.58.0:i386 libboost1.58-dbg
> libboost1.58-dbg:i386 libboost1.58-dev libboost1.58-dev:i386
> libboost1.58-doc libboost-date-time1.53.0 libboost1.54-doc
> libboost-filesystem1.58.0 libboost-filesystem1.58.0:i386
> libboost-date-time1.54.0 libboost-system1.53.0 libboost-system1.54.0
> libboost-date-time1.58.0 libboost-date-time1.58.0:i386
> libboost-thread1.58.0 libboost-thread1.58.0:i386 libboost-system1.58.0
> libboost-system1.58.0:i386 libboost-random1.58.0
> libboost-random1.58.0:i386 libboost-dbg libboost-dbg:i386 libboost-dev
> libboost-dev:i386 libboost-doc libboost-program-options-dev
> libboost-program-options-dev:i386 libboost-date-time1.49.0
> libboost-iostreams1.53.0 libboost-iostreams1.54.0
> libboost-iostreams1.58.0 libboost-iostreams1.58.0:i386
> libboost-regex1.58.0 libboost-regex1.58.0:i386
> libboost-program-options1.58-dev libboost-program-options1.58-dev:i386
> No packages will be installed, upgraded, or removed. 0 packages
> upgraded, 0 newly installed, 0 to remove and 54 not upgraded.
I did sudo add-apt-repository universe
but it still could not find the package.
I was able to install the libraries one-at-a-time, but still question why it is not there when this page suggests it is.
16.04 boost
I have updated my system to 16.04 and installed a load of updates.
I have had version 1.54 of boost libraries on my computer since November 2013. Today I rebuilt some code and it could no longer find the boost regex library.
So I have tried updating to the latest version, but keep getting this error:
sudo apt-get install libboost-all-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libboost-all-dev
It does appear that it should be in the repository. I did not install boost this way originally but went to their own site and probably built it with some "wget" command. (I may try doing that and get their latest version which is 1.61, whereas the packaged version here is 1.58).
Still, I want to know why the above will not work.
Note: sudo aptitude install libboost
gives me the following feedback:
> Couldn't find package "libboost". However, the following packages
> contain "libboost" in their name: libboost1.58-tools-dev
> libboost1.58-tools-dev:i386 libboost-program-options1.58.0
> libboost-program-options1.58.0:i386 libboost1.58-dbg
> libboost1.58-dbg:i386 libboost1.58-dev libboost1.58-dev:i386
> libboost1.58-doc libboost-date-time1.53.0 libboost1.54-doc
> libboost-filesystem1.58.0 libboost-filesystem1.58.0:i386
> libboost-date-time1.54.0 libboost-system1.53.0 libboost-system1.54.0
> libboost-date-time1.58.0 libboost-date-time1.58.0:i386
> libboost-thread1.58.0 libboost-thread1.58.0:i386 libboost-system1.58.0
> libboost-system1.58.0:i386 libboost-random1.58.0
> libboost-random1.58.0:i386 libboost-dbg libboost-dbg:i386 libboost-dev
> libboost-dev:i386 libboost-doc libboost-program-options-dev
> libboost-program-options-dev:i386 libboost-date-time1.49.0
> libboost-iostreams1.53.0 libboost-iostreams1.54.0
> libboost-iostreams1.58.0 libboost-iostreams1.58.0:i386
> libboost-regex1.58.0 libboost-regex1.58.0:i386
> libboost-program-options1.58-dev libboost-program-options1.58-dev:i386
> No packages will be installed, upgraded, or removed. 0 packages
> upgraded, 0 newly installed, 0 to remove and 54 not upgraded.
I did sudo add-apt-repository universe
but it still could not find the package.
I was able to install the libraries one-at-a-time, but still question why it is not there when this page suggests it is.
16.04 boost
16.04 boost
edited Aug 3 '16 at 14:07
CashCow
asked Aug 3 '16 at 10:05
CashCowCashCow
151119
151119
Did you enable the "universe" repository?
– edwinksl
Aug 3 '16 at 10:07
add a comment |
Did you enable the "universe" repository?
– edwinksl
Aug 3 '16 at 10:07
Did you enable the "universe" repository?
– edwinksl
Aug 3 '16 at 10:07
Did you enable the "universe" repository?
– edwinksl
Aug 3 '16 at 10:07
add a comment |
3 Answers
3
active
oldest
votes
Try adding the repository (http://packages.ubuntu.com/search?keywords=libboost-all-dev)
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install libboost-all-dev
2
I tried add-apt-repository universe but it still did not find the package.
– CashCow
Aug 3 '16 at 14:08
add a comment |
Another sudo apt-get update
and then it worked.
Possibly that update needs to come after add-apt-repository universe.
Yes, whenever you change the repositories by adding a PPA, you need to runsudo apt-get update
. The "update" is exactly that, of looking at all the list of repositories, old and newly added.
– user308164
Aug 4 '16 at 8:07
1
No it is not the problem
– SeyedAlireza SanaeeKohroudi
Dec 23 '16 at 12:28
add a comment |
I got similar error, this worked for me:
sudo apt --fix-broken install
After that I was able to install the libraries and everything worked.
add a comment |
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/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%2faskubuntu.com%2fquestions%2f806478%2fxenial-16-04-cannot-find-package-libboost-all-dev%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try adding the repository (http://packages.ubuntu.com/search?keywords=libboost-all-dev)
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install libboost-all-dev
2
I tried add-apt-repository universe but it still did not find the package.
– CashCow
Aug 3 '16 at 14:08
add a comment |
Try adding the repository (http://packages.ubuntu.com/search?keywords=libboost-all-dev)
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install libboost-all-dev
2
I tried add-apt-repository universe but it still did not find the package.
– CashCow
Aug 3 '16 at 14:08
add a comment |
Try adding the repository (http://packages.ubuntu.com/search?keywords=libboost-all-dev)
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install libboost-all-dev
Try adding the repository (http://packages.ubuntu.com/search?keywords=libboost-all-dev)
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install libboost-all-dev
edited Jul 26 '17 at 8:57
Community♦
1
1
answered Aug 3 '16 at 10:35
PaniPani
513
513
2
I tried add-apt-repository universe but it still did not find the package.
– CashCow
Aug 3 '16 at 14:08
add a comment |
2
I tried add-apt-repository universe but it still did not find the package.
– CashCow
Aug 3 '16 at 14:08
2
2
I tried add-apt-repository universe but it still did not find the package.
– CashCow
Aug 3 '16 at 14:08
I tried add-apt-repository universe but it still did not find the package.
– CashCow
Aug 3 '16 at 14:08
add a comment |
Another sudo apt-get update
and then it worked.
Possibly that update needs to come after add-apt-repository universe.
Yes, whenever you change the repositories by adding a PPA, you need to runsudo apt-get update
. The "update" is exactly that, of looking at all the list of repositories, old and newly added.
– user308164
Aug 4 '16 at 8:07
1
No it is not the problem
– SeyedAlireza SanaeeKohroudi
Dec 23 '16 at 12:28
add a comment |
Another sudo apt-get update
and then it worked.
Possibly that update needs to come after add-apt-repository universe.
Yes, whenever you change the repositories by adding a PPA, you need to runsudo apt-get update
. The "update" is exactly that, of looking at all the list of repositories, old and newly added.
– user308164
Aug 4 '16 at 8:07
1
No it is not the problem
– SeyedAlireza SanaeeKohroudi
Dec 23 '16 at 12:28
add a comment |
Another sudo apt-get update
and then it worked.
Possibly that update needs to come after add-apt-repository universe.
Another sudo apt-get update
and then it worked.
Possibly that update needs to come after add-apt-repository universe.
answered Aug 3 '16 at 16:04
CashCowCashCow
151119
151119
Yes, whenever you change the repositories by adding a PPA, you need to runsudo apt-get update
. The "update" is exactly that, of looking at all the list of repositories, old and newly added.
– user308164
Aug 4 '16 at 8:07
1
No it is not the problem
– SeyedAlireza SanaeeKohroudi
Dec 23 '16 at 12:28
add a comment |
Yes, whenever you change the repositories by adding a PPA, you need to runsudo apt-get update
. The "update" is exactly that, of looking at all the list of repositories, old and newly added.
– user308164
Aug 4 '16 at 8:07
1
No it is not the problem
– SeyedAlireza SanaeeKohroudi
Dec 23 '16 at 12:28
Yes, whenever you change the repositories by adding a PPA, you need to run
sudo apt-get update
. The "update" is exactly that, of looking at all the list of repositories, old and newly added.– user308164
Aug 4 '16 at 8:07
Yes, whenever you change the repositories by adding a PPA, you need to run
sudo apt-get update
. The "update" is exactly that, of looking at all the list of repositories, old and newly added.– user308164
Aug 4 '16 at 8:07
1
1
No it is not the problem
– SeyedAlireza SanaeeKohroudi
Dec 23 '16 at 12:28
No it is not the problem
– SeyedAlireza SanaeeKohroudi
Dec 23 '16 at 12:28
add a comment |
I got similar error, this worked for me:
sudo apt --fix-broken install
After that I was able to install the libraries and everything worked.
add a comment |
I got similar error, this worked for me:
sudo apt --fix-broken install
After that I was able to install the libraries and everything worked.
add a comment |
I got similar error, this worked for me:
sudo apt --fix-broken install
After that I was able to install the libraries and everything worked.
I got similar error, this worked for me:
sudo apt --fix-broken install
After that I was able to install the libraries and everything worked.
answered Jan 25 at 10:33
JoséJosé
1
1
add a comment |
add a comment |
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.
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%2faskubuntu.com%2fquestions%2f806478%2fxenial-16-04-cannot-find-package-libboost-all-dev%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
Did you enable the "universe" repository?
– edwinksl
Aug 3 '16 at 10:07