LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-07-2018, 09:28 AM   #1
redir
Member
 
Registered: May 2004
Location: Virginia USA
Distribution: Debian_Ubuntu_FreeBSD
Posts: 122

Rep: Reputation: 16
Current Use Kernel is Also Listed as up for Removal


I'm wondering if anyone can makes sense of this or help me understand better. I had some dependency issues which were the result of a full /boot directory so I started removing old headers and kernels. IT seams every time I clean it up and run a command to list it there are more to remove. But anyway can someone explain what this means?

Code:
myto@Inet:/var/www/mytotest$ uname -mrs
Linux 4.4.0-62-generic x86_64
myto@Inet:/var/www/mytotest$ dpkg --list | grep linux-image
pi  linux-image-4.4.0-116-generic       4.4.0-116.140                                            amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-62-generic        4.4.0-62.83                                              amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc  linux-image-4.4.0-79-generic        4.4.0-79.100                                             amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
pi  linux-image-extra-4.4.0-116-generic 4.4.0-116.140                                            amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-62-generic  4.4.0-62.83                                              amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc  linux-image-extra-4.4.0-79-generic  4.4.0-79.100                                             amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
pi  linux-image-generic                 4.4.0.116.122                                            amd64        Generic Linux kernel image
What it looks like to me is that my current in use kernel is listed as safe to remove but if I remove it I'd be screwed right? Doesn't "ii" mean it's save to remove?

And if there are newer kernels listed why am I not using those? What does 'pi' mean?

Regards.

Last edited by redir; 03-07-2018 at 09:29 AM.
 
Old 03-08-2018, 01:57 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
If you don't filter out the header, it will tell you.
Code:
$ dpkg --list linux-image-*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                 Version                 Architecture            Description
+++-====================================-=======================-=======================-=============================================================================
ii  linux-image-3.16.0-4-amd64           3.16.51-3               amd64                   Linux 3.16 for 64-bit PCs
ii  linux-image-3.16.0-5-amd64           3.16.51-3+deb8u1        amd64                   Linux 3.16 for 64-bit PCs
ii  linux-image-amd64                    3.16+63+deb8u1          amd64                   Linux for 64-bit PCs (meta-package)
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Package Removal Requests for -current Rinndalir Slackware 10 09-20-2016 12:01 PM
Automatic removal of kernel headers package when kernel packages are removed bgoodr Debian 3 12-30-2008 08:14 PM
kernel fs removal help C-Sniper Slackware 5 03-23-2008 09:34 AM
Double Kernel Removal austinz Slackware 3 02-16-2006 05:24 PM
kernel removal luap Linux - Newbie 3 02-16-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration