[MDEV-19707] debuginfo RPM packages do not depend on the RPM packages containing the binaries Created: 2019-06-06 Updated: 2019-10-31 Resolved: 2019-10-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.2.24, 5.5.64, 10.1.40, 10.3.15, 10.4.5 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 1 |
| Labels: | upstream | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
I currently have the following packages installed:
I would expect that the debuginfo packages would depend on the packages containing the binaries, but this is not the case. For example:
This can cause problems when performing upgrades. For example, you could end up in a situation where a binary package is upgraded, but the debuginfo package is not. |
| Comments |
| Comment by Sergei Golubchik [ 2019-10-25 ] |
|
This is a CMake issue, I don't see how we can fix it without providing our own spec files. |
| Comment by Sergei Golubchik [ 2019-10-25 ] |
|
reported upstream |
| Comment by Sergei Golubchik [ 2019-10-25 ] |
|
CMake maintainer has closed the bug as "Won't Fix", see the linked issue. Apparently, in Debian debuginfo packages should depend on the corresponding binary packages. But it seems that in Fedora there is no such a rule, so CPackRPM follows conventions of the rpm-based distributions and does not add such a dependency. |
| Comment by Sergei Golubchik [ 2019-10-26 ] |
|
Also: https://fedoraproject.org/wiki/Changes/ParallelInstallableDebuginfo |
| Comment by Geoff Montee (Inactive) [ 2019-10-31 ] |
|
One of the comments on the upstream bug report says:
It looks like he is probably referring to the debuginfo-install plugin, which is part of dnf-plugins-core. https://dnf-plugins-core.readthedocs.io/en/latest/debuginfo-install.html It looks like you can configure the autoupdate parameter in /etc/dnf/plugins/debuginfo-install.conf. |