LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-10-2021, 02:06 PM   #1
wogelsby
LQ Newbie
 
Registered: Mar 2019
Posts: 2

Rep: Reputation: Disabled
List of dpkg listing "linux-*" seems to be growing. Can I purge"


sudo dpkg -l | grep linux*
produces a whopping
28 responses

seems to me there used to be fewer. And some seem entirely excessive/redundant

I check this frequently and purge out-dated Header, Image and Module files but
it seems I might best purge quite a few of these. Can I?

ii binutils-x86-64-linux-gnu 2.34-6ubuntu1.1 amd64 GNU binary utilities, for x86-64-linux-gnu target
ii console-setup-linux 1.194ubuntu3 all Linux specific part of console-setup
ii fonts-linuxlibertine 5.3.0-4 all Linux Libertine family of fonts
ii libselinux1:amd64 3.0-1build2 amd64 SELinux runtime shared libraries
ii libv4l-0:amd64 1.18.0-2build1 amd64 Collection of video4linux support libraries
ii libv4lconvert0:amd64 1.18.0-2build1 amd64 Video4linux frame format conversion library
ii linux-base 4.5ubuntu3.1 all Linux image base package
ii linux-firmware 1.187.12 all Firmware for Linux kernel drivers
ii linux-generic 5.4.0.72.75 amd64 Complete Generic Linux kernel and headers
ii linux-headers-5.4.0-71 5.4.0-71.79 all Header files related to Linux kernel version 5.4.0
ii linux-headers-5.4.0-71-generic 5.4.0-71.79 amd64 Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
ii linux-headers-5.4.0-72 5.4.0-72.80 all Header files related to Linux kernel version 5.4.0
ii linux-headers-5.4.0-72-generic 5.4.0-72.80 amd64 Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
ii linux-headers-generic 5.4.0.72.75 amd64 Generic Linux kernel headers
ii linux-image-5.4.0-71-generic 5.4.0-71.79 amd64 Signed kernel image generic
ii linux-image-5.4.0-72-generic 5.4.0-72.80 amd64 Signed kernel image generic
ii linux-image-generic 5.4.0.72.75 amd64 Generic Linux kernel image
ii linux-libc-dev:amd64 5.4.0-72.80 amd64 Linux Kernel Headers for development
ii linux-modules-5.4.0-71-generic 5.4.0-71.79 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-modules-5.4.0-72-generic 5.4.0-72.80 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-modules-extra-5.4.0-71-generic 5.4.0-71.79 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-modules-extra-5.4.0-72-generic 5.4.0-72.80 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-sound-base 1.0.25+dfsg-0ubuntu5 all base package for ALSA and OSS sound systems
ii pptp-linux 1.10.0-1build1 amd64 Point-to-Point Tunneling Protocol (PPTP) Client
ii syslinux 3:6.04~git20190206.bf6db5b4+dfsg1-2 amd64 collection of bootloaders (DOS FAT and NTFS bootloader)
ii syslinux-common 3:6.04~git20190206.bf6db5b4+dfsg1-2 all collection of bootloaders (common)
ii syslinux-legacy 2:3.63+dfsg-2ubuntu9 amd64 Bootloader for Linux/i386 using MS-DOS floppies
ii util-linux 2.34-0.1ubuntu9.1 amd64 miscellaneous system utilities
 
Old 05-10-2021, 03:03 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Howdy!

There is a way to limit how many prior kernels you keep. I usually set mine to 3. Otherwise /boot or your distro area will soon be full of old kernels and support files. They are not easy to remove while in distro other than limit. Can boot to live and remove but search how to limit to the number you feel safe with.
 
1 members found this post helpful.
Old 05-10-2021, 03:57 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
You have five kernels and their support files installed get rid of the .71, .72 and .75 leaving the .79 and .80 versions installed. It is rather strange you have that many, Ubuntu usually offers to remove anything over two when you are updating with the apt autoremove command it will tell you about. Give it a try and see if it does remove them.

Last edited by HappyTux; 05-10-2021 at 03:58 PM.
 
1 members found this post helpful.
Old 05-20-2021, 11:28 AM   #4
wogelsby
LQ Newbie
 
Registered: Mar 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by HappyTux View Post
You have five kernels and their support files installed get rid of the .71, .72 and .75 leaving the .79 and .80 versions installed. It is rather strange you have that many, Ubuntu usually offers to remove anything over two when you are updating with the apt autoremove command it will tell you about. Give it a try and see if it does remove them.
Thank you so much. The way you worded this gave me the insight to purge. Worked and it's better.
 
Old 05-20-2021, 05:47 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
You are welcome.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux Keeps Growing and Growing and Growing LXer Syndicated Linux News 1 06-05-2020 04:38 AM
apt-get purge or --purge is false advertising... jmgibson1981 Linux - Newbie 12 07-01-2015 08:04 AM
MySQL ibdata1 growing and growing and growing and... jnojr Linux - Software 1 07-20-2009 07:11 PM
Set the status of "purge" packages - dpkg --get-selections kushalkoolwal Debian 7 01-09-2009 11:48 AM
Feeding the output of "diff" or "cat" command to dpkg --purge kushalkoolwal Debian 9 06-19-2008 07:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:47 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