From: joshuakraemer <joshuakraemer@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Old kernel versions not removed properly
Date: Sat, 03 Feb 2024 19:19:17 +0100 [thread overview]
Message-ID: <20240203181917.91D22238CE@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48511@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 2152 bytes --]
New comment by joshuakraemer on void-packages repository
https://github.com/void-linux/void-packages/issues/48511#issuecomment-1925420616
Comment:
@Chocimier, thanks for your comment. I didn't run `xbps-remove -o` (expecting `xbps-remove -Rf` to be sufficient). After running `xbps-remove -o`, the header packages are removed indeed. Afterwards, I've run `vkpurge rm all` again. I now have only the following linux packages installed:
```
% xbps-query --regex -s '^linux[0-9.]+'
[*] linux6.6-6.6.11_1 Linux kernel and modules (6.6 series)
[*] linux6.6-headers-6.6.11_1 Linux kernel and modules (6.6 series) - source headers for 3rd party modules
```
However, if I reconfigure the nvidia package, it still builds 4 DKMS modules:
```
% sudo xbps-reconfigure -f nvidia-dkms
nvidia-dkms: configuring ...
DKMS module 'nvidia-535.154.05' already added, skipping.
Skipping kernel-5.13.19_1. kernel-headers package not installed...
Building DKMS module 'nvidia-535.154.05' for kernel-5.15.60_1... done.
Installing DKMS module 'nvidia-535.154.05' for kernel-5.15.60_1... done.
Skipping kernel-5.19.17_1. kernel-headers package not installed...
Skipping kernel-6.0.19_1. kernel-headers package not installed...
Building DKMS module 'nvidia-535.154.05' for kernel-6.1.46_1... done.
Installing DKMS module 'nvidia-535.154.05' for kernel-6.1.46_1... done.
Building DKMS module 'nvidia-535.154.05' for kernel-6.1.55_2... done.
Installing DKMS module 'nvidia-535.154.05' for kernel-6.1.55_2... done.
Skipping kernel-6.1.71_1. kernel-headers package not installed...
Skipping kernel-6.3.13_2. kernel-headers package not installed...
Skipping kernel-6.5.13_1. kernel-headers package not installed...
Building DKMS module 'nvidia-535.154.05' for kernel-6.6.11_1... done.
Installing DKMS module 'nvidia-535.154.05' for kernel-6.6.11_1... done.
```
There are still 7 initramfs images in /boot:
```
# ls /boot/
config-6.6.11_1
efi
grub
initramfs-5.15.60_1.img
initramfs-6.0.19_1.img
initramfs-6.1.46_1.img
initramfs-6.1.55_2.img
initramfs-6.1.71_1.img
initramfs-6.3.13_2.img
initramfs-6.6.11_1.img
vmlinuz-6.6.11_1
```
next prev parent reply other threads:[~2024-02-03 18:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-03 17:31 [ISSUE] " joshuakraemer
2024-02-03 17:57 ` Chocimier
2024-02-03 18:19 ` joshuakraemer [this message]
2024-02-04 6:08 ` [ISSUE] [CLOSED] " ahesford
2024-02-04 6:08 ` ahesford
2024-02-04 10:55 ` joshuakraemer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240203181917.91D22238CE@inbox.vuxu.org \
--to=joshuakraemer@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).