You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apt purge linux-modules-... has been getting stuck for several versions, each time, failing to remove system76_acpi.ko
Steps to reproduce (if you know):
$ apt purge linux-image-6.8.0-48-lowlatency linux-modules-6.8.0-48-lowlatency
...
Purging configuration files for linux-image-6.8.0-48-lowlatency (6.8.0-48.48.3~22.04.1) ...
rmdir: failed to remove '/lib/modules/6.8.0-48-lowlatency': Directory not empty
Purging configuration files for linux-modules-6.8.0-48-lowlatency (6.8.0-48.48.3~22.04.1) ...
dpkg: warning: while removing linux-modules-6.8.0-48-lowlatency, directory '/lib/modules/6.8.
0-48-lowlatency' not empty so not removed
$ ls -R /lib/modules/6.8.0-48-lowlatency
6.8.0-48-lowlatency:
extra updates
6.8.0-48-lowlatency/extra:
v4l2loopback.ko
6.8.0-48-lowlatency/updates:
dkms
6.8.0-48-lowlatency/updates/dkms:
system76_acpi.ko
Expected behavior:
The purge should recognize that /lib/modules/.../updates/dkms/system76_acpi.ko is part of the package being purged, and since the newer kernel modules library has a copy of the file, it's safe to purge it.
The text was updated successfully, but these errors were encountered:
(Originally filed in 2022 in the pop repository; Issue #2704)
This happens with both generic and lowlatency kernels on every upgrade.
Issue/Bug Description:
apt purge linux-modules-...
has been getting stuck for several versions, each time, failing to removesystem76_acpi.ko
Steps to reproduce (if you know):
Expected behavior:
The
purge
should recognize that/lib/modules/.../updates/dkms/system76_acpi.ko
is part of the package being purged, and since the newer kernel modules library has a copy of the file, it's safe to purge it.The text was updated successfully, but these errors were encountered: