Your message dated Sat, 22 Jun 2024 12:13:26 +0200
with message-id <1964824.qjskfCstz5@bagend>
and subject line Re: Bug#1073998: linux: Purging linux-image-<version> doesn't 
clean up modules.weakdep file
has caused the Debian Bug report #1073998,
regarding linux: Purging linux-image-<version> doesn't clean up modules.weakdep 
file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1073998: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1073998
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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-----

--- End Message ---
--- Begin Message ---
Version: 6.9.2-1~exp1

On Saturday, 22 June 2024 10:52:53 CEST Salvatore Bonaccorso wrote:
> Are you sure about the found version 6.9.2-1~exp1? With the
> https://salsa.debian.org/kernel-team/linux/-/commit/19656787a6b4dcb29ea999a9
> 1cb9eb5e7994d77f merge this is actually fixed for 6.9.2-1~exp1.

Wow, do I feel stupid now :-O
You're absolutely right, purging 6.9.2-1~exp1 does succeed.

I could reproduce it when removing *my* 6.9.2 kernel (on arm64) ... but that 
build/kernel did not have that commit. (In my poor defense)

Cheers,
  Diederik

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply via email to