Bug 701619

Summary: Supplementary CD enabled only for PK
Product: Red Hat Enterprise Linux 6 Reporter: Tomas Pelka <tpelka>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED NOTABUG QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-02 16:44:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tomas Pelka 2011-05-03 11:51:21 UTC
Description of problem:
Inserting Supplementary CD cause enabling repo only for PK not for both yum and PK.

# pkcon repo-list    
 Enabled    beaker-optional-i386-debug beaker-optional-i386-debug
 Disabled   rhel-source-beta          Red Hat Enterprise Linux 6Workstation Beta - i386 - Source
 Disabled   rhel-source               Red Hat Enterprise Linux 6Workstation - i386 - Source
 Enabled    beaker-optional-i386-os   beaker-optional-i386-os
 Enabled    InstallMedia              Red Hat Enterprise Linux Supplementary 6.1
 Enabled    beaker-debug              beaker-debug
 Enabled    beaker-Workstation        beaker-Workstation


# yum repolist
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
repo id                                                                    repo name                                                                   status
beaker-Workstation                                                         beaker-Workstation                                                          2,975
beaker-debug                                                               beaker-debug                                                                1,143
beaker-optional-i386-debug                                                 beaker-optional-i386-debug                                                    664
beaker-optional-i386-os                                                    beaker-optional-i386-os                                                     1,664
repolist: 6,446


# cat /etc/yum.repos.d/packagekit-media.repo 

[InstallMedia]
name=Red Hat Enterprise Linux Supplementary 6.1
mediaid=1303939187.686769
metadata_expire=-1
gpgcheck=0
cost=500
enabled=0

Is it correct?

Version-Release number of selected component (if applicable):
PackageKit-0.5.8-19.el6

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Media repo enabled only for PK.

Expected results:
Should be enabled for both yum and PK.

Additional info:

Comment 1 Richard Hughes 2011-08-18 10:09:12 UTC
(In reply to comment #0)
> Expected results:
> Should be enabled for both yum and PK.

PackageKit manually enables the file when running, as yum on the command line can't cope with a repo file that's enabled, when the media is missing.

Comment 2 Tomas Pelka 2011-08-18 11:45:03 UTC
Ok so candidate for close as NOTABUG.