I'm trying to create a local repo on my VM, I mounted the CD under /mnt and this is my local.repo file
Code: Select all
[localrepo]
name= local repo for centOS 8
baseur=file://mnt
enabled=1
gpgcheck=0
Code: Select all
Local Repo for RHEL8 0.0 B/s | 0 B 00:00
Error: Failed to synchronize cache for repo 'LocalRepo'
I tried to clean dnf cache and run dnf clean all but still the same problem.