Hide Forgot
Description of problem: pkcon repo-list Getting repositories [=========================] Starting [=========================] Enabled rhn-tools-rhel-x86_64-workstation-6 RHN Tools for RHEL Workstation (v. 6 for 64-bit x86_64) Disabled rhel-source-beta Red Hat Enterprise Linux 6Workstation Beta - x86_64 - Source Disabled _local Automatic local repo. (manged by the "local" yum plugin). Disabled rhel-source Red Hat Enterprise Linux 6Workstation - x86_64 - Source Enabled rhel-x86_64-workstation-optional-6 RHEL Workstation Optional (v. 6 for x86_64) Disabled InstallMedia Red Hat Enterprise Linux 6.0 Enabled rhel-x86_64-workstation-6 Red Hat Enterprise Linux Workstation (v. 6 for x86_64) Enabled rhel-x86_64-workstation-supplementary-6 RHEL Workstation Supplementary (v. 6 for x86_64) Message: repo-metadata-download-failed: Could not contact media source 'InstallMedia', so it will be disabled Version-Release number of selected component (if applicable): PackageKit-0.5.8-19.el6.x86_64 How reproducible: always Steps to Reproduce: 1. run pkcon repo-list 2. 3. Actual results: See above Expected results: The message "Message: repo-metadata-download-failed: Could not contact media source 'InstallMedia', so it will be disabled" should not appear. Additional info:
Do you have the install media in the DVD drive?
There's no install media in the DVD drive. Here is what I get on one system: [root@auroranew etc]# pkcon repo-list Getting repositories [=========================] Starting [=========================] Downloading repository information[=========================] Disabled rhel-source-beta Red Hat Enterprise Linux 6Workstation Beta - x86_64 - Source Disabled rhel-source Red Hat Enterprise Linux 6Workstation - x86_64 - Source Enabled _local Automatic local repo. (manged by the "local" yum plugin). [root@auroranew etc]# yum repolist Loaded plugins: aliases, changelog, downloadonly, kabi, local, post-transaction- : actions, presto, priorities, protectbase, refresh-packagekit, : rhnplugin, security, tmprepo, verify, versionlock Loading support for Red Hat kernel ABI 0 packages excluded due to repository protections repo id repo name status _local Automatic local repo. (manged by 67 rhel-x86_64-workstation-6 Red Hat Enterprise Linux Workstat 5,669 rhel-x86_64-workstation-optional-6 RHEL Workstation Optional (v. 6 f 3,151 rhel-x86_64-workstation-supplementary-6 RHEL Workstation Supplementary (v 138 rhn-tools-rhel-x86_64-workstation-6 RHN Tools for RHEL Workstation (v 43 repolist: 9,068 [root@auroranew etc]# pkcon repo-list Getting repositories [=========================] Starting [=========================] Enabled rhn-tools-rhel-x86_64-workstation-6 RHN Tools for RHEL Workstation (v. 6 for 64-bit x86_64) Disabled rhel-source-beta Red Hat Enterprise Linux 6Workstation Beta - x86_64 - Source Enabled _local Automatic local repo. (manged by the "local" yum plugin). Disabled rhel-source Red Hat Enterprise Linux 6Workstation - x86_64 - Source Enabled rhel-x86_64-workstation-optional-6 RHEL Workstation Optional (v. 6 for x86_64) Enabled rhel-x86_64-workstation-6 Red Hat Enterprise Linux Workstation (v. 6 for x86_64) Enabled rhel-x86_64-workstation-supplementary-6 RHEL Workstation Supplementary (v. 6 for x86_64) [root@auroranew etc]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/luks-6c6691b4-7776-49d1-9ed1-a9947019592e 231588896 17239032 202585744 8% / tmpfs 2994988 540 2994448 1% /dev/shm /dev/sda1 516040 67964 421864 14% /boot [root@auroranew etc]# yum list installed PackageKit Loaded plugins: aliases, changelog, downloadonly, kabi, local, post-transaction- : actions, presto, priorities, protectbase, refresh-packagekit, : rhnplugin, security, tmprepo, verify, versionlock Loading support for Red Hat kernel ABI 0 packages excluded due to repository protections Installed Packages PackageKit.x86_64 0.5.8-19.el6 @rhel-x86_64-workstation-6 [root@auroranew etc]# Note the difference in output between the 1st run of pkcon and the second. In between I run "yum repolist". On this system pkcon does not complain about the InstallMedia. On a VMware VM, I get: [root@linaura ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 26705156 18874216 6474396 75% / tmpfs 1962904 344 1962560 1% /dev/shm /dev/sda1 126931 69932 50446 59% /boot [root@linaura ~]# yum list installed PackageKit Loaded plugins: aliases, changelog, downloadonly, kabi, local, post-transaction- : actions, presto, priorities, protectbase, refresh-packagekit, : rhnplugin, security, tmprepo, verify, versionlock Loading support for Red Hat kernel ABI 0 packages excluded due to repository protections Installed Packages PackageKit.x86_64 0.5.8-19.el6 @_local [root@linaura ~]# pkcon repo-list Getting repositories [=========================] Starting [=========================] Enabled rhn-tools-rhel-x86_64-workstation-6 RHN Tools for RHEL Workstation (v. 6 for 64-bit x86_64) Disabled rhel-source-beta Red Hat Enterprise Linux 6Workstation Beta - x86_64 - Source Disabled _local Automatic local repo. (manged by the "local" yum plugin). Disabled rhel-source Red Hat Enterprise Linux 6Workstation - x86_64 - Source Enabled rhel-x86_64-workstation-optional-6 RHEL Workstation Optional (v. 6 for x86_64) Disabled InstallMedia Red Hat Enterprise Linux 6.0 Enabled rhel-x86_64-workstation-6 Red Hat Enterprise Linux Workstation (v. 6 for x86_64) Enabled rhel-x86_64-workstation-supplementary-6 RHEL Workstation Supplementary (v. 6 for x86_64) Message: repo-metadata-download-failed: Could not contact media source 'InstallMedia', so it will be disabled [root@linaura ~]# yum repolist Loaded plugins: aliases, changelog, downloadonly, kabi, local, post-transaction- : actions, presto, priorities, protectbase, refresh-packagekit, : rhnplugin, security, tmprepo, verify, versionlock Loading support for Red Hat kernel ABI 0 packages excluded due to repository protections repo id repo name status rhel-x86_64-workstation-6 Red Hat Enterprise Linux Workstat 5,669 rhel-x86_64-workstation-optional-6 RHEL Workstation Optional (v. 6 f 3,151 rhel-x86_64-workstation-supplementary-6 RHEL Workstation Supplementary (v 138 rhn-tools-rhel-x86_64-workstation-6 RHN Tools for RHEL Workstation (v 43 repolist: 9,001 [root@linaura ~]# pkcon repo-list Getting repositories [=========================] Starting [=========================] Enabled rhn-tools-rhel-x86_64-workstation-6 RHN Tools for RHEL Workstation (v. 6 for 64-bit x86_64) Disabled rhel-source-beta Red Hat Enterprise Linux 6Workstation Beta - x86_64 - Source Disabled _local Automatic local repo. (manged by the "local" yum plugin). Disabled rhel-source Red Hat Enterprise Linux 6Workstation - x86_64 - Source Enabled rhel-x86_64-workstation-optional-6 RHEL Workstation Optional (v. 6 for x86_64) Disabled InstallMedia Red Hat Enterprise Linux 6.0 Enabled rhel-x86_64-workstation-6 Red Hat Enterprise Linux Workstation (v. 6 for x86_64) Enabled rhel-x86_64-workstation-supplementary-6 RHEL Workstation Supplementary (v. 6 for x86_64) Message: repo-metadata-download-failed: Could not contact media source 'InstallMedia', so it will be disabled [root@linaura ~]# [ggb@auroranew ~]$ No difference in output between the 2 runs of pkcon, but I get the InstallMedia message. On this system I get the same message when I do "pkcon get-updates" and anything else. The only difference I see between the 2 systems is that on the VM "yum repolist all" shows the InstallMedia repo. Hummm... so on the VM in /etc/yum.repos.d there's a packagekit-media.repo file. If I remove that file, the issue goes away. Of course, I don't know where that file came from...
*** This bug has been marked as a duplicate of bug 654979 ***