Description of problem: When install man-db with glibc-minimal-langpack, the rpm script (I guess it is %transfiletriggerin script) after the installation fail. The installation command I use is below. dnf --disablerepo=* --enablerepo=rawhide \ --installroot=/nfsroot/hoge -y install man-db glibc-minimal-langpack The above command outputs the following error message (The full output is attached). %%%%%%%%%%%%%%%%%%%%%% (...) Installing : man-db-2.7.5-2.fc24.x86_64 50/50 /usr/sbin/convert-to-edition: line 163: grub2-mkconfig: command not found This system has been converted to non-edition /usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct Verifying : man-db-2.7.5-2.fc24.x86_64 1/50 (...) %%%%%%%%%%%%%%%%%%%%%% Note that the first error message is comes from fedora-release package's bug. If I install man-db with glibc-all-langpacks, the above error message is not shown. Version-Release number of selected component (if applicable): man-db-2.7.5-2.fc24.x86_64 How reproducible: always Steps to Reproduce: 1. install packages by using the above command. 2. 3. Actual results: Install finishes without error message. Expected results: Installation process shows the above error message. Additional info:
Created attachment 1133045 [details] install log of man-db with glibc-minimal-langpack
Hello Yu, the message is actually just warning, not error. It doesn't affect anything and the %transfiletriggerin scriptlet finishes successfully. It is caused by the fact that LANG environment variable is set to a locale other than C or POSIX, while only these two locales are present with glibc-minimal-langpack installed. The warning can be suppressed either by explicitly setting LANG environment variable to C or POSIX, or by setting MAN_NO_LOCALE_WARNING variable.
Commit: http://pkgs.fedoraproject.org/cgit/rpms/man-db.git/commit/?id=98f13860c7089fe81942cf0cb1d702eba6c709bf
Thanks. I confirm that the message is suppressed by setting LANG=C or MAN_NO_LOCALE_WARNING=1. I hope that the fix is also applied to F24.
(In reply to Yu Watanabe from comment #4) > I hope that the fix is also applied to F24. It is not, because the bug was reported against rawhide. I'm reopening this for F24.
F24 commit: http://pkgs.fedoraproject.org/cgit/rpms/man-db.git/commit/?h=f24&id=98f13860c7089fe81942cf0cb1d702eba6c709bf
man-db-2.7.5-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-bc305c4b1e
man-db-2.7.5-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-bc305c4b1e
man-db-2.7.5-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.