title: Copying Centos 6.4 DVD 1 to a folder and using it as a repo works, but DVD 2 returns errors
body: <p>i downloaded centos 6.4 dvd's 1 and 2
  1st one was 4.4 gb
  2nd one was 1.4 gb</p>
  
  <p>obviously second one has repo files in it as well.</p>
  
  <p>so mounted them then copied them to 2 folder.</p>
  
  <pre><code>home/a/repo_dvd_1
  home/a/repo_dvd_2
  </code></pre>
  
  <p>and then i added them to the repos</p>
  
  <p>i simply edited the CentOS_Base.repo or whatever that file is called.</p>
  
  <p>i added "enabled=0" to everything and put these on top</p>
  
  <pre><code>[01]
  name=01
  baseurl=file:///home/a/repo_dvd_1
  enabled=1
  gpgcheck=0
  
  [02]
  name=01
  baseurl=file:///home/a/repo_dvd_2
  enabled=1
  gpgcheck=0
  </code></pre>
  
  <p>and then i ran</p>
  
  <pre><code>yum clean all
  </code></pre>
  
  <p>and then i tried searching for <code>php</code></p>
  
  <pre><code>yum search php
  </code></pre>
  
  <p>here is the result.</p>
  
  <pre><code>[root@localhost a]# yum clean all
  Loaded plugins: fastestmirror, refresh-packagekit, security
  Cleaning repos: 01 02
  Cleaning up Everything
  Cleaning up list of fastest mirrors
  [root@localhost a]# 
  [root@localhost a]# yum search php
  Loaded plugins: fastestmirror, refresh-packagekit, security
  Determining fastest mirrors
  01                                                       | 4.0 kB     00:00 ... 
  01/primary_db                                            | 4.4 MB     00:00 ... 
  file:///home/a/repo_dvd_2/repodata/repomd.xml: [Errno 14] Could not open/read file:///home/a/repo_dvd_2/repodata/repomd.xml
  Trying other mirror.
  Error: Cannot retrieve repository metadata (repomd.xml) for repository: 02. Please verify its path and try again
  </code></pre>