Bug#1131281: grub-common: Cannot uninstall grub-common with apt

Thierz alt.r3-19p0zst at yopmail.com
Thu Mar 19 16:33:19 GMT 2026


Package: grub-common
Version: 2.12-9+deb13u1
Severity: normal
X-Debbugs-Cc: alt.r3-19p0zst at yopmail.com

Dear Maintainer,

   * What led up to the situation?

I tried to simply remove grub because I don't need it, I have an already working rEFInd intalled to load either Debian Trixie or Windows 10.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I tried the command (as root):

# apt remove grub-common

   * What was the outcome of this action?

Résolution des dépendances  ... Erreur !        
Certains paquets ne peuvent être installés. Cela peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation : 

Impossible de satisfaire les dépendances : 
 grub-efi-amd64-signed : Dépend: grub-common (= 2.12-9+deb13u1) mais ne sera pas installé
Erreur : Erreur, pkgProblem::Resolve a généré des ruptures, ce qui a pu être causé par les paquets devant être gardés en l'état.
Erreur : The following information from --solver 3.0 may provide additional context:
   Unable to satisfy dependencies. Reached two conflicting decisions:
   1. grub-common:amd64 is selected for removal
   2. grub-common:amd64 is selected for install because:
      1. grub-efi-amd64-signed:amd64 is selected for install
      2. grub-efi-amd64-signed:amd64 Dépend grub-common (= 2.12-9+deb13u1)

   * What outcome did you expect instead?

I expected: grub-common removed

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/nvme0n1p5 / ext4 rw,relatime,errors=remount-ro 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
/dev/nvme0n1p6 /home ext4 rw,relatime 0 0
/dev/sda2 /media/thibi/Big fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c
insmod png
if background_image /usr/share/desktop-base/ceratopsian-theme/grub/grub-4x3.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	search --no-floppy --fs-uuid --set=root ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c
	echo	'Loading Linux 6.12.74+deb13+1-amd64 ...'
	linux	/boot/vmlinuz-6.12.74+deb13+1-amd64 root=UUID=ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-6.12.74+deb13+1-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c' {
	menuentry 'Debian GNU/Linux, with Linux 6.12.74+deb13+1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.74+deb13+1-amd64-advanced-ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c
		echo	'Loading Linux 6.12.74+deb13+1-amd64 ...'
		linux	/boot/vmlinuz-6.12.74+deb13+1-amd64 root=UUID=ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.12.74+deb13+1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.12.74+deb13+1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.74+deb13+1-amd64-recovery-ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c
		echo	'Loading Linux 6.12.74+deb13+1-amd64 ...'
		linux	/boot/vmlinuz-6.12.74+deb13+1-amd64 root=UUID=ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c ro single dis_ucode_ldr 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.12.74+deb13+1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.12.73+deb13-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.73+deb13-amd64-advanced-ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c
		echo	'Loading Linux 6.12.73+deb13-amd64 ...'
		linux	/boot/vmlinuz-6.12.73+deb13-amd64 root=UUID=ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.12.73+deb13-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.12.73+deb13-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.73+deb13-amd64-recovery-ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c
		echo	'Loading Linux 6.12.73+deb13-amd64 ...'
		linux	/boot/vmlinuz-6.12.73+deb13-amd64 root=UUID=ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c ro single dis_ucode_ldr 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.12.73+deb13-amd64
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/25_bli ###
if [ "$grub_platform" = "efi" ]; then
  insmod bli
fi
### END /etc/grub.d/25_bli ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)' --class windows --class os $menuentry_id_option 'osprober-efi-00E3-B2A2' {
	insmod part_gpt
	insmod fat
	search --no-floppy --fs-uuid --set=root 00E3-B2A2
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
	fwsetup --is-supported
	if [ "$?" = 0 ]; then
		menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
			fwsetup
		}
	fi
fi
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Mar 18 17:35 ata-DRW-24D5MT_KLGL3O82629 -> ../../sr0
lrwxrwxrwx 1 root root  9 Mar 18 18:35 ata-TOSHIBA_HDWD130_X0D1B33AS -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 18 18:35 ata-TOSHIBA_HDWD130_X0D1B33AS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 18 18:35 ata-TOSHIBA_HDWD130_X0D1B33AS-part2 -> ../../sda2
lrwxrwxrwx 1 root root 13 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6 -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6-part3 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6-part4 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6-part5 -> ../../nvme0n1p5
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6-part6 -> ../../nvme0n1p6
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6-part7 -> ../../nvme0n1p7
lrwxrwxrwx 1 root root 13 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6_1 -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6_1-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6_1-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6_1-part3 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6_1-part4 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6_1-part5 -> ../../nvme0n1p5
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6_1-part6 -> ../../nvme0n1p6
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-CT500P2SSD8_2041E4B67AC6_1-part7 -> ../../nvme0n1p7
lrwxrwxrwx 1 root root 13 Mar 18 18:35 nvme-nvme.c0a9-323034314534423637414336-4354353030503253534438-00000001 -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-nvme.c0a9-323034314534423637414336-4354353030503253534438-00000001-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-nvme.c0a9-323034314534423637414336-4354353030503253534438-00000001-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-nvme.c0a9-323034314534423637414336-4354353030503253534438-00000001-part3 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-nvme.c0a9-323034314534423637414336-4354353030503253534438-00000001-part4 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-nvme.c0a9-323034314534423637414336-4354353030503253534438-00000001-part5 -> ../../nvme0n1p5
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-nvme.c0a9-323034314534423637414336-4354353030503253534438-00000001-part6 -> ../../nvme0n1p6
lrwxrwxrwx 1 root root 15 Mar 18 18:35 nvme-nvme.c0a9-323034314534423637414336-4354353030503253534438-00000001-part7 -> ../../nvme0n1p7
lrwxrwxrwx 1 root root  9 Mar 18 18:35 usb-Mass_Storage_Device_125D20140310-0:0 -> ../../sdb
lrwxrwxrwx 1 root root  9 Mar 18 18:35 wwn-0x5000039fc0c09e0a -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 18 18:35 wwn-0x5000039fc0c09e0a-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 18 18:35 wwn-0x5000039fc0c09e0a-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Mar 18 17:35 wwn-0x5001480000000000 -> ../../sr0
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 15 Mar 18 18:35 00E3-B2A2 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Mar 18 18:35 1C4A57814A57569C -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 Mar 18 18:35 5304fe58-4af9-4cef-ac13-c45c1e4bdced -> ../../nvme0n1p7
lrwxrwxrwx 1 root root 15 Mar 18 18:35 723CFD6C3CFD2BAB -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 10 Mar 18 18:35 984E58B04E5888C0 -> ../../sda2
lrwxrwxrwx 1 root root 15 Mar 18 18:35 ca6766ec-c07a-48be-a7d3-24f7e1fa0b5c -> ../../nvme0n1p5
lrwxrwxrwx 1 root root 15 Mar 18 18:35 f4419e2d-8877-49c6-b1b3-69f6304b5038 -> ../../nvme0n1p6
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: 13.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.74+deb13+1-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
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  gettext-base        0.23.1-2
ii  libc6               2.41-12+deb13u2
ii  libdevmapper1.02.1  2:1.02.205-2
ii  libefiboot1t64      38-3.1+b1
ii  libefivar1t64       38-3.1+b1
ii  libfreetype6        2.13.3+dfsg-1+deb13u1
ii  libfuse3-4          3.17.2-3
ii  liblzma5            5.8.1-1

Versions of packages grub-common recommends:
ii  os-prober  1.83

Versions of packages grub-common suggests:
ii  console-setup  1.242~deb13u1
ii  desktop-base   13.0.4
pn  grub-emu       <none>
pn  mtools         <none>
pn  multiboot-doc  <none>
pn  xorriso        <none>

-- no debconf information


More information about the Pkg-grub-devel mailing list