Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1301265 - dnf debuginfo-install does not work
Summary: dnf debuginfo-install does not work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 24
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1302886 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-23 10:02 UTC by George R. Goffe
Modified: 2016-07-21 14:32 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-21 14:32:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
flat file showing gdb sessions and dnf debug-install session (15.34 KB, text/plain)
2016-01-23 10:02 UTC, George R. Goffe
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1024701 0 low CLOSED [rfe] debuginfo-install plugin: add passive feature to keep debuginfo packages in sync 2022-05-16 11:32:56 UTC

Internal Links: 1024701

Description George R. Goffe 2016-01-23 10:02:03 UTC
Created attachment 1117430 [details]
flat file showing gdb sessions and dnf debug-install session

Description of problem:

I'm attempting to create a coredump trace and got a msg from gdb that more debug-info files were required. I installed them with the command gdb gave me but they're already installed.

Version-Release number of selected component (if applicable):
gdb-7.10.50.20160106-44.fc24.x86_64

How reproducible:
always

Steps to Reproduce:
1.see enclosed log file
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jan Kratochvil 2016-01-23 11:46:38 UTC
Those will be some repos out of sync or so, what is the output of these?
rpm -q bzip2-debuginfo-1.0.6-19.fc24.x86_64 gcc-debuginfo-5.3.1-3.fc24.x86_64
rpm -V bzip2-debuginfo-1.0.6-19.fc24.x86_64 gcc-debuginfo-5.3.1-3.fc24.x86_64
rpm -q bzip2-libs libgcc libstdc++
rpm -V bzip2-libs libgcc libstdc++

Comment 2 George R. Goffe 2016-01-23 17:19:16 UTC
Jan,

Here you go.

Thanks for your help!

George...


fc24-rawhide-bash 4.3 ~# sh -xv showme
module () {  eval `/usr/bin/modulecmd bash $*`
}
scl () {  local CMD=$1;
 if [ "$CMD" = "load" -o "$CMD" = "unload" ]; then
 eval "module $@";
 else
 /usr/bin/scl "$@";
 fi
}
rpm -q bzip2-debuginfo-1.0.6-19.fc24.x86_64 gcc-debuginfo-5.3.1-3.fc24.x86_64
+ rpm -q bzip2-debuginfo-1.0.6-19.fc24.x86_64 gcc-debuginfo-5.3.1-3.fc24.x86_64
package bzip2-debuginfo-1.0.6-19.fc24.x86_64 is not installed
package gcc-debuginfo-5.3.1-3.fc24.x86_64 is not installed
rpm -V bzip2-debuginfo-1.0.6-19.fc24.x86_64 gcc-debuginfo-5.3.1-3.fc24.x86_64
+ rpm -V bzip2-debuginfo-1.0.6-19.fc24.x86_64 gcc-debuginfo-5.3.1-3.fc24.x86_64
package bzip2-debuginfo-1.0.6-19.fc24.x86_64 is not installed
package gcc-debuginfo-5.3.1-3.fc24.x86_64 is not installed
rpm -q bzip2-libs libgcc libstdc++
+ rpm -q bzip2-libs libgcc libstdc++
bzip2-libs-1.0.6-19.fc24.x86_64
bzip2-libs-1.0.6-19.fc24.i686
libgcc-5.3.1-3.fc24.x86_64
libgcc-5.3.1-3.fc24.i686
libstdc++-5.3.1-3.fc24.x86_64
libstdc++-5.3.1-3.fc24.i686
rpm -V bzip2-libs libgcc libstdc++
+ rpm -V bzip2-libs libgcc libstdc++
fc24-rawhide-bash 4.3 ~# exit

Script done on Sat 23 Jan 2016 10:17:06 AM MST

Comment 3 Jan Kratochvil 2016-01-23 17:38:46 UTC
I have reproduced here it really does not work with fresh Rawhide mock shell.
But that is a dnf bug.

dnf debuginfo-install installs glibc-debuginfo and nss-softokn-debuginfo (I do not know why these two).  But the two needed packages are not installed: bzip2-debuginfo and gcc-debuginfo


