Bug 1475858 - dnf or rpm not finding/fetching all relevant debug packages; Missing separate debuginfos
Summary: dnf or rpm not finding/fetching all relevant debug packages; Missing separate...
Keywords:
Status: CLOSED DUPLICATE of bug 1629412
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 29
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Lukáš Hrázký
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1479936 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-27 13:30 UTC by RobbieTheK
Modified: 2019-07-26 12:40 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-26 12:40:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description RobbieTheK 2017-07-27 13:30:46 UTC
I'm seeing this:
dnf debuginfo-install json-glib-1.2.8-1.fc26.i686
enabling updates-debuginfo repository
enabling fedora-debuginfo repository
Last metadata expiration check: 0:28:27 ago on Wed 26 Jul 2017 02:19:39 PM EDT.
Package json-glib-debuginfo-1.2.6-1.fc26.i686 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!

Then:

GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
[New LWP 20548]
[New LWP 20553]
[New LWP 20551]
[New LWP 20550]
[New LWP 20552]
Reading symbols from /usr/bin/gnome-shell...Reading symbols from /usr/lib/debug/usr/bin/gnome-shell.debug...done.
done.

warning: Ignoring non-absolute filename: <linux-gate.so.1>
Missing separate debuginfo for linux-gate.so.1
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/bf/9ddd542b8eeb7527393fc378ce2fb0f77d052f

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000 in ?? ()
[Current thread is 1 (Thread 0xb1ed7980 (LWP 20548))]
Missing separate debuginfos, use: dnf debuginfo-install json-glib-1.2.8-1.fc26.i686

Comment 1 Igor Gnatenko 2017-07-27 13:43:44 UTC
Well, you ask for installing 1.2.8 debuginfo and it installs 1.2.6, because it can't find 1.2.8 one...

Comment 2 RobbieTheK 2017-07-27 14:02:05 UTC
(In reply to Igor Gnatenko from comment #1)
> Well, you ask for installing 1.2.8 debuginfo and it installs 1.2.6, because
> it can't find 1.2.8 one...

I'm just following the suggested commands from running gdb. Is there a way to get around the error?

Comment 3 Igor Gnatenko 2017-07-27 14:03:07 UTC
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/bf/9ddd542b8eeb7527393fc378ce2fb0f77d052f

Comment 4 RobbieTheK 2017-07-27 16:34:46 UTC
(In reply to Igor Gnatenko from comment #3)
> Try: dnf --enablerepo='*debug*' install
> /usr/lib/debug/.build-id/bf/9ddd542b8eeb7527393fc378ce2fb0f77d052f

That's what I thought/tried and get this:
dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/bf/9ddd542b8eeb7527393fc378ce2fb0f77d052f
Last metadata expiration check: 0:00:55 ago on Thu 27 Jul 2017 12:32:46 PM EDT.
No package /usr/lib/debug/.build-id/bf/9ddd542b8eeb7527393fc378ce2fb0f77d052f available.
Error: Unable to find a match

Comment 5 RobbieTheK 2017-07-27 16:48:26 UTC
So I tried gdb on another core file and got a little further but alas the same ending error:
 dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/5e/d0da5237bbfefa61bf35ca464610aa367151ad
Last metadata expiration check: 0:06:42 ago on Thu 27 Jul 2017 12:32:46 PM EDT.
Dependencies resolved.
=====================================================================================================================================================================
 Package                                            Arch                       Version                                 Repository                               Size
=====================================================================================================================================================================
Installing:
 kernel-PAE-debuginfo                               i686                       4.11.11-300.fc26                        updates-debuginfo                       528 M
Installing dependencies:
 kernel-debuginfo-common-i686                       i686                       4.11.11-300.fc26                        updates-debuginfo                        58 M

Transaction Summary
=====================================================================================================================================================================
Install  2 Packages

Total download size: 586 M
Installed size: 2.3 G
Is this ok [y/N]: y
Downloading Packages:
(1/2): kernel-debuginfo-common-i686-4.11.11-300.fc26.i686.rpm                                                                        2.7 MB/s |  58 MB     00:21
(2/2): kernel-PAE-debuginfo-4.11.11-300.fc26.i686.rpm                                                                                4.1 MB/s | 528 MB     02:09
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                4.5 MB/s | 586 MB     02:09
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                             1/1
  Installing       : kernel-debuginfo-common-i686-4.11.11-300.fc26.i686                                                                                          1/2
  Installing       : kernel-PAE-debuginfo-4.11.11-300.fc26.i686                                                                                                  2/2
  Verifying        : kernel-PAE-debuginfo-4.11.11-300.fc26.i686                                                                                                  1/2
  Verifying        : kernel-debuginfo-common-i686-4.11.11-300.fc26.i686                                                                                          2/2

Installed:
  kernel-PAE-debuginfo.i686 4.11.11-300.fc26                                    kernel-debuginfo-common-i686.i686 4.11.11-300.fc26

Complete!
[root@curie ~]# gdb  /var/lib/systemd/coredump/core.gnome-shell.42.0c604499cac9412a9e5e2a619c539616.4574.1501173072000000
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
[New LWP 4574]
[New LWP 4597]
[New LWP 4582]
[New LWP 4598]
[New LWP 4581]
Reading symbols from /usr/bin/gnome-shell...Reading symbols from /usr/lib/debug/usr/bin/gnome-shell.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000 in ?? ()
[Current thread is 1 (Thread 0xb1eed980 (LWP 4574))]
Missing separate debuginfos, use: dnf debuginfo-install json-glib-1.2.8-1.fc26.i686
(gdb) q
[root@curie ~]# dnf debuginfo-install json-glib-1.2.8-1.fc26.i686
enabling updates-debuginfo repository
enabling fedora-debuginfo repository
Last metadata expiration check: 0:15:07 ago on Thu 27 Jul 2017 12:32:13 PM EDT.
Package json-glib-debuginfo-1.2.6-1.fc26.i686 is already installed, skipping.
Dependencies resolved.
Nothing to do.

Comment 6 Daniel Mach 2017-08-02 11:05:40 UTC
DNF team is going to fix this.
dnf should install corresponding debuginfo (w/ the same version, release and arch) or report an error.

Comment 7 RobbieTheK 2017-08-02 14:43:02 UTC
Not sure if it's related but this also happens:
dnf distro-sync
Last metadata expiration check: 1:55:44 ago on Wed 02 Aug 2017 08:45:12 AM EDT.
Error: 
 Problem: The operation would result in removing the following protected packages: sudo
Segmentation fault (core dumped)

Core file at http://storm.cis.fordham.edu/~rkudyba/core.dnf.0.04bafaf07f1740d8aa42c351105c0435.19512.1501684678000000.lz4

Comment 8 Igor Gnatenko 2017-08-30 06:52:06 UTC
*** Bug 1479936 has been marked as a duplicate of this bug. ***

Comment 9 Fedora End Of Life 2018-05-03 08:08:02 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. 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 '26'.

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 26 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 10 Jan Kurik 2018-08-14 10:31:12 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 11 Lukáš Hrázký 2019-07-26 12:40:01 UTC

*** This bug has been marked as a duplicate of bug 1629412 ***


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