The OP should read the section of the Gentoo manual on kernel install to learn what files are installed where. Yea, but just rm the kernels and initramfs's from /boot and you're golden. FWIW, I usually only upgrade my kernel when it's a major revision.
On Thu, Jun 30, 2022 at 12:39 PM Wols Lists <antli...@youngman.org.uk> wrote: > On 30/06/2022 19:23, Michael wrote: > > On Thursday, 30 June 2022 19:15:33 BST Guillermo wrote: > >> Hello, > >> > >> I still have the same problem, but the command worked fine. > > The command "emerge -a --depclean" will only remove uninstall the kernel > > packages, but will not remove files from/usr/src/, or old kernel images > and > > files from/boot/. > > As far as I'm aware, depclean only installs files it installed, so it > leaves quite a lot of garbage lying around from kernels, including the > /usr/src/kernel-xx-xx-xx directory and various files involved in making > your kernel, that you've modified. > > Cheers, > Wol > > -- Lee 😎 <ny6...@gmail.com>