Bug 1096507 - debuginfo-install plugin does not install latest debuginfo packages
Summary: debuginfo-install plugin does not install latest debuginfo packages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-11 11:37 UTC by Ankur Sinha (FranciscoD)
Modified: 2014-09-06 11:25 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-06 11:25:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Shows both dnf debuginfo install attempt and yum debuginfo install attempt (49.57 KB, text/plain)
2014-05-11 11:37 UTC, Ankur Sinha (FranciscoD)
no flags Details
dnf debuginfo with logger fixed (30.80 KB, text/plain)
2014-05-12 09:20 UTC, Ankur Sinha (FranciscoD)
no flags Details

Description Ankur Sinha (FranciscoD) 2014-05-11 11:37:50 UTC
Created attachment 894416 [details]
Shows both dnf debuginfo install attempt and yum debuginfo install attempt

Description of problem:
The debuginfo-install command provided in the core-plugin package does not install correct/latest debuginfo packages

Version-Release number of selected component (if applicable):
[asinha@ankur-laptop  ~]$ rpm -qa *dnf\*                       
dnf-plugins-core-0.0.7-99.711.20140509gitbafd1ed.fc20.noarch
dnf-0.5.1-99.711.20140509gitb0d9044.fc20.noarch


How reproducible:
Always

Steps to Reproduce:
1. sudo dnf debuginfo-install evolution evolution-data-server
2.
3.

Actual results:
Installs only from fedora-debug

Expected results:
Should also install from updates-debug etc. Basically, it should look for packages in the debug counterparts of all enabled repos, I think.

Comment 1 Ankur Sinha (FranciscoD) 2014-05-11 11:42:23 UTC
This is the version of glibc I have installed:

[asinha@ankur-laptop  ~]$ rpm -qa \*glibc\*
glibc-headers-2.18-12.fc20.x86_64
glibc-common-2.18-12.fc20.x86_64
glibc-2.18-12.fc20.i686
glibc-2.18-12.fc20.x86_64
glibc-devel-2.18-12.fc20.x86_64


If you look at the attachment, dnf tries to install "glibc-debuginfo.x86_64 2.18-11.fc20" for some reason (line 91) when it's pulled in as a dependency of evolution and evolution-data-server. 

However, if I try to install the debuginfo for glibc itself, it finds the correct package:

`sudo dnf debuginfo-install glibc` gives me:

...
..
---> Package glibc-debuginfo.x86_64 2.18-12.fc20 will be installed
...

Comment 2 Ales Kozumplik 2014-05-12 07:34:53 UTC
Igor, debuginfo-install is your baby, would please look at this? Thanks!

