Bug #116499 post-uninstall scriptlet output in mysql-connector-c++-jdbc
Submitted: 29 Oct 2024 6:39 Modified: 3 Mar 9:14
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / C++ Severity:S3 (Non-critical)
Version:9.1.0 OS:Fedora (41)
Assigned to: CPU Architecture:Any

[29 Oct 2024 6:39] Daniël van Eeden
Description:
When upgrading from 9.1.0-1.fc40 to 9.1.0-1.fc41 this happens:

>>> Running post-uninstall scriptlet: mysql-connector-c++-jdbc-0:9.1.0-1.fc40.x86_64
>>> Non-critical error in post-uninstall scriptlet: mysql-connector-c++-jdbc-0:9.1.0-1.fc40.x86_64
>>> Scriptlet output:
>>> /sbin/ldconfig: relative path `1' used to build cache
>>> 
>>> Stop post-uninstall scriptlet: mysql-connector-c++-jdbc-0:9.1.0-1.fc40.x86_64
[53/59] Erasing mysql-connector-c++-0:9.1.0-1.fc40.x86_64    

How to repeat:
Note that this might only happen on Fedora 41 as it uses dnf5 and RPM 4.20 

See also: https://fedoraproject.org/wiki/Releases/41/ChangeSet

Suggested fix:
avoid unimportant output in scriptlet
[29 Oct 2024 7:00] Daniël van Eeden
Note that I'm not sure if this is an unintended result of dnf/rpm changes in Fedora or a bug in the packaging of MySQL Connector/C++ however avoiding unimportant output would be good in any case.
[29 Oct 2024 7:11] MySQL Verification Team
Hello Daniël,

Thank you for the report and feedback.

regards,
Umesh
[3 Mar 7:17] Rafal Somla
Posted by developer:
 
I believe this issue was fixed in 9.2.0, bug#116215 (bug#37096144).
[3 Mar 9:14] Daniël van Eeden
I also think this was resolved at some point