Article 4SH0Z Could not open/read file:///opt/centso64/Packages/repodata/repomd.xml

Could not open/read file:///opt/centso64/Packages/repodata/repomd.xml

by
rahulvishwakarma
from LinuxQuestions.org on (#4SH0Z)
I've CentOS_6.4_Final as server and centos 7.5 as client in VMs. i am configuring yum server. I did like this :-
1. copy all packages from dvd to /opt/centos64/Packages/.
2. install createrepo.
3. # createrepo --database Packages/.
4. yum clean all
5. yum repolist
command showed following output :-
Code:[root@serverora11gr2 yum.repos.d]# yum clean all
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: centos64
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@serverora11gr2 yum.repos.d]# yum repolist list
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
file:///opt/centso64/Packages/repodata/repomd.xml: [Errno 14] Could not open/read file:///opt/centso64/Packages/repodata/repomd.xml
Trying other mirror.
repolist: 0how to get read of file.. how to solve it.latest?d=yIl2AUoC8zA latest?i=4BC7msz3uKg:q_O2ETD0lik:F7zBnMy latest?i=4BC7msz3uKg:q_O2ETD0lik:V_sGLiP latest?d=qj6IDK7rITs latest?i=4BC7msz3uKg:q_O2ETD0lik:gIN9vFw4BC7msz3uKg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments