Bug#989645: /usr/sbin/grub-mkconfig: dpkg: error processing package linux-image-powerpc (--configure):
Rick Thomas
rbthomas at pobox.com
Wed Jun 9 10:15:41 BST 2021
Package: grub-common
Version: 2.04-18
Severity: grave
File: /usr/sbin/grub-mkconfig
Justification: renders package unusable
X-Debbugs-Cc: debian-powerpc at lists.debian.org, glaubitz at physik.fu-berlin.de, rbthomas at pobox.com
This is what happens when I attempt to do "aptitude full-upgrade" on my PowerPC machine:
root at dillserver:/home/rbthomas# aptitude full-upgrade
The following partially installed packages will be configured:
linux-image-5.10.0-7-powerpc linux-image-powerpc
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up linux-image-5.10.0-7-powerpc (5.10.40-1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-7-powerpc
/etc/kernel/postinst.d/zz-update-grub:
/usr/sbin/grub-mkconfig: 257: cannot create /boot/grub/grub.cfg.new: Read-only file system
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
dpkg: error processing package linux-image-5.10.0-7-powerpc (--configure):
installed linux-image-5.10.0-7-powerpc package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-powerpc:
linux-image-powerpc depends on linux-image-5.10.0-7-powerpc (= 5.10.40-1); however:
Package linux-image-5.10.0-7-powerpc is not configured yet.
dpkg: error processing package linux-image-powerpc (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-5.10.0-7-powerpc
linux-image-powerpc
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up linux-image-5.10.0-7-powerpc (5.10.40-1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-7-powerpc
/etc/kernel/postinst.d/zz-update-grub:
/usr/sbin/grub-mkconfig: 257: cannot create /boot/grub/grub.cfg.new: Read-only file system
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
dpkg: error processing package linux-image-5.10.0-7-powerpc (--configure):
installed linux-image-5.10.0-7-powerpc package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-powerpc:
linux-image-powerpc depends on linux-image-5.10.0-7-powerpc (= 5.10.40-1); however:
Package linux-image-5.10.0-7-powerpc is not configured yet.
dpkg: error processing package linux-image-powerpc (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-5.10.0-7-powerpc
linux-image-powerpc
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/mapper/dill-root / ext4 rw,relatime,errors=remount-ro 0 0
/dev/mapper/dill-home /home ext4 rw,relatime 0 0
/dev/sda3 /boot ext2 rw,relatime 0 0
/dev/sda2 /boot/grub hfs ro,relatime,uid=0,gid=0 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_apple
insmod lvm
insmod ext2
set root='lvmid/KyeuOm-Fceg-PCoI-LcmV-eVLL-RnL7-Xh0WT4/Ut9qE2-72vC-tTDE-XyVH-6Z0i-GXy3-lyyiCh'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/KyeuOm-Fceg-PCoI-LcmV-eVLL-RnL7-Xh0WT4/Ut9qE2-72vC-tTDE-XyVH-6Z0i-GXy3-lyyiCh' 9151f254-2918-4435-bd1c-9a0e70edfdf7
else
search --no-floppy --fs-uuid --set=root 9151f254-2918-4435-bd1c-9a0e70edfdf7
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
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 ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### 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-9151f254-2918-4435-bd1c-9a0e70edfdf7' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_apple
insmod ext2
set root='hd0,apple3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//pci at f2000000/mac-io at 17/ata-4 at 1f000/disk at 0,apple3' --hint-bios=hd0,apple3 --hint-efi=hd0,apple3 --hint-baremetal=ahci0,apple3 d5237bca-cc72-4994-ab9e-df9de93e27b5
else
search --no-floppy --fs-uuid --set=root d5237bca-cc72-4994-ab9e-df9de93e27b5
fi
echo 'Loading Linux 5.10.0-7-powerpc ...'
linux /vmlinux-5.10.0-7-powerpc root=/dev/mapper/dill-root ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.10.0-7-powerpc
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-9151f254-2918-4435-bd1c-9a0e70edfdf7' {
menuentry 'Debian GNU/Linux, with Linux 5.10.0-7-powerpc' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-7-powerpc-advanced-9151f254-2918-4435-bd1c-9a0e70edfdf7' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_apple
insmod ext2
set root='hd0,apple3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//pci at f2000000/mac-io at 17/ata-4 at 1f000/disk at 0,apple3' --hint-bios=hd0,apple3 --hint-efi=hd0,apple3 --hint-baremetal=ahci0,apple3 d5237bca-cc72-4994-ab9e-df9de93e27b5
else
search --no-floppy --fs-uuid --set=root d5237bca-cc72-4994-ab9e-df9de93e27b5
fi
echo 'Loading Linux 5.10.0-7-powerpc ...'
linux /vmlinux-5.10.0-7-powerpc root=/dev/mapper/dill-root ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.10.0-7-powerpc
}
menuentry 'Debian GNU/Linux, with Linux 5.10.0-7-powerpc (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-7-powerpc-recovery-9151f254-2918-4435-bd1c-9a0e70edfdf7' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_apple
insmod ext2
set root='hd0,apple3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//pci at f2000000/mac-io at 17/ata-4 at 1f000/disk at 0,apple3' --hint-bios=hd0,apple3 --hint-efi=hd0,apple3 --hint-baremetal=ahci0,apple3 d5237bca-cc72-4994-ab9e-df9de93e27b5
else
search --no-floppy --fs-uuid --set=root d5237bca-cc72-4994-ab9e-df9de93e27b5
fi
echo 'Loading Linux 5.10.0-7-powerpc ...'
linux /vmlinux-5.10.0-7-powerpc root=/dev/mapper/dill-root ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.10.0-7-powerpc
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Debian GNU/Linux 8 (jessie) (on /dev/sdb4)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-3afc42bc-1b79-49d9-bc1d-8601a69fe13d' {
insmod part_apple
insmod ext2
set root='hd1,apple4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//pci at f2000000/ACARD\,6280M at 13/disk at 0,apple4' --hint-bios=hd1,apple4 --hint-efi=hd1,apple4 --hint-baremetal=ahci1,apple4 3afc42bc-1b79-49d9-bc1d-8601a69fe13d
else
search --no-floppy --fs-uuid --set=root 3afc42bc-1b79-49d9-bc1d-8601a69fe13d
fi
linux /boot/vmlinux root=LABEL ro text
initrd /boot/initrd.img
}
submenu 'Advanced options for Debian GNU/Linux 8 (jessie) (on /dev/sdb4)' $menuentry_id_option 'osprober-gnulinux-advanced-3afc42bc-1b79-49d9-bc1d-8601a69fe13d' {
menuentry 'Linux (on /dev/sdb4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinux--3afc42bc-1b79-49d9-bc1d-8601a69fe13d' {
insmod part_apple
insmod ext2
set root='hd1,apple4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//pci at f2000000/ACARD\,6280M at 13/disk at 0,apple4' --hint-bios=hd1,apple4 --hint-efi=hd1,apple4 --hint-baremetal=ahci1,apple4 3afc42bc-1b79-49d9-bc1d-8601a69fe13d
else
search --no-floppy --fs-uuid --set=root 3afc42bc-1b79-49d9-bc1d-8601a69fe13d
fi
linux /boot/vmlinux root=LABEL ro text
initrd /boot/initrd.img
}
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### 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
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md127 : active (auto-read-only) raid1 sdd[1] sdc[0]
312374592 blocks super 1.2 [2/2] [UU]
bitmap: 0/3 pages [0KB], 65536KB chunk
unused devices: <none>
*********************** END /proc/mdstat
*********************** BEGIN LVM
*********************** END LVM
*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 Apr 12 11:21 ata-PIONEER_DVD-RW_DVR-117D -> ../../sr0
lrwxrwxrwx 1 root root 9 Apr 12 11:21 ata-WDC_WD2500JB-57GVC0_WD-WCAL78418236 -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 12 11:21 ata-WDC_WD2500JB-57GVC0_WD-WCAL78418236-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Apr 12 11:21 ata-WDC_WD2500JB-57GVC0_WD-WCAL78418236-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Apr 12 11:21 ata-WDC_WD2500JB-57GVC0_WD-WCAL78418236-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Apr 12 11:21 ata-WDC_WD2500JB-57GVC0_WD-WCAL78418236-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Apr 12 11:21 ata-WDC_WD2500JB-57GVC0_WD-WCAL78418236-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 9 Apr 12 11:21 ata-WDC_WD3200AAJB-00WGA0_WD-WCARW6192071 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 12 11:21 ata-WDC_WD3200AAJB-00WGA0_WD-WCARW6192071-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 12 11:21 ata-WDC_WD3200AAJB-00WGA0_WD-WCARW6192071-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 12 11:21 ata-WDC_WD3200AAJB-00WGA0_WD-WCARW6192071-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Apr 12 11:21 ata-WDC_WD3200AAJB-00WGA0_WD-WCARW6192071-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Apr 12 11:21 ata-WDC_WD3200AAJB-00WGA0_WD-WCARW6192071-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Apr 12 11:21 ata-WDC_WD3200AAJB-56R1A0_WD-WCAV2L298602 -> ../../sdc
lrwxrwxrwx 1 root root 9 Apr 12 11:21 ata-WDC_WD3200AAJB-56R1A0_WD-WCAV2T713387 -> ../../sdd
lrwxrwxrwx 1 root root 10 Apr 12 11:21 dm-name-dill-home -> ../../dm-2
lrwxrwxrwx 1 root root 10 Apr 12 11:21 dm-name-dill-root -> ../../dm-0
lrwxrwxrwx 1 root root 10 Apr 12 11:21 dm-name-dill-swap_1 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Apr 12 11:21 dm-uuid-LVM-KyeuOmFcegPCoILcmVeVLLRnL7Xh0WT4AGMNkI36qWp9cu587TFL4Npt1sLOZD12 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Apr 12 11:21 dm-uuid-LVM-KyeuOmFcegPCoILcmVeVLLRnL7Xh0WT4OtcN29hjymsD2cTYMtQXuX69dk6jqFwn -> ../../dm-2
lrwxrwxrwx 1 root root 10 Apr 12 11:21 dm-uuid-LVM-KyeuOmFcegPCoILcmVeVLLRnL7Xh0WT4Ut9qE272vCtTDEXyVH6Z0iGXy3lyyiCh -> ../../dm-0
lrwxrwxrwx 1 root root 10 Apr 12 11:21 lvm-pv-uuid-tqBKhT-h4ij-vRtF-d08Z-nN5S-9hGu-6Ie8zF -> ../../sda4
lrwxrwxrwx 1 root root 11 Apr 12 11:21 md-name-dillserver:backup -> ../../md127
lrwxrwxrwx 1 root root 13 Apr 12 11:21 md-name-dillserver:backup-part1 -> ../../md127p1
lrwxrwxrwx 1 root root 11 Apr 12 11:21 md-uuid-10aef708:44c9c2e5:7ac55829:225c7919 -> ../../md127
lrwxrwxrwx 1 root root 13 Apr 12 11:21 md-uuid-10aef708:44c9c2e5:7ac55829:225c7919-part1 -> ../../md127p1
lrwxrwxrwx 1 root root 9 Apr 12 11:21 wwn-0x50014ee158766816 -> ../../sdd
lrwxrwxrwx 1 root root 9 Apr 12 11:21 wwn-0x50014ee1abc68d7a -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 12 11:21 wwn-0x50014ee1abc68d7a-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 12 11:21 wwn-0x50014ee1abc68d7a-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 12 11:21 wwn-0x50014ee1abc68d7a-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Apr 12 11:21 wwn-0x50014ee1abc68d7a-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Apr 12 11:21 wwn-0x50014ee1abc68d7a-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Apr 12 11:21 wwn-0x50014ee1ad45a008 -> ../../sdc
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 13 Apr 12 11:21 20bb3fca-4dd1-4e44-9eff-fff671b662c9 -> ../../md127p1
lrwxrwxrwx 1 root root 10 Apr 12 11:21 245751a9-c0a1-40d8-9e43-4540f33c9544 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Apr 12 11:21 3afc42bc-1b79-49d9-bc1d-8601a69fe13d -> ../../sdb4
lrwxrwxrwx 1 root root 10 Apr 12 11:21 9151f254-2918-4435-bd1c-9a0e70edfdf7 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Apr 12 11:21 976d7379-90b0-45e9-8eb4-b4a363211b2a -> ../../dm-1
lrwxrwxrwx 1 root root 10 Apr 12 11:21 d5237bca-cc72-4994-ab9e-df9de93e27b5 -> ../../sda3
lrwxrwxrwx 1 root root 10 Apr 12 11:21 db0c4757-093e-4cbb-9e2d-96ad875ae055 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Apr 12 11:21 e523aaef-7654-4ab7-8728-1e6a49a23616 -> ../../sdb5
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: 11.0
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 5.10.0-7-powerpc
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.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.21-4
ii libc6 2.31-12
ii libdevmapper1.02.1 2:1.02.175-2.1
ii libfreetype6 2.10.4+dfsg-1
ii libfuse2 2.9.9-5
ii liblzma5 5.2.5-2
Versions of packages grub-common recommends:
ii os-prober 1.78
Versions of packages grub-common suggests:
ii console-setup 1.203
pn desktop-base <none>
pn grub-emu <none>
pn multiboot-doc <none>
pn xorriso <none>
-- no debconf information
More information about the Pkg-grub-devel
mailing list