Bug#1121168: grub-common leaves filled /usr/share/doc/grub-common aronud

Marc Haber mh+debian-packages at zugschlus.de
Sat Nov 22 09:35:27 GMT 2025


Package: grub-common
Version: 2.14~git20250718.0e36779-2
Severity: normal

Hi,

grub-common has recently become a transitional package. Somehow before 
that, the grub-common package lost its contents in 
/usr/share/doc/grub-common, but that conten is still in the filesystem:

[6/4758]mh at swivel:~ $ ls -al /usr/share/doc/grub-common/
total 416K
drwxr-xr-x 1 root root  184 Nov  4 10:40 ./
drwxr-xr-x 1 root root 108K Nov 21 07:45 ../
-rw-r--r-- 1 root root  669 Jul 18 16:39 AUTHORS
-rw-r--r-- 1 root root  17K Nov  2 12:08 changelog.Debian.gz
-rw-r--r-- 1 root root 336K Jul 18 16:39 changelog.gz
-rw-r--r-- 1 root root  23K Nov  2 12:08 copyright
drwxr-xr-x 1 root root   16 Nov  4 10:40 examples/
-rw-r--r-- 1 root root  242 Nov  2 12:08 NEWS.Debian.gz
-rw-r--r-- 1 root root 9,2K Jul 18 16:39 NEWS.gz
-rw-r--r-- 1 root root 1,1K Jul 18 16:39 README
-rw-r--r-- 1 root root 1,4K Jul 18 16:39 THANKS
-rw-r--r-- 1 root root  318 Jul 18 16:39 TODO
[7/4759]mh at swivel:~ $ dpkg --listfiles grub-common
/.
/usr
/usr/share
/usr/share/bug
/usr/share/bug/grub-common
/usr/share/bug/grub-common/presubj
/usr/share/bug/grub-common/script
/usr/share/doc
/usr/share/doc/grub-common
[8/4760]mh at swivel:~ $

This leaves the docs around even after purging grub-common.

I can see this on four unstable installations. I didn't try a fifth.

Frankly, I do not understand how this could happen, dpkg is supposed to 
delete files that were in the installed version of a package and are no 
longer in the new version of a package. So this might as well be a dpkg 
bug. I am sorry that I don't have enough time these days to investigate 
this further.

Greetings
Marc


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/swivelbtr0 / btrfs rw,relatime,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/root 0 0
/dev/mapper/boot /boot ext4 rw,relatime 0 0
/dev/nvme0n1p1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/grub.cfg

-- System Information:
Debian Release: forky/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'oldstable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages grub-common depends on:
ii  grub2-common  2.14~git20250718.0e36779-2

grub-common recommends no packages.

grub-common suggests no packages.

-- Configuration Files:
/etc/grub.d/00_header changed [not included]
/etc/grub.d/05_debian_theme changed [not included]
/etc/grub.d/10_linux changed [not included]
/etc/grub.d/20_linux_xen changed [not included]
/etc/grub.d/30_os-prober changed [not included]

-- no debconf information



More information about the Pkg-grub-devel mailing list