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.
Bug 1716067 - Software package listing and updates fail due to error: "Cannot update read-only repo"
Summary: Software package listing and updates fail due to error: "Cannot update read-o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libdnf
Version: 8.0
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: 8.0
Assignee: amatej
QA Contact: Jan Blazek
URL:
Whiteboard:
Depends On:
Blocks: 1755139
TreeView+ depends on / blocked
 
Reported: 2019-06-01 14:40 UTC by CB
Modified: 2023-10-06 18:20 UTC (History)
8 users (show)

Fixed In Version: libdnf-0.39.1-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:47:49 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screen shot: subscription attached, error message shown: Cannot update read-only repo (289.06 KB, image/png)
2019-06-01 14:40 UTC, CB
no flags Details
sosreport (5.73 MB, application/octet-stream)
2019-06-03 21:50 UTC, CB
no flags Details
sosreport file checksum (33 bytes, text/plain)
2019-06-03 21:51 UTC, CB
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-25099 0 None None None 2023-09-07 20:06:27 UTC
Red Hat Product Errata RHBA-2020:1823 0 None None None 2020-04-28 16:48:03 UTC

Description CB 2019-06-01 14:40:30 UTC
Created attachment 1576027 [details]
screen shot: subscription attached,  error message shown: Cannot update read-only repo

Description of problem:

This issue occurs on a Windows 10 development workstation running RHEL 8.0 inside a Vmware Workstation Pro 15 hosted virtual machine. After having successfully installed RHEL 8.0, Software Updates function fails due to error: "Cannot update read-only repo." This impacts Software Updates functionality available in Web Console, and also in Activities/Software desktop option. As a result, the installed software packages are not being shown, nor new software updates can be retrieved and installed. The Red Hat subscription has been attached to this RHEL 8.0 system. PFA screen shot.

Version-Release number of selected component (if applicable):

RHEL 8.0

How reproducible:

The issue is reproducible and occurs every single time after a successful installation of RHEL 8.0.

Steps to Reproduce:
1. Install RHEL 8.0.
2. Attach Red Hat subscription to the system. 
3. Try to view installed software packages or update them using Software Updates functionality available in Web Console or Activities/Software desktop option. 

Actual results:

Error message is displayed:  "Cannot update read-only repo"

Expected results:

Being able to view installed software packages and install new software packages. 

Additional info:

PFA screen shot

Comment 1 CB 2019-06-03 21:50:27 UTC
Created attachment 1576755 [details]
sosreport

Please find attached sosreport created on the impacted RHEL 8.0 system.

Comment 2 CB 2019-06-03 21:51:50 UTC
Created attachment 1576756 [details]
sosreport file checksum

Comment 3 CB 2019-06-10 20:53:51 UTC
Please kindly note that this issue has been also discussed with Red Hat support team as documented here:

https://access.redhat.com/support/cases/#/case/02394496

Comment 10 amatej 2019-11-08 07:15:51 UTC
PR that should fix this: https://github.com/rpm-software-management/libdnf/pull/838

Also I realized a was slightly wrong about the AC. It is not enough to have any device with repository mounted, it has to be an installation media such as rhel-8.0-x86_64-dvd.iso. Only then does libdnf create media repository which is necessary for this bug.

Comment 14 errata-xmlrpc 2020-04-28 16:47:49 UTC
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-2020:1823


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