Yum Local Repo error


Hi team,
I have done the task as per process but getting error
steps done for task
cd /packages/downloaded_rpms/

#rm -rf ./repodata

createrepo .

cd /etc/yum.repos.d

vi localyum


yum clean all

yum repolist

yum install --disablerepo="*" --enablerepo= “localyum” wget

Kindly resolve this error

Hello, sudheer77
local yum repo name should be contain “.repo” so final name should be like localyum.repo and your repo ID name mismatched.

yum install --disablerepo="*" --enablerepo= “localyum.repo” wget