@Tej-Singh-Rana
@Inderpreet
@kodekloud-support3
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_local]
name=yum_local
baseurl=file:///packages/downloaded_rpms
gpgcheck=0
:wq
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
Hi all, I was struggling with this task, but then I figured out what was wrong.
In this command:
yum install --disablerepo=“*” --enablerepo=“epel_local” httpd
my quotes in --enablerepo were strange because I copied and pasted from a web page.
After I fixed them, everything worked correctly.
yum install --disablerepo=“*” --enablerepo=“epel_local” httpd
I hope this helps!!!