[screenshot]
Hello,
I still have the same problem, but the command worked fine.
On 30/06/2022 20:11, Guillermo wrote:
[screenshot]
Doesn't "emerge -a --depclean" remove all these old kernels?
On Thursday, 30 June 2022 19:15:33 BST Guillermo wrote:
Hello,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/.
I still have the same problem, but the command worked fine.
On 30/06/2022 19:23, Michael wrote:
On Thursday, 30 June 2022 19:15:33 BST Guillermo wrote:and
Hello,The command "emerge -a --depclean" will only remove uninstall the kernel packages, but will not remove files from/usr/src/, or old kernel images
I still have the same problem, but the command worked fine.
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
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 <antlists@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
--<html>
Lee 😎Â
<ny6p01@gmail.com>
and don't forget to run "uname -a" to get your currently running
kernel version and make sure you don't delete that!
"IF" "uname -a" isn't the latest version you have in /boot, some more investigation as to why will be needed.
BillK
When I upgrade to a new kernel, I run for a month or so and then
manually clean out /boot, that would include kernel, init thingy,
System.map and config files.
Seeing this reminds me it might be a good time to look into updating,
even tho I might not reboot for a while yet.
On 01/07/2022 00:21, Dale wrote:
When I upgrade to a new kernel, I run for a month or so and then
manually clean out /boot, that would include kernel, init thingy,
System.map and config files.
Seeing this reminds me it might be a good time to look into updating,
even tho I might not reboot for a while yet.
When I update, I wait until I'm happy the new one seems okay, and then
I just leave the most recent one and the one before.
That said, I need to upgrade, and I need to see if my random hangs are
fixed (there's apparently a bug in the Ryzen 3000, and I'm guessing
that's what I'm hitting).
Cheers,
Wol
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 302 |
Nodes: | 16 (2 / 14) |
Uptime: | 97:17:36 |
Calls: | 6,766 |
Calls today: | 4 |
Files: | 12,295 |
Messages: | 5,376,373 |
Posted today: | 1 |