Bug 637842

Summary: Updating RPMs from disabled repositories
Product: [Fedora] Fedora Reporter: Christopher Beland <beland>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dwmw2, ffesti, james.antill, maxamillion, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-27 15:26:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christopher Beland 2010-09-27 15:16:05 UTC
I have installed many debuginfo RPMs, but fedora-debuginfo is disabled in /etc/yum.repos.d/fedora.repo.  I ran an update with gpk-update-viewer, and only packages in enabled repositories were installed.  Immediately thereafter, I ran an update with yum, and all the corresponding debuginfo updates were installed, reportedly from the disabled fedora-debuginfo repository.

I would not expect applications to install without warning updates from repositories that are explicitly disabled.  For example, I installed packages from updates-testing, but I have intentionally disabled it to prevent my system from being destabilized by relatively untested changes.

It is nice that yum notices that updates to these packages are available and probably needed to match the updated binary packages, but I think the user should at least be explicitly warned that packages from disabled repositories are about to be installed.  I would also expect the behavior to be consistent between yum and gpk-update-viewer.

gnome-packagekit-2.31.91-2.fc14.x86_64
yum-3.2.28-4.fc14.noarch

Comment 1 seth vidal 2010-09-27 15:26:40 UTC
I suspect you have the auto-update-debuginfo plugin enabled in yum.


If so, you'll see that is explicitly what that plugin does: enable debuginfo repos to get updates for debuginfo pkgs you may have installed.

Comment 2 James Antill 2010-09-27 15:43:10 UTC
Also note that the reason PackageKit doesn't update the debuginfo rpms is because it explicitly force disables the auto-update-debuginfo plugin. You'll have to log a BZ against PK if you want that fixed. Or use yumex.