Bug 1109693 - debuginfo-install plugin - possibly wrong dependencies installed
Summary: debuginfo-install plugin - possibly wrong dependencies installed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 20
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1121318
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-16 07:22 UTC by Ankur Sinha (FranciscoD)
Modified: 2014-08-28 12:18 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-28 12:00:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
yum debuginfo-install output not requiring thunderbird and dnf debuginfo-install requiring it (30.38 KB, text/plain)
2014-06-16 07:22 UTC, Ankur Sinha (FranciscoD)
no flags Details
debuginfo using dnf nightly repository (16.73 KB, text/x-log)
2014-07-22 10:37 UTC, Ankur Sinha (FranciscoD)
no flags Details
debuginfo using https://github.com/ignatenkobrain/dnf-plugins-core/tree/rhbz1108321 (27.43 KB, text/x-log)
2014-07-22 10:39 UTC, Ankur Sinha (FranciscoD)
no flags Details
debugdata directory (5.69 MB, application/octet-stream)
2014-08-28 11:50 UTC, Ankur Sinha (FranciscoD)
no flags Details
dnf debuginfo vs yum's debuginfo output. (42.26 KB, text/plain)
2014-08-28 11:51 UTC, Ankur Sinha (FranciscoD)
no flags Details

Description Ankur Sinha (FranciscoD) 2014-06-16 07:22:44 UTC
Created attachment 909040 [details]
yum debuginfo-install output not requiring thunderbird and dnf debuginfo-install requiring it

Description of problem:
I was trying to install the debuginfo for evolution. Some how, dnf tried to install thunderbird-debuginfo also. I don't think this should be required. To double check, I ran a plain yum debuginfo install, and as expected, it didn't pull in thunderbird. 

Version-Release number of selected component (if applicable):
[asinha@ankur-laptop  ~]$ dnf --version
0.5.2
  Installed: dnf-0:0.5.2-99.970.20140612git358dd0b.fc20.noarch at 2014-06-12 12:45
  Built    :  at 2014-06-12 08:07

  Installed: rpm-0:4.11.2-2.fc20.x86_64 at 2014-02-21 05:35
  Built    : Fedora Project at 2014-02-18 07:24
[asinha@ankur-laptop  ~]$

How reproducible:
Always

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

Actual results:
Tries to install thunderbird-debuginfo

Expected results:
Probably should not install thunderbird-debuginfo

Additional info:
Using the gnome 3.12 copr here.

Comment 1 Igor Gnatenko 2014-06-16 07:44:27 UTC
try plugin from my repo.

https://github.com/ignatenkobrain/dnf-plugins-core/tree/rhbz1108321

Comment 2 Radek Holy 2014-06-16 07:53:31 UTC
Attaching the depsolving info as described by http://dnf.baseurl.org/2013/11/25/reporting-depsolving-bugs/ also may help.

Comment 3 Ankur Sinha (FranciscoD) 2014-06-30 15:48:44 UTC
Sorry I haven't been able to pay attention to this. I'll do it this week and provide the required output.

Comment 4 Ankur Sinha (FranciscoD) 2014-07-19 04:43:02 UTC
Cannot work on this. Ran into another issue :/

Comment 5 Ankur Sinha (FranciscoD) 2014-07-22 10:37:29 UTC
Created attachment 919863 [details]
debuginfo using dnf nightly repository

Please find the required logs attached.

Comment 6 Ankur Sinha (FranciscoD) 2014-07-22 10:39:12 UTC
Created attachment 919864 [details]
debuginfo using https://github.com/ignatenkobrain/dnf-plugins-core/tree/rhbz1108321

Comment 7 Ankur Sinha (FranciscoD) 2014-07-22 10:40:35 UTC
No change in yum output - already attached.

Comment 8 Igor Gnatenko 2014-08-28 11:04:59 UTC
(In reply to Ankur Sinha (FranciscoD) from comment #5)
> Created attachment 919863 [details]
> debuginfo using dnf nightly repository
> 
> Please find the required logs attached.

there should be archive with files. attach it please.
http://dnf.baseurl.org/2013/11/25/reporting-depsolving-bugs/
attach the debugdata/ directory that will be created after the failure under the current working directory.

try with latest plugin from https://github.com/rpm-software-management/dnf-plugins-core master branch

Comment 9 Ankur Sinha (FranciscoD) 2014-08-28 11:50:04 UTC
Created attachment 931903 [details]
debugdata directory

Comment 10 Ankur Sinha (FranciscoD) 2014-08-28 11:51:50 UTC
Created attachment 931910 [details]
dnf debuginfo vs yum's debuginfo output.

debuginfo-install wants to install 9 packages, dnf's debuginfo-install wants to install 109.. :o

Comment 11 Igor Gnatenko 2014-08-28 12:00:23 UTC
ok, now it's not installing thunderbird. so Close.
Blog post about differences between yum and dnf debuginfo-install plugin will come in 1 month.

Comment 12 Igor Gnatenko 2014-08-28 12:18:36 UTC
From IRC:
(05:53:53 PM) ignatenkobrain: FranciscoD: my plugin written from scratch and has own algorithm 
(05:54:10 PM) FranciscoD: ignatenkobrain: yeah, i understand, but there must be a way of seeing what the right deps are?
(05:54:22 PM) ignatenkobrain: more complete algorithm
(05:54:38 PM) FranciscoD: ah, ok, that explains it
(05:54:53 PM) ignatenkobrain: let me write some notes
(05:55:00 PM) FranciscoD: ignatenkobrain: probably rectified then. I can't see anything glaringly wrong there to point out
(05:55:40 PM) ignatenkobrain: A requires B
(05:55:40 PM) ignatenkobrain: B requires C.so and D.so
(05:55:40 PM) ignatenkobrain: package which contains C.so requires E and F.so
(05:55:40 PM) ignatenkobrain: ...
(05:55:47 PM) ignatenkobrain: my plugin will install this tree
(05:55:52 PM) FranciscoD: ignatenkobrain: sounds right
(05:56:05 PM) ignatenkobrain: but yum plugin stops on some step
(05:56:13 PM) ignatenkobrain: this increase performance, but

Summary:
In dnf we have more complete algorithm, than in yum.


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