Question: hello i am getting this error while i am creating the repository and trying to install the packages so please help me solve this error

hello i am getting this error while i am creating the repository and trying to install the packages so please help me solve this error please and thank you.
0.0 B/s I during downloading metadata for repository 'local': Curl error (37): Couldn't read a file:// file for file:///var/local/repodata/repomd.xml [Couldn't ocal/repodata/repomd.xml] Error: Failed to download metadata for repo 'local': Cannot download repomd.xml: Cannot download repor All mirrors were tried [yuldhairya@montreal - ]$ sudo vi /etc/yum.repos.d/local.repo [yuldhairya@montreal - ] $ sudo yum install NetworkManager Updating Subscription Management repositories. I Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to Local repo 0.0 B/s 1 Errors during downloading metadata for repository 'local': Curl error (3): URL using bad/illegal format or missing URL for file://var/local/repodata/repomd //hostname/, expected localhost or 127.0.0.1 or none) rror: Failed to download metadata for repo 'local': Cannot download repomd.xml: Cannot download rep il mirrors were tried yuldhairya@montreal - ]$
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
