Description of problem: a minimal install with grub2 installs graphical librairies Version-Release number of selected component (if applicable): grub2-2.06-28.2.mga9 How reproducible: Each time Steps to Reproduce: Installing grub2 in a mageia 9 container (which it doesn't have before) leads to the following: $ sudo urpmi grub2 --no-recommends To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release (mga1)") console-setup 1.212 3.mga9 noarch fontconfig 2.14.2 1.mga9 x86_64 fonts-filesystem 2.0.5 6.mga9 noarch icu72-data 72.1 1.mga9 noarch lib64cairo2 1.17.6 2.mga9 x86_64 lib64dri-drivers 23.1.5 2.mga9 x86_64 lib64drm2 2.4.115 2.mga9 x86_64 lib64drm_amdgpu1 2.4.115 2.mga9 x86_64 lib64drm_intel1 2.4.115 2.mga9 x86_64 lib64drm_nouveau2 2.4.115 2.mga9 x86_64 lib64drm_radeon1 2.4.115 2.mga9 x86_64 lib64egl1 1.6.0 1.mga9 x86_64 lib64fontconfig1 2.14.2 1.mga9 x86_64 lib64freetype6 2.13.0 1.mga9 x86_64 lib64fuse2 2.9.9 6.mga9 x86_64 lib64gbm1 23.1.5 2.mga9 x86_64 lib64gl1 1.6.0 1.mga9 x86_64 lib64glapi0 23.1.5 2.mga9 x86_64 lib64gldispatch0 1.6.0 1.mga9 x86_64 lib64glx0 1.6.0 1.mga9 x86_64 lib64graphite2_3 1.3.14 2.mga9 x86_64 lib64harfbuzz0 7.0.1 1.mga9 x86_64 lib64icu72 72.1 1.mga9 x86_64 lib64llvm15.0 15.0.6 1.mga9 x86_64 lib64lm_sensors5 3.6.0 4.mga9 x86_64 lib64mesaegl1 23.1.5 2.mga9 x86_64 lib64mesagl1 23.1.5 2.mga9 x86_64 lib64mesavulkan-drivers 23.1.5 2.mga9 x86_64 lib64pciaccess0 0.17 1.mga9 x86_64 lib64pixman1_0 0.42.2 1.mga9 x86_64 Installing grub2 in a mageia 9 container (which it doesn't have before) leads to the following: $ sudo urpmi grub2 --no-recommends To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release (mga1)") console-setup 1.212 3.mga9 noarch fontconfig 2.14.2 1.mga9 x86_64 fonts-filesystem 2.0.5 6.mga9 noarch icu72-data 72.1 1.mga9 noarch lib64cairo2 1.17.6 2.mga9 x86_64 lib64dri-drivers 23.1.5 2.mga9 x86_64 lib64drm2 2.4.115 2.mga9 x86_64 lib64drm_amdgpu1 2.4.115 2.mga9 x86_64 lib64drm_intel1 2.4.115 2.mga9 x86_64 lib64drm_nouveau2 2.4.115 2.mga9 x86_64 lib64drm_radeon1 2.4.115 2.mga9 x86_64 lib64egl1 1.6.0 1.mga9 x86_64 lib64fontconfig1 2.14.2 1.mga9 x86_64 lib64freetype6 2.13.0 1.mga9 x86_64 lib64fuse2 2.9.9 6.mga9 x86_64 lib64gbm1 23.1.5 2.mga9 x86_64 lib64gl1 1.6.0 1.mga9 x86_64 lib64glapi0 23.1.5 2.mga9 x86_64 lib64gldispatch0 1.6.0 1.mga9 x86_64 lib64glx0 1.6.0 1.mga9 x86_64 lib64graphite2_3 1.3.14 2.mga9 x86_64 lib64harfbuzz0 7.0.1 1.mga9 x86_64 lib64icu72 72.1 1.mga9 x86_64 lib64llvm15.0 15.0.6 1.mga9 x86_64 lib64lm_sensors5 3.6.0 4.mga9 x86_64 lib64mesaegl1 23.1.5 2.mga9 x86_64 lib64mesagl1 23.1.5 2.mga9 x86_64 lib64mesavulkan-drivers 23.1.5 2.mga9 x86_64 lib64pciaccess0 0.17 1.mga9 x86_64 lib64pixman1_0 0.42.2 1.mga9 x86_64 Installing grub2 in a mageia 9 container (which it doesn't have before) leads to the following: $ sudo urpmi grub2 --no-recommends To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release (mga1)") console-setup 1.212 3.mga9 noarch fontconfig 2.14.2 1.mga9 x86_64 fonts-filesystem 2.0.5 6.mga9 noarch icu72-data 72.1 1.mga9 noarch lib64cairo2 1.17.6 2.mga9 x86_64 lib64dri-drivers 23.1.5 2.mga9 x86_64 lib64drm2 2.4.115 2.mga9 x86_64 lib64drm_amdgpu1 2.4.115 2.mga9 x86_64 lib64drm_intel1 2.4.115 2.mga9 x86_64 lib64drm_nouveau2 2.4.115 2.mga9 x86_64 lib64drm_radeon1 2.4.115 2.mga9 x86_64 lib64egl1 1.6.0 1.mga9 x86_64 lib64fontconfig1 2.14.2 1.mga9 x86_64 lib64freetype6 2.13.0 1.mga9 x86_64 lib64fuse2 2.9.9 6.mga9 x86_64 lib64gbm1 23.1.5 2.mga9 x86_64 lib64gl1 1.6.0 1.mga9 x86_64 lib64glapi0 23.1.5 2.mga9 x86_64 lib64gldispatch0 1.6.0 1.mga9 x86_64 lib64glx0 1.6.0 1.mga9 x86_64 lib64graphite2_3 1.3.14 2.mga9 x86_64 lib64harfbuzz0 7.0.1 1.mga9 x86_64 lib64icu72 72.1 1.mga9 x86_64 lib64llvm15.0 15.0.6 1.mga9 x86_64 lib64lm_sensors5 3.6.0 4.mga9 x86_64 lib64mesaegl1 23.1.5 2.mga9 x86_64 lib64mesagl1 23.1.5 2.mga9 x86_64 lib64mesavulkan-drivers 23.1.5 2.mga9 x86_64 lib64pciaccess0 0.17 1.mga9 x86_64 lib64pixman1_0 0.42.2 1.mga9 x86_64 lib64png16_16 1.6.38 1.mga9 x86_64 lib64unwind8 1.6.2 3.mga9 x86_64 lib64wayland-client0 1.21.0 1.mga9 x86_64 lib64wayland-server0 1.21.0 1.mga9 x86_64 lib64x11-xcb1 1.8.6 1.mga9 x86_64 lib64x11_6 1.8.6 1.mga9 x86_64 lib64xau6 1.0.11 1.mga9 x86_64 lib64xcb-dri2_0 1.15 2.mga9 x86_64 lib64xcb-dri3_0 1.15 2.mga9 x86_64 lib64xcb-glx0 1.15 2.mga9 x86_64 lib64xcb-present0 1.15 2.mga9 x86_64 lib64xcb-randr0 1.15 2.mga9 x86_64 lib64xcb-render0 1.15 2.mga9 x86_64 lib64xcb-shm0 1.15 2.mga9 x86_64 lib64xcb-sync1 1.15 2.mga9 x86_64 lib64xcb-xfixes0 1.15 2.mga9 x86_64 lib64xcb1 1.15 2.mga9 x86_64 lib64xdmcp6 1.1.4 1.mga9 x86_64 lib64xext6 1.3.5 1.mga9 x86_64 lib64xfixes3 6.0.0 2.mga9 x86_64 lib64xrender1 0.9.11 1.mga9 x86_64 lib64xshmfence1 1.3.2 1.mga9 x86_64 lib64xxf86vm1 1.1.5 1.mga9 x86_64 libdrm-common 2.4.115 2.mga9 x86_64 libglvnd 1.6.0 1.mga9 x86_64 llvm-plugins 15.0.6 1.mga9 x86_64 mesa 23.1.5 2.mga9 x86_64 mtools 4.0.43 1.mga9 x86_64 (medium "Core Updates (mga3)") grub2 2.06 28.1.mga9 x86_64 grub2-common 2.06 28.1.mga9 x86_64 325MB of additional disk space will be used. 80MB of packages will be retrieved. Proceed with the installation of the 60 packages? (Y/n) Why is mesa required by one of the other packages doesn't make sense to me. With Martin Whitaker's help it turned out that mesa is pulled in indirectly by libfreetype. This is due to the inclusion of the grub2-mkfont binary in the core package.
Solution given by Martin is to create a separate package for this binary. Pushed into cauldron as 2.12.3 Pushed into mga9 as 2.06.28.3 Would like to get other returns than mine so it's validated by QA.
CC: (none) => brunoAssignee: bugsquad => qa-bugsStatus: NEW => ASSIGNED
List of packages in 9/core/updates_testing grub2-2.06-28.3.mga9 grub2-common-2.06-28.3.mga9 grub2-efi-2.06-28.3.mga9 grub2-emu-2.06-28.3.mga9 grub2-emu-modules-2.06-28.3.mga9 grub2-mageia-theme-2.06-28.3.mga9 grub2-mkfont-2.06-28.3.mga9 SRPM: grub2-2.06-28.3.mga9.src.rpm
We have some issue here LC_ALL=C urpmi --auto --auto-update medium "QA Testing (64-bit)" is up-to-date medium "Core Release (distrib1)" is up-to-date medium "Core Updates (distrib3)" is up-to-date medium "Nonfree Release (distrib11)" is up-to-date medium "Nonfree Updates (distrib13)" is up-to-date medium "Tainted Release (distrib21)" is up-to-date medium "Tainted Updates (distrib23)" is up-to-date medium "Core 32bit Release (distrib31)" is up-to-date medium "Core 32bit Updates (distrib32)" is up-to-date medium "Nonfree 32bit Release (distrib36)" is up-to-date medium "Nonfree 32bit Updates (distrib37)" is up-to-date medium "Tainted 32bit Release (distrib41)" is up-to-date medium "Tainted 32bit Updates (distrib42)" is up-to-date The following packages can't be installed because they depend on packages that are older than the installed ones: libmesaegl1-24.2.4-2.mga9.tainted libegl1-1.6.0-1.mga9 libcairo2-1.17.6-2.mga9 libharfbuzz0-7.0.1-1.mga9 libfreetype6-2.13.0-1.mga9.tainted grub2-mkfont-2.06-28.3.mga9 https://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/core/release/libdevmapper1.02-1.02.185-1.mga9.i586.rpm https://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/core/release/libicu72-72.1-1.mga9.i586.rpm https://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/core/updates/libudev1-253.24-3.mga9.i586.rpm installing //home/katnatek/qa-testing/x86_64/grub2-common-2.06-28.3.mga9.x86_64.rpm /var/cache/urpmi/rpms/libdevmapper1.02-1.02.185-1.mga9.i586.rpm //home/katnatek/qa-testing/x86_64/grub2-2.06-28.3.mga9.x86_64.rpm /var/cache/urpmi/rpms/libudev1-253.24-3.mga9.i586.rpm /var/cache/urpmi/rpms/libicu72-72.1-1.mga9.i586.rpm //home/katnatek/qa-testing/x86_64/grub2-mageia-theme-2.06-28.3.mga9.noarch.rpm //home/katnatek/qa-testing/x86_64/grub2-efi-2.06-28.3.mga9.x86_64.rpm Preparing... ################################################################################################## 1/7: grub2 ################################################################################################## 2/7: grub2-common ################################################################################################## 3/7: libudev1 ################################################################################################## 4/7: grub2-efi ################################################################################################## 5/7: grub2-mageia-theme ################################################################################################## 6/7: libdevmapper1.02 ################################################################################################## 7/7: libicu72 ################################################################################################## 1/4: removing grub2-efi-2.06-28.2.mga9.x86_64 ################################################################################################## 2/4: removing grub2-mageia-theme-2.06-28.2.mga9.noarch ################################################################################################## 3/4: removing grub2-common-2.06-28.2.mga9.x86_64 ################################################################################################## 4/4: removing grub2-2.06-28.2.mga9.x86_64 ################################################################################################## Installing for i386-pc platform. Installation finished. No error reported. While some packages may have been installed, there were failures. The following packages can't be installed because they depend on packages that are older than the installed ones: libmesaegl1-24.2.4-2.mga9.tainted libegl1-1.6.0-1.mga9 libcairo2-1.17.6-2.mga9 libharfbuzz0-7.0.1-1.mga9 libfreetype6-2.13.0-1.mga9.tainted grub2-mkfont-2.06-28.3.mga9 Why is requiring 'old' libmesaegl1-24.2.4-2.mga9.tainted and not the version in bug#33671 ? Why is requiring lib packages instead of lib64 packages for 64b ? grub2-mkfont should not be a noarch package file /usr/bin/grub2-mkfont /usr/bin/grub2-mkfont: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=64b98f04319b3f37ff8545d1555246c85ffeb49d, for GNU/Linux 3.2.0, stripped
In cauldron, Wally updated grub2: * Tue Oct 29 2024 wally <wally> 2.12-5.mga10 + Revision: 2111731 - skip pxe build on armv7hl as arm-uboot seems to be unsupported * Tue Oct 29 2024 wally <wally> 2.12-4.mga10 + Revision: 2111712 - make mkfont sub pkg arch-dependant - move mkfont man page into correct pkg - add proper conflicts after file moves between pkgs
CC: (none) => marja11
mga9, x64 Tried installing the listed packages but failed on grub2-mkfont-2.06-28.3.mga9. A requested package cannot be installed: grub2-mkfont-2.06-28.3.mga9.noarch (due to unsatisfied libdevmapper.so.1.02(Base)) $ rpm -qa | grep grub2 grub2-efi-2.06-28.3.mga9 grub2-common-2.06-28.3.mga9 grub2-mageia-theme-2.06-28.3.mga9 grub2-emu-2.06-28.3.mga9 grub2-2.06-28.3.mga9 grub2-emu-modules-2.06-28.3.mga9 $ rpm -qa | grep devmapper lib64devmapper1.02-1.02.185-1.mga9 lib64devmapper-event1.02-1.02.185-1.mga9
CC: (none) => tarazed25
In reply to comment #5, smooth reboot. Tried rebuilding the bootloader: # drakboot --boot Reboot hung right at the start (creating ramdisk). Backed out and ran a quick upgrade from the 64-bit Mageia iso. OK now.
Should have emphasised that grub2-mkfont-2.06-28.3.mga9.noarch is not installed.
Assignee: qa-bugs => bruno
CC: (none) => ngompa13
Created attachment 14735 [details] Diff from current mga 9 spec I backport some fixes made in cauldron's spec I build the packages and used to update, looks like works LC_ALL=C urpmi --auto --auto-update --force medium "QA Testing (32-bit)" is up-to-date medium "QA Testing (64-bit)" is up-to-date medium "Core Release (distrib1)" is up-to-date medium "Core Updates (distrib3)" is up-to-date medium "Nonfree Release (distrib11)" is up-to-date medium "Nonfree Updates (distrib13)" is up-to-date medium "Tainted Release (distrib21)" is up-to-date medium "Tainted Updates (distrib23)" is up-to-date medium "Core 32bit Release (distrib31)" is up-to-date medium "Core 32bit Updates (distrib32)" is up-to-date medium "Nonfree 32bit Release (distrib36)" is up-to-date medium "Nonfree 32bit Updates (distrib37)" is up-to-date medium "Tainted 32bit Release (distrib41)" is up-to-date medium "Tainted 32bit Updates (distrib42)" is up-to-date installing grub2-efi-2.06-28.4.mga9.x86_64.rpm grub2-common-2.06-28.4.mga9.x86_64.rpm grub2-2.06-28.4.mga9.x86_64.rpm grub2-mkfont-2.06-28.4.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64 Preparing... ################################################################################################## warning: grub2-common-2.06-28.4.mga9.x86_64: Header V4 RSA/SHA256 Signature, key ID a1281639: NOKEY 1/4: grub2-common ################################################################################################## 2/4: grub2-efi ################################################################################################## 3/4: grub2-mkfont ################################################################################################## 4/4: grub2 ################################################################################################## 1/3: removing grub2-2.06-28.2.mga9.x86_64 ################################################################################################## 2/3: removing grub2-efi-2.06-28.2.mga9.x86_64 ################################################################################################## 3/3: removing grub2-common-2.06-28.2.mga9.x86_64 ################################################################################################## Returning to Bruno
CC: (none) => mageia
Updated pkgs in mga9 core/updates_testing: RPMS: grub2-2.06-28.4.mga9 grub2-common-2.06-28.4.mga9 grub2-efi-2.06-28.4.mga9 grub2-emu-2.06-28.4.mga9 grub2-emu-modules-2.06-28.4.mga9 grub2-mageia-theme-2.06-28.4.mga9 grub2-mkfont-2.06-28.4.mga9 SRPM: grub2-2.06-28.4.mga9.src.rpm
Assignee: bruno => qa-bugs
RH x86_64 LC_ALL=C urpmi --auto --auto-update medium "QA Testing (32-bit)" is up-to-date medium "QA Testing (64-bit)" is up-to-date medium "Core Release (distrib1)" is up-to-date medium "Core Updates (distrib3)" is up-to-date medium "Nonfree Release (distrib11)" is up-to-date medium "Nonfree Updates (distrib13)" is up-to-date medium "Tainted Release (distrib21)" is up-to-date medium "Tainted Updates (distrib23)" is up-to-date medium "Core 32bit Release (distrib31)" is up-to-date medium "Core 32bit Updates (distrib32)" is up-to-date medium "Nonfree 32bit Release (distrib36)" is up-to-date medium "Nonfree 32bit Updates (distrib37)" is up-to-date medium "Tainted 32bit Release (distrib41)" is up-to-date medium "Tainted 32bit Updates (distrib42)" is up-to-date installing grub2-2.06-28.4.mga9.x86_64.rpm grub2-common-2.06-28.4.mga9.x86_64.rpm grub2-mageia-theme-2.06-28.4.mga9.noarch.rpm grub2-mkfont-2.06-28.4.mga9.x86_64.rpm grub2-efi-2.06-28.4.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64 Preparing... ################################################################################################## 1/5: grub2-common ################################################################################################## 2/5: grub2-mkfont ################################################################################################## 3/5: grub2 ################################################################################################## 4/5: grub2-mageia-theme ################################################################################################## 5/5: grub2-efi ################################################################################################## 1/4: removing grub2-efi-2.06-28.2.mga9.x86_64 ################################################################################################## 2/4: removing grub2-mageia-theme-2.06-28.2.mga9.noarch ################################################################################################## 3/4: removing grub2-2.06-28.2.mga9.x86_64 ################################################################################################## 4/4: removing grub2-common-2.06-28.2.mga9.x86_64 ################################################################################################## Installing for i386-pc platform. Installation finished. No error reported. Reboot Grub menu OK System boot OK urpmq --recommends qa-testing/x86_64/grub2-2.06-28.4.mga9.x86_64.rpm grub2-mkfont Looks good to me
Keywords: (none) => advisory
Thanks Jani for the fixes ! I propose the following advisory: Mageia 9 now doesn't require any graphical library when asking for a minimal installation. Before, mesa was installed as dependency of grub2. Now the dependency is made on the newly introduced grub2-mkfont package which is optional.
(In reply to Bruno Cornec from comment #11) > Thanks Jani for the fixes ! > > I propose the following advisory: > > Mageia 9 now doesn't require any graphical library when asking for a minimal > installation. > Before, mesa was installed as dependency of grub2. Now the dependency is > made on the newly introduced grub2-mkfont package which is optional. This is the text I use A minimal install with grub2 installs graphical libraries, this is due to the inclusion of the grub2-mkfont binary in the core package. This update splits grub2-mkfont from the core package and make it an optional requirement, helping to make more light installations. But if you like I change for your suggestion
Yours is fine, I thought the adv was missing. Thanks !
RH i586 LC_ALL=C urpmi --auto --auto-update medium "QA Testing (32-bit)" is up-to-date medium "Core Release (distrib1)" is up-to-date medium "Core Updates (distrib3)" is up-to-date medium "Nonfree Release (distrib11)" is up-to-date medium "Nonfree Updates (distrib13)" is up-to-date medium "Tainted Release (distrib21)" is up-to-date medium "Tainted Updates (distrib23)" is up-to-date installing grub2-mageia-theme-2.06-28.4.mga9.noarch.rpm grub2-common-2.06-28.4.mga9.i586.rpm grub2-2.06-28.4.mga9.i586.rpm grub2-mkfont-2.06-28.4.mga9.i586.rpm from //home/katnatek/qa-testing/i586 Preparing... ####################################################################################### 1/4: grub2-mkfont ####################################################################################### 2/4: grub2 ####################################################################################### 3/4: grub2-common ####################################################################################### 4/4: grub2-mageia-theme ####################################################################################### 1/3: removing grub2-common-2.06-28.2.mga9.i586 ####################################################################################### 2/3: removing grub2-mageia-theme-2.06-28.2.mga9.noarch ####################################################################################### 3/3: removing grub2-2.06-28.2.mga9.i586 ####################################################################################### Installing for i386-pc platform. Installation finished. No error reported. Reboot Grub menu OK System boot OK
Whiteboard: (none) => MGA9-32-OK,MGA9-64-OKCC: (none) => andrewsfarm
Validating.
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2024-0224.html
Resolution: (none) => FIXEDStatus: ASSIGNED => RESOLVED
on the newly introduced grub2-mkfont package which is optional. > > This is the text I use > > A minimal install with grub2 installs graphical libraries, this is due > to the inclusion of the grub2-mkfont binary in the core package. > This update splits grub2-mkfont from the core package and make it an > optional requirement, helping to make more light installations. > > But if you like I change for your suggestion For future reference "helping to make more light installations" does not make sense in English. This should read "helping to make lighter installations" or "helping to make smaller installations"
CC: (none) => rihoward1
(In reply to r howard from comment #17) > on the newly introduced grub2-mkfont package which is optional. > > > > This is the text I use > > > > A minimal install with grub2 installs graphical libraries, this is due > > to the inclusion of the grub2-mkfont binary in the core package. > > This update splits grub2-mkfont from the core package and make it an > > optional requirement, helping to make more light installations. > > > > But if you like I change for your suggestion > > For future reference "helping to make more light installations" does not > make sense in English. This should read "helping to make lighter > installations" or "helping to make smaller installations" Thank you, you can consider join to QA Team and write advisories, I'm not native English speaker/writer and as the spellchecker and the sysadmin that regularly check my text not complaints about it, I did not notice the fault
When I give the advisories a final glance before pushing, I generally just fix gross errors and don't usually change the style as long as it's technically correct; I figure it's up to the QA team to agree on the content. I'm happy to edit a bit more imperiously to improve clarity if the QA team doesn't mind.
CC: (none) => dan
(In reply to Dan Fandrich from comment #19) > When I give the advisories a final glance before pushing, I generally just > fix gross errors and don't usually change the style as long as it's > technically correct; I figure it's up to the QA team to agree on the > content. I'm happy to edit a bit more imperiously to improve clarity if the > QA team doesn't mind. I not have anything against, the help is always welcome, I'll use automatic translators to help me to reduce your work when I have to write part or all the advisory
Just FTR with the updated version: urpmi --no-recommends grub2 To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release (mga1)") console-setup 1.212 3.mga9 noarch lib64fuse2 2.9.9 6.mga9 x86_64 mtools 4.0.43 1.mga9 x86_64 (medium "Core Updates (mga3)") grub2 2.06 28.4.mga9 x86_64 grub2-common 2.06 28.4.mga9 x86_64 37MB of additional disk space will be used. 10MB of packages will be retrieved. Proceed with the installation of the 5 packages? (Y/n)