Ubuntu keeps installing old kernels even though I don't need themAbout removing old kernelsUnmet dependencies...
Why would /etc/passwd be used every time someone executes `ls -l` command?
I've given my players a lot of magic items. Is it reasonable for me to give them harder encounters?
Is the differential, dp, exact or not?
A running toilet that stops itself
Insult for someone who "doesn't know anything"
How does a sound wave propagate?
Should I file my taxes? No income, unemployed, but paid 2k in student loan interest
Use Mercury as quenching liquid for swords?
Draw this image in the TIKZ package
Professor forcing me to attend a conference, I can't afford even with 50% funding
Tool for measuring readability of English text
Can Witch Sight see through Mirror Image?
Has a sovereign Communist government ever run, and conceded loss, on a fair election?
Will the concrete slab in a partially heated shed conduct a lot of heat to the unconditioned area?
What is better: yes / no radio, or simple checkbox?
A vote on the Brexit backstop
Short story about an infectious indestructible metal bar?
What can I do if someone tampers with my SSH public key?
Can I challenge the interviewer to give me a proper technical feedback?
How would an energy-based "projectile" blow up a spaceship?
What is the purpose of a disclaimer like "this is not legal advice"?
How spaceships determine each other's mass in space?
std::string vs const std::string& vs std::string_view
Averaging over columns while ignoring zero entries
Ubuntu keeps installing old kernels even though I don't need them
About removing old kernelsUnmet dependencies (linux-headers, linux-image)Boot partition is 100% full. Cant remove old packages to make space/boot/ runs full but purging does not helpCircular dependency on apt-get upgrade (not package dependency)Why are old initrd files of uninstalled kernels filling up /boot partition?Kernel dependency issue on Ubuntu 16.0.4Can't Remove Old Kernels Due to Unmet DependenciesCan't install or update after running byobu
I have the /dev/sda1 /boot
full, so I looked for the heaviest folders and these happen to be two older linux kernels, e.g. the 4.4.0-22-generic and 4.4.0-21-generic. I am running on 4.4.0.36-generic.
I delete these kernels.
But then when I do
sudo apt-get -f install
in order to solve unmet dependencies, they come back!
How do I get rid of them permanently?
apt kernel
add a comment |
I have the /dev/sda1 /boot
full, so I looked for the heaviest folders and these happen to be two older linux kernels, e.g. the 4.4.0-22-generic and 4.4.0-21-generic. I am running on 4.4.0.36-generic.
I delete these kernels.
But then when I do
sudo apt-get -f install
in order to solve unmet dependencies, they come back!
How do I get rid of them permanently?
apt kernel
2
Have you tried usingsudo apt autoremove
instead of deleting the kernels manually?
– user68186
Jan 19 '18 at 18:29
I did, it still does not solve it.
– SuperCiocia
Jan 19 '18 at 20:14
I tried it a few times and it removed almost all of them now...
– SuperCiocia
Jan 19 '18 at 20:32
Can you update your question with the results ofll /boot/vm*
?
– WinEunuuchs2Unix
Jan 19 '18 at 23:14
I solved this by manually purging a bunch of files.. not ideal but now it works... thanks anyway
– SuperCiocia
Jan 22 '18 at 0:38
add a comment |
I have the /dev/sda1 /boot
full, so I looked for the heaviest folders and these happen to be two older linux kernels, e.g. the 4.4.0-22-generic and 4.4.0-21-generic. I am running on 4.4.0.36-generic.
I delete these kernels.
But then when I do
sudo apt-get -f install
in order to solve unmet dependencies, they come back!
How do I get rid of them permanently?
apt kernel
I have the /dev/sda1 /boot
full, so I looked for the heaviest folders and these happen to be two older linux kernels, e.g. the 4.4.0-22-generic and 4.4.0-21-generic. I am running on 4.4.0.36-generic.
I delete these kernels.
But then when I do
sudo apt-get -f install
in order to solve unmet dependencies, they come back!
How do I get rid of them permanently?
apt kernel
apt kernel
asked Jan 19 '18 at 18:21
SuperCiociaSuperCiocia
1114
1114
2
Have you tried usingsudo apt autoremove
instead of deleting the kernels manually?
– user68186
Jan 19 '18 at 18:29
I did, it still does not solve it.
– SuperCiocia
Jan 19 '18 at 20:14
I tried it a few times and it removed almost all of them now...
– SuperCiocia
Jan 19 '18 at 20:32
Can you update your question with the results ofll /boot/vm*
?
– WinEunuuchs2Unix
Jan 19 '18 at 23:14
I solved this by manually purging a bunch of files.. not ideal but now it works... thanks anyway
– SuperCiocia
Jan 22 '18 at 0:38
add a comment |
2
Have you tried usingsudo apt autoremove
instead of deleting the kernels manually?
– user68186
Jan 19 '18 at 18:29
I did, it still does not solve it.
– SuperCiocia
Jan 19 '18 at 20:14
I tried it a few times and it removed almost all of them now...
– SuperCiocia
Jan 19 '18 at 20:32
Can you update your question with the results ofll /boot/vm*
?
– WinEunuuchs2Unix
Jan 19 '18 at 23:14
I solved this by manually purging a bunch of files.. not ideal but now it works... thanks anyway
– SuperCiocia
Jan 22 '18 at 0:38
2
2
Have you tried using
sudo apt autoremove
instead of deleting the kernels manually?– user68186
Jan 19 '18 at 18:29
Have you tried using
sudo apt autoremove
instead of deleting the kernels manually?– user68186
Jan 19 '18 at 18:29
I did, it still does not solve it.
– SuperCiocia
Jan 19 '18 at 20:14
I did, it still does not solve it.
– SuperCiocia
Jan 19 '18 at 20:14
I tried it a few times and it removed almost all of them now...
– SuperCiocia
Jan 19 '18 at 20:32
I tried it a few times and it removed almost all of them now...
– SuperCiocia
Jan 19 '18 at 20:32
Can you update your question with the results of
ll /boot/vm*
?– WinEunuuchs2Unix
Jan 19 '18 at 23:14
Can you update your question with the results of
ll /boot/vm*
?– WinEunuuchs2Unix
Jan 19 '18 at 23:14
I solved this by manually purging a bunch of files.. not ideal but now it works... thanks anyway
– SuperCiocia
Jan 22 '18 at 0:38
I solved this by manually purging a bunch of files.. not ideal but now it works... thanks anyway
– SuperCiocia
Jan 22 '18 at 0:38
add a comment |
1 Answer
1
active
oldest
votes
Running apt autoremove causes update-initramfs to be run, which generates the initrd for the old kernels, which causes /boot to fill up again, even if you have cleared up space.
This is a long-standing problem.
New contributor
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%2f997772%2fubuntu-keeps-installing-old-kernels-even-though-i-dont-need-them%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
Running apt autoremove causes update-initramfs to be run, which generates the initrd for the old kernels, which causes /boot to fill up again, even if you have cleared up space.
This is a long-standing problem.
New contributor
add a comment |
Running apt autoremove causes update-initramfs to be run, which generates the initrd for the old kernels, which causes /boot to fill up again, even if you have cleared up space.
This is a long-standing problem.
New contributor
add a comment |
Running apt autoremove causes update-initramfs to be run, which generates the initrd for the old kernels, which causes /boot to fill up again, even if you have cleared up space.
This is a long-standing problem.
New contributor
Running apt autoremove causes update-initramfs to be run, which generates the initrd for the old kernels, which causes /boot to fill up again, even if you have cleared up space.
This is a long-standing problem.
New contributor
New contributor
answered 24 mins ago
Eric StithEric Stith
1
1
New contributor
New contributor
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%2f997772%2fubuntu-keeps-installing-old-kernels-even-though-i-dont-need-them%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
2
Have you tried using
sudo apt autoremove
instead of deleting the kernels manually?– user68186
Jan 19 '18 at 18:29
I did, it still does not solve it.
– SuperCiocia
Jan 19 '18 at 20:14
I tried it a few times and it removed almost all of them now...
– SuperCiocia
Jan 19 '18 at 20:32
Can you update your question with the results of
ll /boot/vm*
?– WinEunuuchs2Unix
Jan 19 '18 at 23:14
I solved this by manually purging a bunch of files.. not ideal but now it works... thanks anyway
– SuperCiocia
Jan 22 '18 at 0:38