Comment 3 Igor Gnatenko 2014-05-12 07:55:22 UTC
(In reply to Ales Kozumplik from comment #2)
> Igor, debuginfo-install is your baby, would please look at this? Thanks!
Sure! It's my baby ;) Will take a look tonight.

Comment 4 Igor Gnatenko 2014-05-12 07:59:38 UTC
Provide
$ grep "enabled" /etc/yum.repos.d/*

Comment 5 Igor Gnatenko 2014-05-12 08:12:04 UTC
also attach please log with my last debuginfo-install plugin.

https://github.com/ignatenkobrain/dnf-plugins-core/tree/debuginfo-install/fix_logger

There one commit ahead master. I've fixed logging.

Comment 6 Ankur Sinha (FranciscoD) 2014-05-12 08:31:41 UTC
(In reply to Igor Gnatenko from comment #4)
> Provide
> $ grep "enabled" /etc/yum.repos.d/*

[asinha@ankur-laptop  ~]$ grep "enabled" /etc/yum.repos.d/*
/etc/yum.repos.d/adobe-linux-x86_64.repo:enabled=1
/etc/yum.repos.d/ankursinha-NEURON.repo:enabled=1
/etc/yum.repos.d/ankursinha-ros-groovy.repo:enabled=1
/etc/yum.repos.d/dnf-nightlies.repo:enabled=1
/etc/yum.repos.d/fedora-rawhide-kernel-nodebug.repo:enabled=1
/etc/yum.repos.d/fedora-rawhide-kernel-nodebug.repo:enabled=0
/etc/yum.repos.d/fedora-rawhide-kernel-nodebug.repo:enabled=0
/etc/yum.repos.d/fedora.repo:enabled=1
/etc/yum.repos.d/fedora.repo:enabled=0
/etc/yum.repos.d/fedora.repo:enabled=0
/etc/yum.repos.d/fedora-updates.repo:enabled=1
/etc/yum.repos.d/fedora-updates.repo:enabled=0
/etc/yum.repos.d/fedora-updates.repo:enabled=0
/etc/yum.repos.d/fedora-updates-testing.repo:enabled=1
/etc/yum.repos.d/fedora-updates-testing.repo:enabled=0
/etc/yum.repos.d/fedora-updates-testing.repo:enabled=0
/etc/yum.repos.d/firefox-gtk3.repo:enabled=1
/etc/yum.repos.d/gnome-3-12-copr-i686.repo:enabled=1
/etc/yum.repos.d/gnome-3-12-copr-x86_64.repo:enabled=1
/etc/yum.repos.d/google-talkplugin.repo:enabled=1
/etc/yum.repos.d/lifeograph-copr.repo:enabled=1
/etc/yum.repos.d/livna.repo:enabled=1
/etc/yum.repos.d/livna.repo:enabled=0
/etc/yum.repos.d/livna.repo:#enabled=0
/etc/yum.repos.d/npmccallum-empathy_side_tabs.repo:enabled=1
/etc/yum.repos.d/rpmfusion-free-rawhide.repo:enabled=0
/etc/yum.repos.d/rpmfusion-free-rawhide.repo:enabled=0
/etc/yum.repos.d/rpmfusion-free-rawhide.repo:enabled=0
/etc/yum.repos.d/rpmfusion-free.repo:enabled=1
/etc/yum.repos.d/rpmfusion-free.repo:enabled=0
/etc/yum.repos.d/rpmfusion-free.repo:enabled=0
/etc/yum.repos.d/rpmfusion-free-updates.repo:enabled=1
/etc/yum.repos.d/rpmfusion-free-updates.repo:enabled=0
/etc/yum.repos.d/rpmfusion-free-updates.repo:enabled=0
/etc/yum.repos.d/rpmfusion-free-updates-testing.repo:enabled=0
/etc/yum.repos.d/rpmfusion-free-updates-testing.repo:enabled=0
/etc/yum.repos.d/rpmfusion-free-updates-testing.repo:enabled=0
/etc/yum.repos.d/rpmfusion-nonfree-rawhide.repo:enabled=0
/etc/yum.repos.d/rpmfusion-nonfree-rawhide.repo:enabled=0
/etc/yum.repos.d/rpmfusion-nonfree-rawhide.repo:enabled=0
/etc/yum.repos.d/rpmfusion-nonfree.repo:enabled=1
/etc/yum.repos.d/rpmfusion-nonfree.repo:enabled=0
/etc/yum.repos.d/rpmfusion-nonfree.repo:enabled=0
/etc/yum.repos.d/rpmfusion-nonfree-updates.repo:enabled=1
/etc/yum.repos.d/rpmfusion-nonfree-updates.repo:enabled=0
/etc/yum.repos.d/rpmfusion-nonfree-updates.repo:enabled=0
/etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo:enabled=0
/etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo:enabled=0
/etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo:enabled=0
/etc/yum.repos.d/ryanlerch-corebird-unstable.repo:enabled=1
/etc/yum.repos.d/taskd-ralph.repo:enabled=1


I'll update the plugin from github and provide info ASAP. 

Thanks,
Ankur

Comment 7 Ankur Sinha (FranciscoD) 2014-05-12 08:38:16 UTC
(In reply to Igor Gnatenko from comment #5)
> also attach please log with my last debuginfo-install plugin.
> 
> https://github.com/ignatenkobrain/dnf-plugins-core/tree/debuginfo-install/
> fix_logger
> 
> There one commit ahead master. I've fixed logging.


Igor,

I'll need to rebuild the package from this commit for this, right? Will just making a change in the system file work?

Thanks,
Ankur

Comment 8 Igor Gnatenko 2014-05-12 09:15:05 UTC
(In reply to Ankur Sinha (FranciscoD) from comment #7)
> (In reply to Igor Gnatenko from comment #5)
> > also attach please log with my last debuginfo-install plugin.
> > 
> > https://github.com/ignatenkobrain/dnf-plugins-core/tree/debuginfo-install/
> > fix_logger
> > 
> > There one commit ahead master. I've fixed logging.
> 
> 
> Igor,
> 
> I'll need to rebuild the package from this commit for this, right? Will just
> making a change in the system file work?
> 
> Thanks,
> Ankur

yes. It will work. But you can set in /etc/dnf.conf or something path to directory with plugins. There should be clonned repo. I'll try to reproduce with my local machine (but need time. don't have stable releases on my machines. only rawhide)

Comment 9 Ankur Sinha (FranciscoD) 2014-05-12 09:20:07 UTC
Created attachment 894629 [details]
dnf debuginfo with logger fixed

Hi Igor,

Please find the new output attached. I built the plugins from the commit you had pointed out. 

Thanks,
Warm regards,
Ankur

Comment 10 Igor Gnatenko 2014-05-12 12:55:18 UTC
Yeah. My typo (was drunk) when wrote plugin ;)

https://github.com/akozumpl/dnf-plugins-core/pull/29

Comment 11 Ankur Sinha (FranciscoD) 2014-05-13 09:21:43 UTC
This seems to fix it. Thanks Igor :)

Warm regards,
Ankur


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