Skip to main content
10 events
when toggle format what by license comment
Mar 19, 2021 at 12:30 comment added Mrinal This solution no longer works with Centos 8 onwards. Gives the error message package-cleanup has to be executed with one of the options: --dupes, --leaves, --orphans, --problems or --cleandupes Refer my answer below for a working solution for Centos 8.
Nov 5, 2018 at 19:18 comment added TiloBunt fyi, package-cleanup is part of: yum install yum-utils
Apr 12, 2018 at 13:26 comment added Alireza Mohamadi Can someone answer @Ron 's question?
Sep 18, 2017 at 0:44 comment added Ron I run package-cleanup --oldkernels --count=1. After reboot, I still get two kernels: CentOS Linux (4.4.6-1.el7.elrepo.x86_64) 7 (Core) and CentOS Linux (3.10.0-514.2.2.el7.x86_64) 7 (Core), do you know how to just keep one?
Jun 1, 2017 at 3:58 comment added Nutt Thanks Fractal Turtle for brief answer. I also want to you to safely keep at least two latest kernel. package-cleanup --oldkernels --count=2
Jan 26, 2017 at 16:37 review Suggested edits
Jan 26, 2017 at 17:32
S Feb 3, 2016 at 14:33 review Low quality posts
Feb 3, 2016 at 14:51
S Feb 3, 2016 at 14:33 review Late answers
Feb 3, 2016 at 14:33
Feb 3, 2016 at 14:18 review First posts
Feb 3, 2016 at 14:25
Feb 3, 2016 at 14:18 history answered user40456 CC BY-SA 3.0