Bug 1497838 - dnf upgrades debugsources by default
Summary: dnf upgrades debugsources by default
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: distribution
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Josh Boyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1421595
TreeView+ depends on / blocked
 
Reported: 2017-10-02 20:16 UTC by Lukas Slebodnik
Modified: 2018-11-30 17:33 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-11-30 17:33:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukas Slebodnik 2017-10-02 20:16:17 UTC
Description of problem:
dnf tries to upgrade installed debug-source packages by default even though
debuginfo packages are not upgraded by default. And it does not matter whether /etc/dnf/plugins/debuginfo-install.conf exists or not 

Version-Release number of selected component (if applicable):
sh$ rpm -q dnf
dnf-2.6.3-4.fc27.noarch

How reproducible:
Deterministic

Steps to Reproduce:
1. dnf install -y https://kojipkgs.fedoraproject.org//packages/dbus/1.11.16/4.fc27/x86_64/dbus-debugsource-1.11.16-4.fc27.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/dbus/1.11.16/4.fc27/x86_64/dbus-debuginfo-1.11.16-4.fc27.x86_64.rpm
2. rpm -qa dbus\*
3. dnf update dbus\*

Actual results:
[root@11ee76557611 /]# rpm -qa dbus\*
dbus-libs-1.11.16-4.fc27.x86_64
dbus-debuginfo-1.11.16-4.fc27.x86_64
dbus-1.11.16-4.fc27.x86_64
dbus-debugsource-1.11.16-4.fc27.x86_64
[root@11ee76557611 /]# dnf update dbus\*
Last metadata expiration check: 0:09:30 ago on Mon Oct  2 20:05:29 2017.
Dependencies resolved.
==========================================================================================================
 Package                    Arch             Version                      Repository                 Size
==========================================================================================================
Upgrading:
 dbus                       x86_64           1:1.11.18-1.fc27             updates-testing           264 k
 dbus-debugsource           x86_64           1:1.11.18-1.fc27             updates-testing           643 k
 dbus-libs                  x86_64           1:1.11.18-1.fc27             updates-testing           178 k

Transaction Summary
==========================================================================================================
Upgrade  3 Packages

Total download size: 1.1 M
Is this ok [y/N]: N
Operation aborted.

Expected results:
[root@11ee76557611 /]# rpm -qa dbus\*
dbus-libs-1.11.16-4.fc27.x86_64
dbus-debuginfo-1.11.16-4.fc27.x86_64
dbus-1.11.16-4.fc27.x86_64
dbus-debugsource-1.11.16-4.fc27.x86_64
[root@11ee76557611 /]# dnf update dbus\*
Last metadata expiration check: 0:09:30 ago on Mon Oct  2 20:05:29 2017.
Dependencies resolved.
==========================================================================================================
 Package                    Arch             Version                      Repository                 Size
==========================================================================================================
Upgrading:
 dbus                       x86_64           1:1.11.18-1.fc27             updates-testing           264 k
 dbus-libs                  x86_64           1:1.11.18-1.fc27             updates-testing           178 k

Transaction Summary
==========================================================================================================
Upgrade  2 Packages

Total download size: 1.1 M
Is this ok [y/N]: N
Operation aborted.

Additional info:
It is related to following change in fedora 27
http://fedoraproject.org/wiki/Releases/27/ChangeSet#Separate_Subpackage_and_Source_Debuginfo
https://bugzilla.redhat.com/show_bug.cgi?id=1421595

Comment 1 Lukas Slebodnik 2017-10-20 13:36:41 UTC
Ihit a little bit different case and I think it is a bug in releng and not in dnf
because debugsource packages should not be in standard repositories "updates-testing" .. but in debuginfo related repositories.

sh# dnf search "*-debuginfo"
Last metadata expiration check: 0:06:58 ago on Fri Oct 20 13:11:30 2017.
No matches found.

sh# dnf search "*-debugsource" | wc -l
1377

And it is just a subset of pacakges

sh# dnf --enablerepo=fedora-source repoquery --arch=src | wc -l
Last metadata expiration check: 0:00:12 ago on Fri Oct 20 13:35:33 2017.
19664

Please file a bug if you know where.

Comment 2 Jaroslav Mracek 2018-11-27 14:53:31 UTC
Thanks for the Comment 1 and bug report. Changing a component.

Comment 3 Ben Cotton 2018-11-27 16:49:39 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Kevin Fenzi 2018-11-28 01:57:19 UTC
I am not seeing this off hand. 

Can you provide the exact repo you saw these in?

Comment 5 Ben Cotton 2018-11-30 17:33:01 UTC
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.