View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017735 | CentOS-8 | dnf | public | 2020-09-17 20:48 | 2020-09-17 20:48 |
Reporter | sysop | Assigned To | |||
Priority | low | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0017735: dnf and yum in CentOS 8.x do not honor the ISO mountpoint from /etc/yum.repos.d/CentOS-Media.repo | ||||
Description | Using the stock options specified in /etc/yum.repos.d/CentOS-Media.repo for both AppStream and BaseOS, only the mountpoint /media/CentOS works. When either of the other two options (/media/cdrom or /media/cdrecorder) are used, yum and dnf find the metadata, but packages are not found because the tool overrides the location path and follows /media/CentOS/... | ||||
Steps To Reproduce | Enable the media repo (enabled=1) Mount /dev/cdrom to /media/cdrom or /media/cdrecorder Use yum/dnf to install a package: dnf install zlib-devel.i686 | ||||
Additional Information | Output from dnf is of the form: Error opening file for checksum: /media/CentOS/BaseOS/Packages/zlib-devel-1.2.11-13.el8.i686.rpm Package "zlib-devel-1.2.11-13.el8.i686" from local repository "c8-media-BaseOS" has incorrect checksum Error: Some packages from local repository have incorrect checksum Solution is to delete the other (legacy) mount points (/media/cdrom and /media/cdrecorder) from the CentOS-Media.repo file. This is the easiest solution that requires the least effort and (most likely) won't break anything. The other solution is to actually fix dnf to not hard-code the local media path to /media/CentOS But this takes more effort. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-09-17 20:48 | sysop | New Issue |