Bug#1051251: /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found due to wrong shell location
On Sun, 17 Sep 2023 13:14:04 +0200, Julian Andres Klode wrote: > I admit that my choice of words was suboptimal, and I'd like to > apologise for it. Thank you! gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- signature.asc Description: Digital Signature
Bug#1051251: /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found due to wrong shell location
On Sun, Sep 17, 2023 at 01:18:19AM +0200, gregor herrmann wrote: > On Sat, 16 Sep 2023 11:43:41 +0200, Julian Andres Klode wrote: > > > You have literally hacked around the dependencies of the packages by > > inserting a fake package to pretend to have merged-usr installed to be > > able to maintain a file system layout the project has decided is no > > longer supported. > > That's wrong. > Another option is to put init on hold (at the version before it > depends on usr-merge). init-system-helpers is the one specifying the dependency on merged usr, and it is essential. Packages in testing/unstable may require all essential packages to be at least at the version used in stable, therefore that is not a supported configuration either. > > > FWIW, if you people keep being annoying I (with my apt head on) am > > just going to deliberately make apt error out and refuse any operation > > on unmerged systems. > > Your communication style is uncacceptable. Please reconsider. I admit that my choice of words was suboptimal, and I'd like to apologise for it. That being said, I went ahead and implemented the feature in apt 2.7.4/2.7.5 yesterday in a first version. This is a bit stronger than I might want the final version to be, so you can expect further adjustments in the following week. Drew has shown me that people can get into this mess inadvertently by having followed the temporary warnings in dpkg, and as per social contract "Our priorities are our users and free software", it is our duty as maintainers to make sure this doesn't happen. As for this bug, you can expect it to be resolved in next week's upload. I do have a couple of further fixes to review and include, and I was at all systems go last week talking to people. -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en signature.asc Description: PGP signature
Bug#1051251: /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found due to wrong shell location
On Sat, 16 Sep 2023 11:43:41 +0200, Julian Andres Klode wrote: > You have literally hacked around the dependencies of the packages by > inserting a fake package to pretend to have merged-usr installed to be > able to maintain a file system layout the project has decided is no > longer supported. That's wrong. Another option is to put init on hold (at the version before it depends on usr-merge). > FWIW, if you people keep being annoying I (with my apt head on) am > just going to deliberately make apt error out and refuse any operation > on unmerged systems. Your communication style is uncacceptable. Please reconsider. Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- signature.asc Description: Digital Signature
Bug#1051251: /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found due to wrong shell location
On 2023-09-16 12:16, Drew Parsons wrote: apologies for the preceding empty message. Sent button pressed by accident. On 2023-09-16 12:12, Julian Andres Klode wrote: Maybe you have followed the warnigns from dpkg that were added by his hostile maintainer declaring merged-usr to be unsupported and asking you to run a dangerous dpkg-fsys-usrunmess to mess up your system. I will accept that as a workaround. dpkg-fsys-usrunmess is indeed installed If there is a war between dpkg and apt, do we need to invoke the Technical Committee to either force removal or dpkg-fsys-usrunmess or force uploading fixes like the one to this bug ? It sounds like it is needed. I see now it has been resolved. dpkg-fsys-usrunmess is no longer available, it is now marked as a "local or obselete" package. Perhaps the most practical resolution is to mark apt Conflicts: dpkg-fsys-usrunmess ?
Bug#1051251: /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found due to wrong shell location
apologies for the preceding empty message. Sent button pressed by accident. On 2023-09-16 12:12, Julian Andres Klode wrote: Maybe you have followed the warnigns from dpkg that were added by his hostile maintainer declaring merged-usr to be unsupported and asking you to run a dangerous dpkg-fsys-usrunmess to mess up your system. I will accept that as a workaround. dpkg-fsys-usrunmess is indeed installed If there is a war between dpkg and apt, do we need to invoke the Technical Committee to either force removal or dpkg-fsys-usrunmess or force uploading fixes like the one to this bug ? It sounds like it is needed.
Bug#1051251: /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found due to wrong shell location
Control: severity -1 wishlist On Sat, Sep 16, 2023 at 12:01:36PM +0200, Drew Parsons wrote: > Control: severity -1 critical > > > On 2023-09-16 11:43, Julian Andres Klode wrote: > > Control: severity -1 wishlist > > > > On Sat, Sep 16, 2023 at 10:36:39AM +0200, Drew Parsons wrote: > > > Source: grub2 > > > Version: 2.12~rc1-7 > > > Followup-For: Bug #1051251 > > > Control: severity 1051251 critical > > > > > > This is a critical bug. apt fails on this bug early in its run, and > > > therefore this one bug is preventing *every* *other* package from > > > updating. > > > > You have literally hacked around the dependencies of the packages by > > inserting a fake package to pretend to have merged-usr installed to be > > able to maintain a file system layout the project has decided is no > > longer supported. > > I have done literally nothing to change merged-usr status, apart from > regularly upgrade packages as they come along. This is not true. init-system-helpers depends on usrmerge | merged-usr, and merged-usr only installs if your usr is merged, and usrmerge will convert your system to the supported layout. And that package is essential. The only way you end up in that situation is by messing with the package management system so that you generate a fake package using equivs or similar that Provides: usrmerge or merged-usr, or using the buildd workaround. Maybe you have followed the warnigns from dpkg that were added by his hostile maintainer declaring merged-usr to be unsupported and asking you to run a dangerous dpkg-fsys-usrunmess to mess up your system. -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en
Bug#1051251: /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found due to wrong shell location
On 2023-09-16 12:12, Julian Andres Klode wrote: Control: severity -1 wishlist On Sat, Sep 16, 2023 at 12:01:36PM +0200, Drew Parsons wrote: Control: severity -1 critical On 2023-09-16 11:43, Julian Andres Klode wrote: > Control: severity -1 wishlist > > On Sat, Sep 16, 2023 at 10:36:39AM +0200, Drew Parsons wrote: > > Source: grub2 > > Version: 2.12~rc1-7 > > Followup-For: Bug #1051251 > > Control: severity 1051251 critical > > > > This is a critical bug. apt fails on this bug early in its run, and > > therefore this one bug is preventing *every* *other* package from > > updating. > > You have literally hacked around the dependencies of the packages by > inserting a fake package to pretend to have merged-usr installed to be > able to maintain a file system layout the project has decided is no > longer supported. I have done literally nothing to change merged-usr status, apart from regularly upgrade packages as they come along. This is not true. init-system-helpers depends on usrmerge | merged-usr, and merged-usr only installs if your usr is merged, and usrmerge will convert your system to the supported layout. And that package is essential. The only way you end up in that situation is by messing with the package management system so that you generate a fake package using equivs or similar that Provides: usrmerge or merged-usr, or using the buildd workaround. Maybe you have followed the warnigns from dpkg that were added by his hostile maintainer declaring merged-usr to be unsupported and asking you to run a dangerous dpkg-fsys-usrunmess to mess up your system.
Bug#1051251: /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found due to wrong shell location
Control: severity -1 critical On 2023-09-16 11:43, Julian Andres Klode wrote: Control: severity -1 wishlist On Sat, Sep 16, 2023 at 10:36:39AM +0200, Drew Parsons wrote: Source: grub2 Version: 2.12~rc1-7 Followup-For: Bug #1051251 Control: severity 1051251 critical This is a critical bug. apt fails on this bug early in its run, and therefore this one bug is preventing *every* *other* package from updating. You have literally hacked around the dependencies of the packages by inserting a fake package to pretend to have merged-usr installed to be able to maintain a file system layout the project has decided is no longer supported. I have done literally nothing to change merged-usr status, apart from regularly upgrade packages as they come along. FWIW, if you people keep being annoying I (with my apt head on) am just going to deliberately make apt error out and refuse any operation on unmerged systems. We are annoyed. Please do what you must do.
Bug#1051251: /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found due to wrong shell location
Control: severity -1 wishlist On Sat, Sep 16, 2023 at 10:36:39AM +0200, Drew Parsons wrote: > Source: grub2 > Version: 2.12~rc1-7 > Followup-For: Bug #1051251 > Control: severity 1051251 critical > > This is a critical bug. apt fails on this bug early in its run, and > therefore this one bug is preventing *every* *other* package from updating. You have literally hacked around the dependencies of the packages by inserting a fake package to pretend to have merged-usr installed to be able to maintain a file system layout the project has decided is no longer supported. FWIW, if you people keep being annoying I (with my apt head on) am just going to deliberately make apt error out and refuse any operation on unmerged systems. -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en
Bug#1051251: /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found due to wrong shell location
Source: grub2 Version: 2.12~rc1-7 Followup-For: Bug #1051251 Control: severity 1051251 critical This is a critical bug. apt fails on this bug early in its run, and therefore this one bug is preventing *every* *other* package from updating. If the fix can't be uploaded to unstable, then please upload to experimental. -- System Information: Debian Release: trixie/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental') merged-usr: no Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.4.0-3-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
Bug#1051251: /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found due to wrong shell location
Control: severity -1 wishlist Control: tag -1 upstream Control: fixed -1 2.12-1 On Tue, Sep 05, 2023 at 07:12:18AM +0100, Klaus Ethgen wrote: > Package: grub-common > Version: 2.12~rc1-7 > Severity: important > > ~> update-grub > Generating grub configuration file ... > Found linux image: /boot/vmlinuz-6.1.38 > Found memtest86+x64 image: /boot/memtest86+x64.bin > /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found > > The shebang line state "#!/usr/bin/sh" but there is no shell in > /usr/bin, they always are in /bin! While this has been fixed upstream already, systems like yours are also not supported anymore, since merged-usr is mandatory since bookworm. I'm going to set a fixed version in the future for the version that includes the fix. -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en signature.asc Description: PGP signature
Bug#1051251: /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found due to wrong shell location
Package: grub-common Version: 2.12~rc1-7 Severity: important ~> update-grub Generating grub configuration file ... Found linux image: /boot/vmlinuz-6.1.38 Found memtest86+x64 image: /boot/memtest86+x64.bin /usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found The shebang line state "#!/usr/bin/sh" but there is no shell in /usr/bin, they always are in /bin! -- Package-specific info: *** BEGIN /proc/mounts /dev/md0 / btrfs rw,lazytime,relatime,compress=zstd:3,ssd_spread,space_cache,autodefrag,subvolid=5,subvol=/ 0 0 /dev/mapper/sysvg-lv_usr /usr btrfs rw,lazytime,nodev,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=5,subvol=/ 0 0 /dev/mapper/sysvg-lv_var /var btrfs rw,lazytime,nosuid,relatime,compress-force=lzo,ssd,space_cache,autodefrag,subvolid=5,subvol=/ 0 0 /dev/mapper/crypt0 /home btrfs rw,lazytime,nosuid,nodev,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=258,subvol=/home 0 0 /dev/mapper/crypt0 /misc btrfs rw,lazytime,nosuid,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=257,subvol=/misc 0 0 /dev/mapper/crypt0 /etc/secure btrfs rw,lazytime,nosuid,nodev,noexec,relatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=259,subvol=/etc 0 0 /dev/mapper/crypt0 /root btrfs rw,lazytime,nosuid,nodev,relatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=260,subvol=/root 0 0 /dev/mapper/_sec /misc/gmail/sec btrfs rw,lazytime,nosuid,nodev,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=297,subvol=/.subfolder 0 0 *** END /proc/mounts *** BEGIN /boot/grub/grub.cfg -- System Information: Debian Release: trixie/sid APT prefers experimental APT policy: (1, 'experimental') merged-usr: no Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.38 (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CPU_OUT_OF_SPEC, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages grub-common depends on: ii gettext-base0.21-13 ii libc6 2.37-7 ii libdevmapper1.02.1 2:1.02.185-2 ii libefiboot1 37-6 ii libefivar1 37-6 ii libfreetype62.13.2+dfsg-1 ii libfuse3-3 3.14.0-4 ii liblzma55.4.4-0.1 Versions of packages grub-common recommends: pn os-prober Versions of packages grub-common suggests: ii console-setup 1.222 pn desktop-base pn grub-emu ii mtools 4.0.43-1 pn multiboot-doc ii xorriso1.5.4-4 -- Configuration Files: /etc/grub.d/10_linux changed: set -e prefix="/usr" exec_prefix="/usr" datarootdir="/usr/share" ubuntu_recovery="0" quiet_boot="0" quick_boot="0" gfxpayload_dynamic="0" vt_handoff="0" . "$pkgdatadir/grub-mkconfig_lib" export TEXTDOMAIN=grub export TEXTDOMAINDIR="${datarootdir}/locale" CLASS="--class gnu-linux --class gnu --class os" if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then OS=GNU/Linux else case ${GRUB_DISTRIBUTOR} in Ubuntu|Kubuntu) OS="${GRUB_DISTRIBUTOR}" ;; *) OS="${GRUB_DISTRIBUTOR} GNU/Linux" ;; esac CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}" fi case ${GRUB_DEVICE} in /dev/loop/*|/dev/loop[0-9]) GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"` # We can't cope with devices loop-mounted from files here. case ${GRUB_DEVICE} in /dev/*) ;; *) exit 0 ;; esac ;; esac : ${GRUB_CMDLINE_LINUX_RECOVERY:=single} : ${GRUB_DISABLE_LINUX_PARTUUID=true} if ( [ "x${GRUB_DEVICE_UUID}" = "x" ] && [ "x${GRUB_DEVICE_PARTUUID}" = "x" ] ) \ || ( [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \ && [ "x${GRUB_DISABLE_LINUX_PARTUUID}" = "xtrue" ] ) \ || ( ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \ && ! test -e "/dev/disk/by-partuuid/${GRUB_DEVICE_PARTUUID}" ) \ || ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm ); then LINUX_ROOT_DEVICE=${GRUB_DEVICE} elif [ "x${GRUB_DEVICE_UUID}" = "x" ] \ || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ]; then LINUX_ROOT_DEVICE=PARTUUID=${GRUB_DEVICE_PARTUUID} else LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID} fi case x"$GRUB_FS" in xbtrfs) rootsubvol="`make_system_path_relative_to_its_root /`" rootsubvol="${rootsubvol#/}" if [ "x${rootsubvol}" != x ]; then GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}" fi;; xzfs) rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true` bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`" LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs%/}" ;; esac title_correction_code= if [ -x /lib/recovery-mode/recovery-menu ]; then