Bug 568488 - yum-plugin-auto-update-debug-info should not affect 'install'
Summary: yum-plugin-auto-update-debug-info should not affect 'install'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 12
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-25 20:09 UTC by Roland McGrath
Modified: 2014-01-21 23:13 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-05-05 20:09:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Roland McGrath 2010-02-25 20:09:58 UTC
I love this plug-in for keeping my installed debuginfo packages up to date.
But, I also want to be able to use 'yum install foobar*' and get all the foobar packages without getting foobar-debuginfo.  So, to match its name, the plugin should apply on 'yum update' and 'yum upgrade', but not in 'yum install'.  Conversely, some hack that enabled the repos but excluded the debuginfo repos from being used for wildcard expansion would also work.

Comment 1 Tim Lauridsen 2010-05-05 13:31:44 UTC
All what the plugins does is to enable the '*-debuginfo' repos for the active repositories.
It is a TYPE_CORE plugin so it is active for all consumers of the yum api, not just yum-cli.

So there is no way to limit it to 'yum update'.

you can disable the plugin so it don't run every time and use the '--enableplugin=auto-update-debuginfo' to enable it when you want it.

(hint : you can use the yum-plugin-aliases to create an alias for --enableplugin=auto-update-debuginfo, if you dont wan't to type so much )

Comment 2 Roland McGrath 2010-05-05 19:04:43 UTC
The plugin is misnamed if that's all it's ever going to do.  Rename it to yum-auto-debuginfo or something, or else implement it in whatever way makes it actually do what it says it does.

Comment 3 James Antill 2010-05-05 20:09:50 UTC
So the problem is that the way the plugin works is that it looks to see if you have any debuginfo packages installed already, and _if you do_ it then enables the debuginfo repos. ... so that updates work. The name reflects that, and people's desire that "I've installed debuginfos and I want them to automatically update".

Yes, after you've installed at least one debuginfo rpm, you can then install more debuginfos but that's kind of an edge case. It's also fair to say that I _very rarely_ see people use "yum install 'foo*'" commands.


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