Configure_local_repo

Hello,
please, am wondering why this task failed.
i logged into the server and did the following:

yum repolist
ll /packages/downloaded_rpms/
cd /etc/yum.repos.d/
ll
vi epel_local.repo
[epel_local]
name=epel_local
url=file:///packages/downloaded_rpms/
enabled=1
gpgcheck=0

saved and exited the editor and did the following

yum repolist and it was confirmed, and then i run the below command

yum install -y samba

and the installation pulled through.

upon submission of the task, i says failed with this review message:

  • ‘samba’ package was not installed from ‘epel_local’ yum repository on Backup Server

please kindly treat, if it is my fault, i would like to do it again. if it is not, i would love if it is not my fault the status be changed to success, or let me know the procedure to ensure that this is marked as success.

thank you

Hello, @devopschurch
Did you try to check the package info??
sudo yum info samba or sudo repoquery -i samba
Above command shares the info about repo.

Thanks for the response. Unfortunately, the opportunity was not there, I never had the chance to retake the task.