Bug 1545433
Summary: | [mariadb-server] dependency resolves to community-mysql and fails to install | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Carl George <carl> |
Component: | mariadb | Assignee: | Michal Schorm <mschorm> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 28 | CC: | ben.harper, dciabrin, hhorak, jmracek, jstanek, mbayer, mkocka, mmuzila, mschorm, praiskup, terje.rosten |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-09-05 13:59:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Carl George
2018-02-14 22:04:27 UTC
my_print_defaults should moved to community-mysql-server I think. Other thing is that server should not require mysql(x86-64) at all, there is no need for client for server to start. (in pre systemd days mysqladmin was used in initscript to check server was up, however there is no such need any longer). Two separate issues: 1) I try to make mariadb and mysql installable together in a matrix of ways. I'll move the files to the correct location, so they won't confict 2) Why the docker DNF like coomunity-mysql client more, I can't tell for now. Yeah it would be nice if dnf had additional flags to show more insight into resolution logic. See also: https://bugzilla.redhat.com/show_bug.cgi?id=1148627 This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'. The first issue was solved by an update I made for community-mysql package, fixing confilcting files. The second issue is still a mystery, however it is not a severe issue anymore. Leaving this bugzilla open to find out. In the fresh docker container, if you run first this update: dnf update -y --nogpgcheck gdbm openssl-libs Then mariadb-server will resolve correctly dnf install --assumeno mariadb-server I think that the file conflict should be solved on packaging level. If there are two packages that provides same file, but checksum of those files is different (always if they are from different srpm), there should be a conflict in spec. Like: "Conflicts: community-mysql" (in mariadb-server). I believe that solution in Comment 6 is based on new weak deps in updated packages, but this is an only guess. Should be fixed now. Can you confirm it for me please? Yes, it works now. Thanks! No problem, enjoy :) -- Unfortunatelly it took so long. Sorry for that. The issue - i believe - was hidden in the exact version of OpenSSL both databases was built with. DNF then prefered a combination, that required less changes in the system (e.g. not updating OpenSSL package). With combination of weak dependencies it resolved in such a way. That's why update of the system solved the issue (the OpenSSL package was updated too) And that's why it wasn't reproducible in base Fedora, where the OpenSSL package was already updated. The container image holds an old version. |