# rpm -q bzip2-debuginfo-1.0.6-19.fc24.x86_64 gcc-debuginfo-5.3.1-3.fc24.x86_64 bzip2-libs-1.0.6-19.fc24.x86_64 libgcc-5.3.1-3.fc24.x86_64 libstdc++-5.3.1-3.fc24.x86_64
package bzip2-debuginfo-1.0.6-19.fc24.x86_64 is not installed
package gcc-debuginfo-5.3.1-3.fc24.x86_64 is not installed
bzip2-libs-1.0.6-19.fc24.x86_64
libgcc-5.3.1-3.fc24.x86_64
libstdc++-5.3.1-3.fc24.x86_64
# rpm -V bzip2-libs-1.0.6-19.fc24.x86_64 libgcc-5.3.1-3.fc24.x86_64 libstdc++-5.3.1-3.fc24.x86_64
# dnf list bzip2-debuginfo-1.0.6-19.fc24.x86_64 gcc-debuginfo-5.3.1-3.fc24.x86_64
Last metadata expiration check performed 0:00:42 ago on Sat Jan 23 18:31:19 2016.
Error: No matching Packages to list
# dnf list --enablerepo='*debug*' bzip2-debuginfo-1.0.6-19.fc24.x86_64 gcc-debuginfo-5.3.1-3.fc24.x86_64
Last metadata expiration check performed 0:00:56 ago on Sat Jan 23 18:31:19 2016.
Available Packages
bzip2-debuginfo.x86_64                                                1.0.6-19.fc24                                                 debug
gcc-debuginfo.x86_64                                                  5.3.1-3.fc24                                                  debug
# dnf debuginfo-install bzip2-libs-1.0.6-19.fc24.x86_64 libgcc-5.3.1-3.fc24.x86_64 libstdc++-5.3.1-3.fc24.x86_64
No such command: debuginfo-install. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(debuginfo-install)'"
# dnf install 'dnf-command(debuginfo-install)'
Last metadata expiration check performed 0:00:00 ago on Sat Jan 23 18:33:14 2016.
Dependencies resolved.
[...]
Installed:
  dnf-plugins-core.noarch 0.1.15-1.fc24                           python3-dnf-plugins-core.noarch 0.1.15-1.fc24                          
Complete!
# dnf debuginfo-install bzip2-libs-1.0.6-19.fc24.x86_64 libgcc-5.3.1-3.fc24.x86_64 libstdc++-5.3.1-3.fc24.x86_64
Last metadata expiration check performed 0:00:00 ago on Sat Jan 23 18:33:20 2016.
Dependencies resolved.
Nothing to do.
Complete!
# dnf debuginfo-install --enablerepo='*debug*' bzip2-libs-1.0.6-19.fc24.x86_64 libgcc-5.3.1-3.fc24.x86_64 libstdc++-5.3.1-3.fc24.x86_64
[...]
Installed:
  glibc-debuginfo.x86_64 2.22.90-29.fc24   glibc-debuginfo-common.x86_64 2.22.90-29.fc24   nss-softokn-debuginfo.x86_64 3.21.0-5.fc24
Complete!
# rpm -q bzip2-debuginfo-1.0.6-19.fc24.x86_64 gcc-debuginfo-5.3.1-3.fc24.x86_64
package bzip2-debuginfo-1.0.6-19.fc24.x86_64 is not installed
package gcc-debuginfo-5.3.1-3.fc24.x86_64 is not installed
# rpm -q dnf dnf-plugins-core
dnf-1.1.5-1.fc24.noarch
dnf-plugins-core-0.1.15-1.fc24.noarch
# _

Comment 4 Jan Kratochvil 2016-01-23 17:40:05 UTC
The requirement to add --enablerepo='*debug*' to debuginfo-install also looks suspicious.

Comment 5 Michael Mráka 2016-01-25 10:22:17 UTC
Seems to be fixed (as a side effect) in bug #1024701

https://github.com/rpm-software-management/dnf-plugins-core/pull/140

Comment 6 Michael Mráka 2016-02-02 08:25:31 UTC
*** Bug 1302886 has been marked as a duplicate of this bug. ***

Comment 7 Jan Kratochvil 2016-02-02 21:41:05 UTC
*** Bug 1302886 has been marked as a duplicate of this bug. ***

Comment 8 Jan Kurik 2016-02-24 15:33:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 9 George R. Goffe 2016-03-28 22:15:52 UTC
Jan et. al.,

Are you sure it doesn't exist in Fedora 22 or 23?

Regards,

George...

Comment 10 Mike McCune 2016-03-28 23:16:15 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 11 Jan Kratochvil 2016-03-30 20:46:11 UTC
(In reply to George R. Goffe from comment #9)
> Are you sure it doesn't exist in Fedora 22 or 23?

It probably does exist there but debuginfo-install is just a convenience feature.  You can always do the same with some:
  dnf --enablerepo='*debug*' install ...
Whether DNF team backports it to F-22/F-23 I do not find too important myself.

Comment 12 George R. Goffe 2016-03-30 21:56:35 UTC
Jan,

Thank you for your responses and hard work.

Regards,

George...

Comment 13 Fedora Admin XMLRPC Client 2016-07-08 09:26:08 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.


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