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


Groups > linux.debian.kernel > #82781

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

From Diederik de Haas <didi.debian@cknow.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:40 +0200
Message-ID <IRKMx-4uSw-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Source: linux
Version: 6.9.2-1
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

FWIW: I do not have any DKMS package which could also result in the
inability to remove the modules dir.

- -- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZnVlCwAKCRDXblvOeH7b
bvdqAPwOCZQoQ5xXUbW+FkytY5Ovj5xoPizPFOWdFTvtaXro0QD/RhTTHvmL4cZ4
GfAOEDPN4Rv+vnze+lNZt+xCrTSa4AY=
=QCxl
-----END PGP SIGNATURE-----

Back to linux.debian.kernel | Previous | Next — 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