Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionMaxim Burgerhout
2019-05-28 06:43:30 UTC
Description of problem:
When trying to install a package through pkcon or to update a system through Cockpit, I get the following error:
sudo pkcon install zsh -v
08:25:12 PackageKit Verbose debugging enabled (on console 1)
08:25:12 PackageKit filter=(null), filters=0
08:25:12 PackageKit resolving 1 packages
08:25:12 PackageKit role now resolve
Resolving [ ] (3%) Command failed: This tool could not find any available package: cannot update repo 'codeready-builder-for-rhel-8-x86_64-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 404 for https://sat6cast.deployment6.lan/pulp/repos/Red_Hat/dev/CCV_RHEL8_GENERIC/content/dist/rhel8/8.0/x86_64/codeready-builder/os/repodata/repomd.xml
This can be mitigated by setting the Release Version in the system's content host page in Satellite, and running 'subscription-manager refresh'.
Before setting the releasever, Satellite's foreman-ssl_access_ssl.log shows this:
192.168.101.126 - - [28/May/2019:08:29:44 +0200] "GET /pulp/repos/Red_Hat/dev/CCV_RHEL8_GENERIC/content/dist/rhel8/8.0/x86_64/codeready-builder/os/repodata/repomd.xml HTTP/1.1" 404 224 "-" "libdnf/0.22.4"
After setting the releasever and running s-m refresh, the foreman-ssl_access_ssl.log shows this:
192.168.101.126 - - [28/May/2019:08:30:24 +0200] "GET
pulp/repos/Red_Hat/dev/CCV_RHEL8_GENERIC/content/dist/rhel8/8/x86_64/codeready-builder/os/repodata/repomd.xml HTTP/1.1" 200 2809 "-" "libdnf/0.22.4"
Note the different releasever. PackageKit assumes the releasever is "8.0" at first. Yum / dnf correctly sets it to "8" (so yum works fine) and after setting the releasever in Satellite, PackageKit also uses "8".
I have enabled the "8" repositories in my Satellite, not the "8.0" ones. This is what Satellite recommends.
Version-Release number of selected component (if applicable):
Satellite 6.5
PackageKit-1.1.12-2.el8
How reproducible:
Steps to Reproduce:
1. Sync RHEL8 repos in Satellite, create activation key without setting release version
2. Deploy system
3. Try and use cockpit to update system or pkcon to install a package
Actual results:
Failure with error above
Expected results:
Can install package
Additional info:
I've set high severity as this is an ugly bug from a user PoV
Works now:
Before updating PackageKit:
sudo pkcon install zsh
Resolving [=== ] (12%) Command failed: This tool could not find any available package: cannot update repo 'rhel-8-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 404 for https://sat6cast.deployment6.lan/pulp/repos/Red_Hat/dev/CCV_RHEL8_GENERIC/content/dist/rhel8/8.0/x86_64/baseos/os/repodata/repomd.xml
After updating PackageKit:
sudo pkcon install zsh
Resolving [=========================]
Querying [=========================]
Testing changes [=========================]
Finished [ ] (0%)
The following packages have to be installed:
zsh-5.5.1-6.el8.x86_64 Powerful interactive shell
Proceed with changes? [N/y] y
[=========================]
Installing [=========================]
Downloading packages [=========================]
Testing changes [=========================]
Installing packages [=========================]
Finished [=========================]
Would be great to get this out of the door asap.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2019:3402