why I can't install kernel sources from repository












1















I was trying to install VirtualBox in my machine. I found that I need the kernel sources to do so. To see which kernel sources I needed I checked
uname -r which gave:



3.2.0-59-generic-pae


The first attempt



% sudo apt-get install linux-headers-3.2.0-59-generic
E: Unable to locate package linux-headers-3.2.0-59-generic
E: Couldn't find any package by regex 'linux-headers-3.2.0-59-generic'


basically said that it could not find the sources, right?
The odd thing is that in Ubuntu site I can find them.



I tried to install it (after downloading it) via dolphin file manager so using QApt but dependencies were not met and it failed.



Also I tried to install them via Muon package manager but it's not appearing.



My question is why I cannot find it in the repositories. There seem to exist only linux-headers-3.4 sources but not for 3.2. Why?



My system uses Kubuntu 14.04 32bit. So how do I solve this problem?










share|improve this question

























  • "I found that I need the kernel sources to do so" no you don't, otherwise this sounds like an XY problem. How were you trying to install Virtualbox?

    – xangua
    May 19 '16 at 18:35
















1















I was trying to install VirtualBox in my machine. I found that I need the kernel sources to do so. To see which kernel sources I needed I checked
uname -r which gave:



3.2.0-59-generic-pae


The first attempt



% sudo apt-get install linux-headers-3.2.0-59-generic
E: Unable to locate package linux-headers-3.2.0-59-generic
E: Couldn't find any package by regex 'linux-headers-3.2.0-59-generic'


basically said that it could not find the sources, right?
The odd thing is that in Ubuntu site I can find them.



I tried to install it (after downloading it) via dolphin file manager so using QApt but dependencies were not met and it failed.



Also I tried to install them via Muon package manager but it's not appearing.



My question is why I cannot find it in the repositories. There seem to exist only linux-headers-3.4 sources but not for 3.2. Why?



My system uses Kubuntu 14.04 32bit. So how do I solve this problem?










share|improve this question

























  • "I found that I need the kernel sources to do so" no you don't, otherwise this sounds like an XY problem. How were you trying to install Virtualbox?

    – xangua
    May 19 '16 at 18:35














1












1








1


1






I was trying to install VirtualBox in my machine. I found that I need the kernel sources to do so. To see which kernel sources I needed I checked
uname -r which gave:



3.2.0-59-generic-pae


The first attempt



% sudo apt-get install linux-headers-3.2.0-59-generic
E: Unable to locate package linux-headers-3.2.0-59-generic
E: Couldn't find any package by regex 'linux-headers-3.2.0-59-generic'


basically said that it could not find the sources, right?
The odd thing is that in Ubuntu site I can find them.



I tried to install it (after downloading it) via dolphin file manager so using QApt but dependencies were not met and it failed.



Also I tried to install them via Muon package manager but it's not appearing.



My question is why I cannot find it in the repositories. There seem to exist only linux-headers-3.4 sources but not for 3.2. Why?



My system uses Kubuntu 14.04 32bit. So how do I solve this problem?










share|improve this question
















I was trying to install VirtualBox in my machine. I found that I need the kernel sources to do so. To see which kernel sources I needed I checked
uname -r which gave:



3.2.0-59-generic-pae


The first attempt



% sudo apt-get install linux-headers-3.2.0-59-generic
E: Unable to locate package linux-headers-3.2.0-59-generic
E: Couldn't find any package by regex 'linux-headers-3.2.0-59-generic'


basically said that it could not find the sources, right?
The odd thing is that in Ubuntu site I can find them.



I tried to install it (after downloading it) via dolphin file manager so using QApt but dependencies were not met and it failed.



Also I tried to install them via Muon package manager but it's not appearing.



My question is why I cannot find it in the repositories. There seem to exist only linux-headers-3.4 sources but not for 3.2. Why?



My system uses Kubuntu 14.04 32bit. So how do I solve this problem?







package-management kernel virtualbox






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 10 at 8:26







Eypros

















asked May 19 '16 at 18:17









EyprosEypros

212110




