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


Groups > linux.debian.kernel > #82782

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

From Christoph Berg <myon@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-06-21 13:50 +0200
Message-ID <IRKWe-4uW5-1@gated-at.bofh.it> (permalink)
References <IRKMx-4uSw-5@gated-at.bofh.it> <IRKMx-4uSw-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Re: Diederik de Haas
> When removing or 'even' purging a linux-image-<version> package, it
> reports the following issue:
> 
> rmdir: failed to remove '/lib/modules/<version>': Directory not empty
> 
> The reason for that is that there's still a ``modules.weakdep`` file.

I just had the same problem on linux-image-6.6.15-amd64.

> It seems to me that at least with purging that file should be removed
> and subsequently the ``/lib/modules/<version>`` dir.

TBH, I'd even argue plain "remove" should remove the debris from the
modules directory, it's not like there's anything of value in the
modules.* files left behind.

Kernels are the only package that I'm actually purging, if "remove"
wouldn't leave /lib/modules/*/ behind, I wouldn't have to do that.

Christoph

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