Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #84207

Bug#1073998: linux: Purging linux-image-<version> doesn't clean up modules.weakdep file

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1073998: linux: Purging linux-image-<version> doesn't clean up modules.weakdep file
Date 2024-10-06 17:10 +0200
Message-ID <JuB3r-hlqp-5@gated-at.bofh.it> (permalink)
References <IRKMx-4uSw-5@gated-at.bofh.it> <IRKMx-4uSw-5@gated-at.bofh.it> <JtR0B-gSHW-1@gated-at.bofh.it> <IRKMx-4uSw-5@gated-at.bofh.it> <JtR0B-gSHW-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi Vincent,

On Fri, Oct 04, 2024 at 03:48:10PM +0200, Vincent Lefevre wrote:
> This bug has been fixed in unstable kernels. Shouldn't it be fixed
> in stable kernels too (as the fix is rather trivial)?
> 
> For instance, I still have
> 
> -rw-r--r-- 1 root root 55 2024-10-04 15:30:49 /lib/modules/6.1.0-25-amd64/modules.weakdep
> 
> while the kernel has been purged. So I got
> 
> Purging configuration files for linux-image-6.1.0-25-amd64 (6.1.106-3) ...
> rmdir: failed to remove '/lib/modules/6.1.0-25-amd64': Directory not empty
> dpkg: warning: while removing linux-image-6.1.0-25-amd64, directory '/lib/modules/6.1.0-25-amd64' not empty so not removed

Can you elaborate how you ended in this situation for stable? The
issue is actually in combination with only recent kmod, which
introduced creating the modules.weakdep. It should have been with kmod
around v32+20240327, so nothing around stable.

Can you give some background information on your system? Is there a
newer kmod installed from the upper suite or is this after an upgrade
to trixie actually?

Regards,
Salvatore

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1073998: linux: Purging linux-image-<version> doesn't clean up modules.weakdep file Diederik de Haas <didi.debian@cknow.org> - 2024-06-21 13:40 +0200
  Bug#1073998: linux: Purging linux-image-<version> doesn't clean up modules.weakdep file Christoph Berg <myon@debian.org> - 2024-06-21 13:50 +0200
    Bug#1073998: linux: Purging linux-image-<version> doesn't clean up modules.weakdep file Diederik de Haas <didi.debian@cknow.org> - 2024-06-21 14:10 +0200
      Bug#1073998: linux: Purging linux-image-<version> doesn't clean up modules.weakdep file Salvatore Bonaccorso <carnil@debian.org> - 2024-06-22 11:00 +0200
  Processed: Re: Bug#1073998: linux: Purging linux-image-<version>  doesn't clean up modules.weakdep file "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-06-21 14:10 +0200
  Processed: Re: Bug#1073998: linux: Purging linux-image-<version>  doesn't clean up modules.weakdep file "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-06-22 11:00 +0200
  Bug#1073998: marked as done (linux: Purging linux-image-<version>  doesn't clean up modules.weakdep file) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-06-22 12:30 +0200
  Bug#1073998: linux: Purging linux-image-<version> doesn't clean up modules.weakdep file Salvatore Bonaccorso <carnil@debian.org> - 2024-06-22 13:20 +0200
  Bug#1073998: linux: Purging linux-image-<version> doesn't clean up modules.weakdep file Vincent Lefevre <vincent@vinc17.net> - 2024-10-04 16:00 +0200
    Bug#1073998: linux: Purging linux-image-<version> doesn't clean up modules.weakdep file Salvatore Bonaccorso <carnil@debian.org> - 2024-10-06 17:10 +0200
      Bug#1073998: linux: Purging linux-image-<version> doesn't clean up modules.weakdep file Vincent Lefevre <vincent@vinc17.net> - 2024-10-06 17:40 +0200
        Bug#1073998: linux: Purging linux-image-<version> doesn't clean up modules.weakdep file Salvatore Bonaccorso <carnil@debian.org> - 2024-10-06 19:40 +0200

csiph-web