212110













  • "I found that I need the kernel sources to do so" no you don't, otherwise this sounds like an XY problem. How were you trying to install Virtualbox?

    – xangua
    May 19 '16 at 18:35



















  • "I found that I need the kernel sources to do so" no you don't, otherwise this sounds like an XY problem. How were you trying to install Virtualbox?

    – xangua
    May 19 '16 at 18:35

















"I found that I need the kernel sources to do so" no you don't, otherwise this sounds like an XY problem. How were you trying to install Virtualbox?

– xangua
May 19 '16 at 18:35





"I found that I need the kernel sources to do so" no you don't, otherwise this sounds like an XY problem. How were you trying to install Virtualbox?

– xangua
May 19 '16 at 18:35










1 Answer
1






active

oldest

votes


















3














Ubuntu 14.04 came with the 3.13 kernel, not 3.2. It seems you are still running on an old kernel which was left around from an upgrade from 12.04. You should reboot into the newer kernel, and then purge all old kernels from your system.






share|improve this answer
























  • Agreed. Here's a link I usually use when upgrading/downgrading kernels to get info on the kernel versions and LTS Enablement Stack: wiki.ubuntu.com/Kernel/LTSEnablementStack

    – Chef Pharaoh
    Aug 1 '16 at 16:21













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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f774823%2fwhy-i-cant-install-kernel-sources-from-repository%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









3














Ubuntu 14.04 came with the 3.13 kernel, not 3.2. It seems you are still running on an old kernel which was left around from an upgrade from 12.04. You should reboot into the newer kernel, and then purge all old kernels from your system.






share|improve this answer
























  • Agreed. Here's a link I usually use when upgrading/downgrading kernels to get info on the kernel versions and LTS Enablement Stack: wiki.ubuntu.com/Kernel/LTSEnablementStack

    – Chef Pharaoh
    Aug 1 '16 at 16:21


















3














Ubuntu 14.04 came with the 3.13 kernel, not 3.2. It seems you are still running on an old kernel which was left around from an upgrade from 12.04. You should reboot into the newer kernel, and then purge all old kernels from your system.






share|improve this answer
























  • Agreed. Here's a link I usually use when upgrading/downgrading kernels to get info on the kernel versions and LTS Enablement Stack: wiki.ubuntu.com/Kernel/LTSEnablementStack

    – Chef Pharaoh
    Aug 1 '16 at 16:21
















3












3








3







Ubuntu 14.04 came with the 3.13 kernel, not 3.2. It seems you are still running on an old kernel which was left around from an upgrade from 12.04. You should reboot into the newer kernel, and then purge all old kernels from your system.






share|improve this answer













Ubuntu 14.04 came with the 3.13 kernel, not 3.2. It seems you are still running on an old kernel which was left around from an upgrade from 12.04. You should reboot into the newer kernel, and then purge all old kernels from your system.







share|improve this answer












share|improve this answer



share|improve this answer










answered May 19 '16 at 18:35









dobeydobey

32.6k33586




32.6k33586













  • Agreed. Here's a link I usually use when upgrading/downgrading kernels to get info on the kernel versions and LTS Enablement Stack: wiki.ubuntu.com/Kernel/LTSEnablementStack

    – Chef Pharaoh
    Aug 1 '16 at 16:21





















  • Agreed. Here's a link I usually use when upgrading/downgrading kernels to get info on the kernel versions and LTS Enablement Stack: wiki.ubuntu.com/Kernel/LTSEnablementStack

    – Chef Pharaoh
    Aug 1 '16 at 16:21



















Agreed. Here's a link I usually use when upgrading/downgrading kernels to get info on the kernel versions and LTS Enablement Stack: wiki.ubuntu.com/Kernel/LTSEnablementStack

– Chef Pharaoh
Aug 1 '16 at 16:21







Agreed. Here's a link I usually use when upgrading/downgrading kernels to get info on the kernel versions and LTS Enablement Stack: wiki.ubuntu.com/Kernel/LTSEnablementStack

– Chef Pharaoh
Aug 1 '16 at 16:21




















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%2f774823%2fwhy-i-cant-install-kernel-sources-from-repository%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

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido